Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+maint.om/package.mo", uses=false) 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/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08553/0.08553, allocations: 12.2 MB / 27.32 MB, free: 1.41 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009704/0.0009704, allocations: 104.8 kB / 30.82 MB, free: 4.703 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 205.1 MB / 239.3 MB, free: 13.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 192.5 kB / 289.5 MB, free: 14.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.433/0.433, allocations: 78.51 MB / 418 MB, free: 12.06 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002683/0.002683, allocations: 135.8 kB / 498.3 MB, free: 11.88 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.3003, allocations: 68.02 MB / 0.5531 GB, free: 32.71 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.005352/0.3057, allocations: 6.137 MB / 0.5591 GB, free: 28.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003192/0.309, allocations: 1.756 MB / 0.5608 GB, free: 26.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005029/0.3095, allocations: 11 kB / 0.5608 GB, free: 26.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004984/0.31, allocations: 163.1 kB / 0.561 GB, free: 26.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.3115, allocations: 0.6058 MB / 0.5615 GB, free: 26.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.3126, allocations: 0.5343 MB / 0.5621 GB, free: 26.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001049/0.3137, allocations: 1.191 MB / 0.5632 GB, free: 25.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003134/0.314, allocations: 236.1 kB / 0.5635 GB, free: 25.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004557/0.3145, allocations: 495.7 kB / 0.5639 GB, free: 25.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004658/0.3149, allocations: 0.6179 MB / 0.5645 GB, free: 24.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.315, allocations: 56.97 kB / 0.5646 GB, free: 24.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003726/0.3154, allocations: 184.5 kB / 0.5648 GB, free: 24.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.3156, allocations: 211.9 kB / 0.565 GB, free: 24.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003561/0.3159, allocations: 0.517 MB / 0.5655 GB, free: 24.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009405/0.3169, allocations: 1.305 MB / 0.5667 GB, free: 23.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3169, allocations: 1.5 kB / 0.5667 GB, free: 23.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.3169, allocations: 4 kB / 0.5667 GB, free: 23.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.3169, allocations: 0 / 0.5667 GB, free: 23.05 MB / 398.1 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.006877/0.3238, allocations: 2.356 MB / 0.5691 GB, free: 21.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.3239, allocations: 13.64 kB / 0.5691 GB, free: 21.58 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001249/0.324, allocations: 112.3 kB / 0.5692 GB, free: 21.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004651/0.3286, allocations: 0.7565 MB / 0.5699 GB, free: 21.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009524/0.3296, allocations: 0.7134 MB / 0.5706 GB, free: 20.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002173/0.3298, allocations: 247.5 kB / 0.5708 GB, free: 20.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.33, allocations: 68.88 kB / 0.5709 GB, free: 20.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/0.3318, allocations: 0.9535 MB / 0.5718 GB, free: 19.78 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.3318, allocations: 0 / 0.5718 GB, free: 19.78 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.838e-05/0.3319, allocations: 25.56 kB / 0.5719 GB, free: 19.76 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.3319, allocations: 16.16 kB / 0.5719 GB, free: 19.76 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001892/0.3338, allocations: 0.9828 MB / 0.5728 GB, free: 19.3 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004405/0.3382, allocations: 3.182 MB / 0.5759 GB, free: 16.6 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.3398, allocations: 1.303 MB / 0.5772 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.3409, allocations: 0.7077 MB / 0.5779 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.521e-05/0.341, allocations: 8.656 kB / 0.5779 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.341, allocations: 43.16 kB / 0.578 GB, free: 14.42 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 2.134e-06/0.341, allocations: 4 kB / 0.578 GB, free: 14.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=82): time 0.02406/0.3651, allocations: 6.759 MB / 0.5846 GB, free: 7.617 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.3652, allocations: 64 kB / 0.5846 GB, free: 7.543 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000832/0.366, allocations: 0.8024 MB / 0.5854 GB, free: 6.715 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001191/0.3661, allocations: 41.7 kB / 0.5854 GB, free: 6.668 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.3663, allocations: 428.5 kB / 0.5859 GB, free: 6.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/0.3666, allocations: 291.8 kB / 0.5861 GB, free: 5.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003057/0.3669, allocations: 186.8 kB / 0.5863 GB, free: 5.762 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.514e-05/0.3669, allocations: 345.9 kB / 0.5866 GB, free: 5.418 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.3681, allocations: 0.6545 MB / 0.5873 GB, free: 4.766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/0.3693, allocations: 0.7717 MB / 0.588 GB, free: 3.961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01567/0.385, allocations: 4.488 MB / 0.5924 GB, free: 15.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.3851, allocations: 0 / 0.5924 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01314/0.3982, allocations: 4.125 MB / 0.5964 GB, free: 11.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.3983, allocations: 4 kB / 0.5965 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.3983, allocations: 7.984 kB / 0.5965 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00617/0.4045, allocations: 1.787 MB / 0.5982 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008429/0.4053, allocations: 167.7 kB / 0.5984 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02031/0.4257, allocations: 8.581 MB / 0.6067 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.4272, allocations: 155 kB / 0.6069 GB, free: 472 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002073/0.4274, allocations: 35.98 kB / 0.6069 GB, free: 436 kB / 414.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.delta:VARIABLE(flow=false start = order31.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0006352/0.428, allocations: 237.6 kB / 0.6072 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003526/0.4284, allocations: 102.7 kB / 0.6073 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/0.4408, allocations: 3.833 MB / 0.611 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.4409, allocations: 8 kB / 0.611 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4409, allocations: 4 kB / 0.611 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.041e-05/0.4409, allocations: 3.984 kB / 0.611 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01468/0.4556, allocations: 5.352 MB / 0.6162 GB, free: 6.723 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.4556, allocations: 0 / 0.6162 GB, free: 6.723 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005405/0.4562, allocations: 91.89 kB / 0.6163 GB, free: 6.633 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005889/0.4621, allocations: 1.741 MB / 0.618 GB, free: 4.887 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000147/0.4623, allocations: 19.98 kB / 0.618 GB, free: 4.867 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0175/0.4798, allocations: 7.342 MB / 0.6252 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.4798, allocations: 7.984 kB / 0.6252 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01433/0.4942, allocations: 4.715 MB / 0.6298 GB, free: 8.637 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003992/0.4946, allocations: 183.7 kB / 0.63 GB, free: 8.438 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002984/0.4949, allocations: 12 kB / 0.63 GB, free: 8.426 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/0.496, allocations: 95.89 kB / 0.6301 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006619/0.4966, allocations: 196.6 kB / 0.6303 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.706e-05/0.4968, allocations: 20 kB / 0.6303 GB, free: 8.117 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007556/0.4975, allocations: 0.5382 MB / 0.6308 GB, free: 7.566 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4975, allocations: 0 / 0.6308 GB, free: 7.566 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001424/0.499, allocations: 411.6 kB / 0.6312 GB, free: 7.164 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01429/0.5133, allocations: 5.284 MB / 0.6364 GB, free: 1.844 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006483/0.5198, allocations: 2.293 MB / 0.6386 GB, free: 15.54 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5198, allocations: 0 / 0.6386 GB, free: 15.54 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004432/0.5243, allocations: 1.463 MB / 0.6401 GB, free: 14.07 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.5254, allocations: 79.28 kB / 0.6401 GB, free: 13.99 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03729/0.5627, allocations: 14.93 MB / 0.6547 GB, free: 14.71 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007219/0.5635, allocations: 1.025 MB / 0.6557 GB, free: 13.66 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004035/0.5639, allocations: 86.17 kB / 0.6558 GB, free: 13.58 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005712/0.5645, allocations: 359.3 kB / 0.6561 GB, free: 13.23 MB / 478.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5645, allocations: 0 / 0.6561 GB, free: 13.23 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04888/0.6134, allocations: 28.31 MB / 0.6838 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/0.6136, allocations: 224.7 kB / 0.684 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.369/2.982, allocations: 3.625 kB / 0.684 GB, free: 0.7266 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)