Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.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.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",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.08389/0.08389, allocations: 12.2 MB / 27.32 MB, free: 1.445 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.001032/0.001032, allocations: 116.8 kB / 30.83 MB, free: 4.715 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.27/1.27, allocations: 205.1 MB / 239.3 MB, free: 12.91 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.001248/0.001248, allocations: 188.5 kB / 289.5 MB, free: 14.14 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4065/0.4065, allocations: 78.51 MB / 418 MB, free: 12.02 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.002443/0.002443, allocations: 136.7 kB / 498.3 MB, free: 11.87 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2881, allocations: 68.02 MB / 0.5531 GB, free: 32.66 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.005539/0.2937, allocations: 5.561 MB / 0.5585 GB, free: 28.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00375/0.2975, allocations: 1.644 MB / 0.5601 GB, free: 27.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009751/0.2985, allocations: 9.219 kB / 0.5601 GB, free: 27.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005684/0.2991, allocations: 136.2 kB / 0.5603 GB, free: 27.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001795/0.301, allocations: 0.5778 MB / 0.5608 GB, free: 27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.3021, allocations: 477.3 kB / 0.5613 GB, free: 26.74 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001352/0.3035, allocations: 1.03 MB / 0.5623 GB, free: 26.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000377/0.3039, allocations: 243 kB / 0.5625 GB, free: 26.08 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006612/0.3046, allocations: 433.8 kB / 0.5629 GB, free: 25.83 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005368/0.3051, allocations: 0.5661 MB / 0.5635 GB, free: 25.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.3052, allocations: 52.09 kB / 0.5635 GB, free: 25.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004822/0.3057, allocations: 181.5 kB / 0.5637 GB, free: 25.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001706/0.3059, allocations: 206.7 kB / 0.5639 GB, free: 25.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003565/0.3063, allocations: 483.3 kB / 0.5644 GB, free: 24.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009692/0.3072, allocations: 1.173 MB / 0.5655 GB, free: 24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3073, allocations: 4 kB / 0.5655 GB, free: 24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3073, allocations: 0 / 0.5655 GB, free: 24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.3073, allocations: 1.094 kB / 0.5655 GB, free: 24 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.006544/0.3138, allocations: 2.129 MB / 0.5676 GB, free: 22.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.3139, allocations: 13.55 kB / 0.5676 GB, free: 22.64 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001177/0.314, allocations: 107.2 kB / 0.5677 GB, free: 22.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003984/0.318, allocations: 0.6453 MB / 0.5683 GB, free: 22.28 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.3191, allocations: 0.6451 MB / 0.569 GB, free: 21.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/0.3192, allocations: 174.4 kB / 0.5691 GB, free: 21.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.3194, allocations: 59.5 kB / 0.5692 GB, free: 21.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.3211, allocations: 0.866 MB / 0.57 GB, free: 21.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.3211, allocations: 0 / 0.57 GB, free: 21.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.107e-05/0.3212, allocations: 23.09 kB / 0.5701 GB, free: 21.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.3212, allocations: 19.91 kB / 0.5701 GB, free: 21.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/0.323, allocations: 0.8836 MB / 0.5709 GB, free: 20.63 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.004065/0.3271, allocations: 2.423 MB / 0.5733 GB, free: 18.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.3286, allocations: 1.032 MB / 0.5743 GB, free: 18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/0.3297, allocations: 0.6288 MB / 0.5749 GB, free: 17.65 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.564e-05/0.3298, allocations: 12.64 kB / 0.5749 GB, free: 17.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.3298, allocations: 43.16 kB / 0.575 GB, free: 17.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=76): time 2.655e-06/0.3298, allocations: 0 / 0.575 GB, free: 17.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=76): time 0.01965/0.3495, allocations: 5.542 MB / 0.5804 GB, free: 12.01 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.3496, allocations: 60.06 kB / 0.5805 GB, free: 11.94 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008436/0.3504, allocations: 0.7668 MB / 0.5812 GB, free: 11.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001489/0.3506, allocations: 37.7 kB / 0.5812 GB, free: 11.12 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000199/0.3508, allocations: 392.6 kB / 0.5816 GB, free: 10.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.351, allocations: 280 kB / 0.5819 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002988/0.3513, allocations: 178.5 kB / 0.582 GB, free: 10.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.321e-05/0.3514, allocations: 345.9 kB / 0.5824 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.3525, allocations: 0.5993 MB / 0.583 GB, free: 9.324 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/0.3536, allocations: 0.7162 MB / 0.5837 GB, free: 8.582 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002165/0.3557, allocations: 1.308 MB / 0.5849 GB, free: 7.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3558, allocations: 0 / 0.5849 GB, free: 7.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.009573/0.3653, allocations: 3.493 MB / 0.5883 GB, free: 3.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.3654, allocations: 4 kB / 0.5884 GB, free: 3.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.3654, allocations: 4 kB / 0.5884 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004383/0.3698, allocations: 1.45 MB / 0.5898 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008649/0.3707, allocations: 179.7 kB / 0.5899 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0154/0.3861, allocations: 7.186 MB / 0.597 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.3875, allocations: 147 kB / 0.5971 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002169/0.3878, allocations: 35.98 kB / 0.5971 GB, free: 10.61 MB / 414.1 MB Warning: Assuming fixed start value for the following 1 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (94): * Single equations (assignments): 93 * 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 {(19,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005971/0.3884, allocations: 217.6 kB / 0.5973 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003229/0.3887, allocations: 94.81 kB / 0.5974 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01009/0.3988, allocations: 3.223 MB / 0.6006 GB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/0.3989, allocations: 8 kB / 0.6006 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3989, allocations: 4 kB / 0.6006 GB, free: 7.047 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/0.3989, allocations: 3.984 kB / 0.6006 GB, free: 7.043 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01256/0.4115, allocations: 4.547 MB / 0.605 GB, free: 2.383 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.739e-05/0.4116, allocations: 4 kB / 0.605 GB, free: 2.379 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000615/0.4122, allocations: 99.81 kB / 0.6051 GB, free: 2.281 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004675/0.4169, allocations: 1.399 MB / 0.6065 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001708/0.4171, allocations: 16 kB / 0.6065 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01447/0.4316, allocations: 6.145 MB / 0.6125 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.4316, allocations: 0 / 0.6125 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01225/0.4439, allocations: 4.045 MB / 0.6165 GB, free: 6.512 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004294/0.4443, allocations: 175.8 kB / 0.6166 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003269/0.4447, allocations: 15.98 kB / 0.6167 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.4457, allocations: 91.84 kB / 0.6167 GB, free: 6.215 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006176/0.4464, allocations: 152.4 kB / 0.6169 GB, free: 6.066 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.323e-05/0.4465, allocations: 24 kB / 0.6169 GB, free: 6.043 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007349/0.4472, allocations: 0.5107 MB / 0.6174 GB, free: 5.535 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4472, allocations: 4 kB / 0.6174 GB, free: 5.531 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001227/0.4485, allocations: 355.6 kB / 0.6177 GB, free: 5.184 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.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 {(20,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01226/0.4607, allocations: 4.621 MB / 0.6223 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005641/0.4664, allocations: 2.023 MB / 0.6242 GB, free: 14.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.4665, allocations: 0 / 0.6242 GB, free: 14.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003777/0.4702, allocations: 1.263 MB / 0.6255 GB, free: 13.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.4713, allocations: 75.3 kB / 0.6255 GB, free: 13.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03222/0.5035, allocations: 13.36 MB / 0.6386 GB, free: 15.49 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006857/0.5043, allocations: 1.013 MB / 0.6396 GB, free: 14.45 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004509/0.5047, allocations: 93.45 kB / 0.6397 GB, free: 14.36 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005174/0.5053, allocations: 339.3 kB / 0.64 GB, free: 14.02 MB / 462.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5053, allocations: 3.938 kB / 0.64 GB, free: 14.02 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.045/0.5503, allocations: 25.05 MB / 0.6645 GB, free: 5.027 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003286/0.5507, allocations: 211.5 kB / 0.6647 GB, free: 4.773 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.366/2.917, allocations: 0 / 0.6647 GB, free: 4.773 MB / 478.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1)