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.1052/0.1052, allocations: 12.2 MB / 27.16 MB, free: 120 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009692/0.0009691, allocations: 104 kB / 30.66 MB, free: 6.43 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.384/1.384, allocations: 205.4 MB / 239.5 MB, free: 10.66 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 173.1 kB / 290.6 MB, free: 8.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.414/0.414, allocations: 78.5 MB / 420.1 MB, free: 6.574 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.0009087/0.0009089, allocations: 31.5 kB / 0.4895 GB, free: 37.81 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1135, allocations: 69.25 MB / 0.5571 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.004666/0.1183, allocations: 4.613 MB / 0.5616 GB, free: 4.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003016/0.1213, allocations: 1.57 MB / 0.5631 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004373/0.1218, allocations: 12 kB / 0.5632 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003796/0.1222, allocations: 127 kB / 0.5633 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.1235, allocations: 0.5605 MB / 0.5638 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008872/0.1244, allocations: 436.6 kB / 0.5642 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008576/0.1253, allocations: 0.7021 MB / 0.5649 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003176/0.1256, allocations: 210.9 kB / 0.5651 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004126/0.126, allocations: 402.4 kB / 0.5655 GB, free: 104 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005578/0.1266, allocations: 0.5058 MB / 0.566 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.49e-05/0.1267, allocations: 44 kB / 0.566 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003316/0.127, allocations: 151.8 kB / 0.5662 GB, free: 15.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.1272, allocations: 187.2 kB / 0.5664 GB, free: 15.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.1274, allocations: 181.1 kB / 0.5665 GB, free: 15.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008/0.1282, allocations: 0.8496 MB / 0.5674 GB, free: 14.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.1282, allocations: 0 / 0.5674 GB, free: 14.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1282, allocations: 0 / 0.5674 GB, free: 14.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.1282, allocations: 0 / 0.5674 GB, free: 14.18 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.006442/0.1346, allocations: 2.006 MB / 0.5693 GB, free: 12.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.1347, allocations: 11.98 kB / 0.5693 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001739/0.1349, allocations: 106.5 kB / 0.5694 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004162/0.1391, allocations: 0.6426 MB / 0.5701 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.1401, allocations: 0.6238 MB / 0.5707 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001968/0.1403, allocations: 184.1 kB / 0.5709 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.1405, allocations: 60 kB / 0.5709 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/0.1424, allocations: 0.9161 MB / 0.5718 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.1424, allocations: 3.938 kB / 0.5718 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.964e-05/0.1425, allocations: 24 kB / 0.5718 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.1425, allocations: 16 kB / 0.5719 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.1445, allocations: 0.9655 MB / 0.5728 GB, free: 8.496 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.004575/0.1491, allocations: 2.482 MB / 0.5752 GB, free: 5.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.1508, allocations: 1.095 MB / 0.5763 GB, free: 4.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.975e-05/0.1509, allocations: 8.656 kB / 0.5763 GB, free: 4.723 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.151, allocations: 39.22 kB / 0.5763 GB, free: 4.676 MB / 398.1 MB Notification: Performance of pre-optimization done (n=76): time 3.637e-06/0.151, allocations: 4 kB / 0.5763 GB, free: 4.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=76): time 0.02395/0.175, allocations: 6.789 MB / 0.583 GB, free: 13.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.1751, allocations: 60.06 kB / 0.583 GB, free: 13.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.1761, allocations: 0.7474 MB / 0.5838 GB, free: 13.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001944/0.1763, allocations: 37.7 kB / 0.5838 GB, free: 12.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003279/0.1767, allocations: 408.4 kB / 0.5842 GB, free: 12.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002959/0.177, allocations: 264.1 kB / 0.5844 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.529e-05/0.177, allocations: 20 kB / 0.5845 GB, free: 12.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1772, allocations: 345.9 kB / 0.5848 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.1786, allocations: 0.6695 MB / 0.5854 GB, free: 11.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/0.1801, allocations: 0.7631 MB / 0.5862 GB, free: 10.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/0.1816, allocations: 0.7213 MB / 0.5869 GB, free: 9.766 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.1816, allocations: 0 / 0.5869 GB, free: 9.766 MB / 414.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01228/0.1939, allocations: 4.228 MB / 0.591 GB, free: 5.523 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.1939, allocations: 7.984 kB / 0.591 GB, free: 5.516 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/0.194, allocations: 7.953 kB / 0.591 GB, free: 5.508 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005655/0.1996, allocations: 1.696 MB / 0.5927 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009593/0.2006, allocations: 175.8 kB / 0.5929 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01839/0.219, allocations: 8.337 MB / 0.601 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.2205, allocations: 175.1 kB / 0.6012 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.2206, allocations: 39.98 kB / 0.6012 GB, free: 10.96 MB / 430.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 (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 {19 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005369/0.2212, allocations: 225.8 kB / 0.6014 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.2214, allocations: 98.78 kB / 0.6015 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01162/0.233, allocations: 3.953 MB / 0.6054 GB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/0.2331, allocations: 8 kB / 0.6054 GB, free: 6.652 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.2331, allocations: 3.953 kB / 0.6054 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.113e-05/0.2331, allocations: 3.984 kB / 0.6054 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/0.2465, allocations: 5.278 MB / 0.6105 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/0.2466, allocations: 0 / 0.6105 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006759/0.2473, allocations: 103.9 kB / 0.6106 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005326/0.2526, allocations: 1.653 MB / 0.6123 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001605/0.2528, allocations: 12 kB / 0.6123 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01607/0.2689, allocations: 7.191 MB / 0.6193 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2689, allocations: 0 / 0.6193 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01366/0.2826, allocations: 4.838 MB / 0.624 GB, free: 3.285 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003964/0.2831, allocations: 183.8 kB / 0.6242 GB, free: 3.086 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003067/0.2834, allocations: 20 kB / 0.6242 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.2844, allocations: 115.9 kB / 0.6243 GB, free: 2.953 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005645/0.285, allocations: 156.4 kB / 0.6245 GB, free: 2.801 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-05/0.2851, allocations: 23.98 kB / 0.6245 GB, free: 2.777 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008024/0.2859, allocations: 0.5107 MB / 0.625 GB, free: 2.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.2859, allocations: 4 kB / 0.625 GB, free: 2.266 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001342/0.2873, allocations: 355.6 kB / 0.6253 GB, free: 1.918 MB / 446.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 (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 {20 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01372/0.301, allocations: 5.433 MB / 0.6306 GB, free: 12.46 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006353/0.3074, allocations: 2.269 MB / 0.6329 GB, free: 10.17 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.3075, allocations: 0 / 0.6329 GB, free: 10.17 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004258/0.3117, allocations: 1.443 MB / 0.6343 GB, free: 8.707 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008244/0.3126, allocations: 67.25 kB / 0.6343 GB, free: 8.645 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00469/0.3173, allocations: 3.436 MB / 0.6377 GB, free: 5.125 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005728/0.3179, allocations: 1.032 MB / 0.6387 GB, free: 4.066 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003606/0.3183, allocations: 97.39 kB / 0.6388 GB, free: 3.969 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004522/0.3188, allocations: 347.2 kB / 0.6391 GB, free: 3.629 MB / 462.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3188, allocations: 0 / 0.6391 GB, free: 3.629 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.269/0.5878, allocations: 23.94 MB / 0.6625 GB, free: 94.35 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001918/0.588, allocations: 205.1 kB / 0.6627 GB, free: 94.11 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.371/2.959, allocations: 3.719 kB / 0.6627 GB, free: 94.11 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/linux/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) Environment - environmentSimulation: