Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01095/0.01095, allocations: 170.6 kB / 15.11 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 223.2 MB / 239 MB, free: 44 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001005, allocations: 92.89 kB / 290.2 MB, free: 4.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5156/0.5156, allocations: 78.52 MB / 419.8 MB, free: 36.37 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003883, allocations: 12 kB / 499.8 MB, free: 6.996 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.155, allocations: 69.36 MB / 0.5558 GB, free: 1.637 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4611/0.6162, allocations: 97.05 MB / 0.6506 GB, free: 5.027 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.6165, allocations: 74.73 kB / 0.6507 GB, free: 4.988 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0622/0.6787, allocations: 23.35 MB / 0.6735 GB, free: 14.15 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6788, allocations: 0 / 0.6735 GB, free: 14.15 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001/0.6789, allocations: 16 kB / 0.6735 GB, free: 14.14 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.005662/0.6845, allocations: 1.775 MB / 0.6752 GB, free: 12.31 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.6846, allocations: 11.22 kB / 0.6752 GB, free: 12.3 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004011/0.685, allocations: 122.5 kB / 0.6753 GB, free: 12.18 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003533/0.6886, allocations: 0.5371 MB / 0.6759 GB, free: 11.64 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001927/0.6905, allocations: 0.6835 MB / 0.6765 GB, free: 10.91 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003629/0.6909, allocations: 260.2 kB / 0.6768 GB, free: 10.62 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002638/0.6912, allocations: 67.95 kB / 0.6768 GB, free: 10.55 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002514/0.6937, allocations: 1.018 MB / 0.6778 GB, free: 9.523 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.6937, allocations: 0 / 0.6778 GB, free: 9.523 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.835e-05/0.6938, allocations: 32 kB / 0.6779 GB, free: 9.492 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.6939, allocations: 16 kB / 0.6779 GB, free: 9.477 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002352/0.6962, allocations: 1.054 MB / 0.6789 GB, free: 8.422 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006678/0.7029, allocations: 3.228 MB / 0.6821 GB, free: 5.039 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002307/0.7052, allocations: 1.355 MB / 0.6834 GB, free: 3.562 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.7054, allocations: 20.62 kB / 0.6834 GB, free: 3.543 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.7054, allocations: 39.22 kB / 0.6835 GB, free: 3.496 MB / 474.7 MB Notification: Performance of pre-optimization done (n=82): time 3.586e-06/0.7054, allocations: 4 kB / 0.6835 GB, free: 3.492 MB / 474.7 MB Notification: Performance of matching and sorting (n=82): time 0.02831/0.7337, allocations: 8.194 MB / 0.6915 GB, free: 11.26 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.7339, allocations: 64.02 kB / 0.6915 GB, free: 11.19 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.735, allocations: 0.673 MB / 0.6922 GB, free: 10.49 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001723/0.7352, allocations: 41.7 kB / 0.6922 GB, free: 10.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003534/0.7356, allocations: 444.3 kB / 0.6926 GB, free: 10.01 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00035/0.7359, allocations: 287.8 kB / 0.6929 GB, free: 9.723 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.048e-05/0.736, allocations: 15.94 kB / 0.6929 GB, free: 9.707 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.7362, allocations: 337.9 kB / 0.6932 GB, free: 9.371 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/0.7375, allocations: 0.6266 MB / 0.6939 GB, free: 8.746 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001483/0.739, allocations: 0.7258 MB / 0.6946 GB, free: 7.984 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.7405, allocations: 0.6716 MB / 0.6952 GB, free: 7.316 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.7405, allocations: 8 kB / 0.6952 GB, free: 7.309 MB / 490.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.01404/0.7545, allocations: 4.7 MB / 0.6998 GB, free: 2.594 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.348e-05/0.7546, allocations: 4.781 kB / 0.6998 GB, free: 2.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.7546, allocations: 7.984 kB / 0.6998 GB, free: 2.582 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006746/0.7614, allocations: 2.104 MB / 0.7019 GB, free: 488 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007101/0.7621, allocations: 129.8 kB / 0.702 GB, free: 360 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0223/0.7845, allocations: 9.99 MB / 0.7118 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.7858, allocations: 167.3 kB / 0.7119 GB, free: 6.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.723e-05/0.7859, allocations: 27.98 kB / 0.712 GB, free: 6.043 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.e1q:VARIABLE(start = order31.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005184/0.7864, allocations: 230.2 kB / 0.7122 GB, free: 5.809 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/0.7866, allocations: 98.78 kB / 0.7123 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01347/0.8001, allocations: 4.748 MB / 0.7169 GB, free: 0.9453 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.898e-05/0.8001, allocations: 11.94 kB / 0.7169 GB, free: 0.9336 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.8001, allocations: 0 / 0.7169 GB, free: 0.9336 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.537e-05/0.8002, allocations: 3.984 kB / 0.7169 GB, free: 0.9297 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01574/0.8159, allocations: 6.234 MB / 0.723 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/0.816, allocations: 3.984 kB / 0.723 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006349/0.8166, allocations: 91.89 kB / 0.7231 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006571/0.8232, allocations: 2.059 MB / 0.7251 GB, free: 8.398 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001731/0.8234, allocations: 12 kB / 0.7251 GB, free: 8.387 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0192/0.8426, allocations: 8.649 MB / 0.7336 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.8427, allocations: 0 / 0.7336 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01537/0.8581, allocations: 5.665 MB / 0.7391 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004559/0.8585, allocations: 191.7 kB / 0.7393 GB, free: 9.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.8587, allocations: 16 kB / 0.7393 GB, free: 9.688 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009356/0.8596, allocations: 127.9 kB / 0.7394 GB, free: 9.562 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006644/0.8603, allocations: 197.3 kB / 0.7396 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.655e-05/0.8604, allocations: 27.94 kB / 0.7396 GB, free: 9.344 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007138/0.8611, allocations: 0.5304 MB / 0.7402 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.71e-07/0.8611, allocations: 0 / 0.7402 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001172/0.8623, allocations: 395.5 kB / 0.7405 GB, free: 8.414 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01571/0.878, allocations: 6.258 MB / 0.7466 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006456/0.8845, allocations: 2.41 MB / 0.749 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.8845, allocations: 0 / 0.749 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004773/0.8893, allocations: 1.687 MB / 0.7506 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007333/0.8901, allocations: 69 kB / 0.7507 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02421/0.9143, allocations: 11.52 MB / 0.762 GB, free: 2.176 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007254/0.9151, allocations: 1.052 MB / 0.763 GB, free: 1.098 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003385/0.9154, allocations: 62.92 kB / 0.763 GB, free: 1.035 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005312/0.916, allocations: 355.3 kB / 0.7634 GB, free: 0.6875 MB / 0.5417 GB Notification: Performance of SimCode: time 1.793e-06/0.916, allocations: 0 / 0.7634 GB, free: 0.6875 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0505/0.9665, allocations: 26.96 MB / 0.7897 GB, free: 5.93 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/0.9667, allocations: 188.5 kB / 0.7899 GB, free: 5.691 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.863/3.829, allocations: 3.938 kB / 0.7899 GB, free: 5.688 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)