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-master/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-master/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-master/package.mo): time 0.08184/0.08184, allocations: 12.59 MB / 28.22 MB, free: 0.7695 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.001048/0.001048, allocations: 111.4 kB / 31.84 MB, free: 3.895 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.256/1.256, allocations: 205.1 MB / 240.4 MB, free: 12.38 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.001251/0.001251, allocations: 188.5 kB / 290.7 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4277/0.4277, allocations: 78.51 MB / 419.3 MB, free: 11.24 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.00259/0.00259, allocations: 138 kB / 0.5554 GB, free: 28.98 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1077, allocations: 68.14 MB / 0.6219 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.005424/0.1132, allocations: 5.288 MB / 0.6271 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002314/0.1155, allocations: 1.607 MB / 0.6287 GB, free: 8.992 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002257/0.1158, allocations: 8 kB / 0.6287 GB, free: 8.984 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004012/0.1162, allocations: 190.4 kB / 0.6288 GB, free: 8.797 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.1175, allocations: 0.6718 MB / 0.6295 GB, free: 8.121 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009395/0.1184, allocations: 0.4982 MB / 0.63 GB, free: 7.629 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001014/0.1195, allocations: 1.082 MB / 0.631 GB, free: 6.543 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003718/0.1198, allocations: 266.5 kB / 0.6313 GB, free: 6.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004669/0.1203, allocations: 474 kB / 0.6317 GB, free: 5.805 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006231/0.121, allocations: 0.5834 MB / 0.6323 GB, free: 5.219 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.1211, allocations: 80 kB / 0.6324 GB, free: 5.141 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003743/0.1215, allocations: 223.8 kB / 0.6326 GB, free: 4.922 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001957/0.1217, allocations: 235 kB / 0.6328 GB, free: 4.691 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000401/0.1221, allocations: 0.4892 MB / 0.6333 GB, free: 4.199 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.1232, allocations: 1.227 MB / 0.6345 GB, free: 2.969 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.1232, allocations: 4 kB / 0.6345 GB, free: 2.965 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1232, allocations: 0 / 0.6345 GB, free: 2.965 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.488e-05/0.1232, allocations: 0 / 0.6345 GB, free: 2.965 MB / 446.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.006031/0.1293, allocations: 2.131 MB / 0.6366 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1293, allocations: 15.98 kB / 0.6366 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001294/0.1294, allocations: 106.7 kB / 0.6367 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003905/0.1333, allocations: 0.639 MB / 0.6373 GB, free: 12 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008531/0.1342, allocations: 0.6505 MB / 0.638 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001672/0.1344, allocations: 180.1 kB / 0.6381 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.1345, allocations: 60 kB / 0.6382 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.1361, allocations: 0.8535 MB / 0.639 GB, free: 14.19 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.1362, allocations: 4 kB / 0.639 GB, free: 14.19 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-05/0.1362, allocations: 20 kB / 0.6391 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.1363, allocations: 15.94 kB / 0.6391 GB, free: 14.15 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/0.1381, allocations: 0.899 MB / 0.6399 GB, free: 13.25 MB / 462.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.003738/0.1418, allocations: 2.404 MB / 0.6423 GB, free: 10.75 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.1434, allocations: 1.025 MB / 0.6433 GB, free: 9.637 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.1445, allocations: 0.6293 MB / 0.6439 GB, free: 9.008 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.887e-05/0.1446, allocations: 12.64 kB / 0.6439 GB, free: 8.996 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.1447, allocations: 43.2 kB / 0.644 GB, free: 8.945 MB / 462.1 MB Notification: Performance of pre-optimization done (n=76): time 3.307e-06/0.1447, allocations: 0 / 0.644 GB, free: 8.945 MB / 462.1 MB Notification: Performance of matching and sorting (n=76): time 0.0197/0.1644, allocations: 5.55 MB / 0.6494 GB, free: 3.359 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.1644, allocations: 60.06 kB / 0.6494 GB, free: 3.289 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008961/0.1653, allocations: 0.7629 MB / 0.6502 GB, free: 2.52 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.882e-05/0.1654, allocations: 37.7 kB / 0.6502 GB, free: 2.477 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/0.1657, allocations: 396.6 kB / 0.6506 GB, free: 2.082 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00026/0.166, allocations: 276 kB / 0.6509 GB, free: 1.809 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003407/0.1663, allocations: 178.5 kB / 0.651 GB, free: 1.625 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1665, allocations: 349.9 kB / 0.6514 GB, free: 1.277 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/0.1677, allocations: 0.5993 MB / 0.652 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/0.169, allocations: 0.7046 MB / 0.6526 GB, free: 15.95 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002536/0.1715, allocations: 1.308 MB / 0.6539 GB, free: 14.62 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1715, allocations: 0 / 0.6539 GB, free: 14.62 MB / 478.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.009965/0.1815, allocations: 3.501 MB / 0.6573 GB, free: 11.11 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.1815, allocations: 4 kB / 0.6573 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.1815, allocations: 4 kB / 0.6573 GB, free: 11.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004539/0.1861, allocations: 1.442 MB / 0.6588 GB, free: 9.656 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007448/0.1868, allocations: 187.6 kB / 0.6589 GB, free: 9.473 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01719/0.204, allocations: 7.789 MB / 0.6665 GB, free: 1.543 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.2051, allocations: 147.1 kB / 0.6667 GB, free: 1.398 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.2052, allocations: 35.98 kB / 0.6667 GB, free: 1.363 MB / 478.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.0004283/0.2057, allocations: 217.6 kB / 0.6669 GB, free: 1.141 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/0.2059, allocations: 98.78 kB / 0.667 GB, free: 1.043 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009889/0.2158, allocations: 3.223 MB / 0.6702 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.2158, allocations: 8 kB / 0.6702 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.2158, allocations: 0 / 0.6702 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/0.2158, allocations: 3.984 kB / 0.6702 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01175/0.2276, allocations: 4.546 MB / 0.6746 GB, free: 9.129 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.966e-06/0.2276, allocations: 3.984 kB / 0.6746 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000529/0.2282, allocations: 95.88 kB / 0.6747 GB, free: 9.031 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004413/0.2326, allocations: 1.402 MB / 0.6761 GB, free: 7.625 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.456e-05/0.2327, allocations: 12 kB / 0.6761 GB, free: 7.613 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0144/0.2471, allocations: 6.737 MB / 0.6827 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2471, allocations: 0 / 0.6827 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/0.2583, allocations: 4.05 MB / 0.6866 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000313/0.2586, allocations: 175.8 kB / 0.6868 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.2588, allocations: 19.94 kB / 0.6868 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008166/0.2596, allocations: 79.91 kB / 0.6869 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004862/0.2601, allocations: 164.4 kB / 0.687 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.049e-05/0.2602, allocations: 19.98 kB / 0.6871 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007252/0.2609, allocations: 0.5146 MB / 0.6876 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.261, allocations: 0 / 0.6876 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001173/0.2621, allocations: 367.6 kB / 0.6879 GB, free: 11.32 MB / 0.4981 GB 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.01177/0.2739, allocations: 4.613 MB / 0.6924 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005158/0.2791, allocations: 2.054 MB / 0.6944 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2791, allocations: 0 / 0.6944 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003455/0.2826, allocations: 1.288 MB / 0.6957 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000665/0.2832, allocations: 75.3 kB / 0.6958 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02895/0.3122, allocations: 12.68 MB / 0.7081 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006692/0.3129, allocations: 1.013 MB / 0.7091 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004762/0.3134, allocations: 93.45 kB / 0.7092 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004982/0.3139, allocations: 343.3 kB / 0.7095 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of SimCode: time 5.61e-07/0.3139, allocations: 0 / 0.7095 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2776/0.5916, allocations: 27.46 MB / 0.7364 GB, free: 80.96 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/14.81, allocations: 15.39 kB / 0.7364 GB, free: 80.95 MB / 0.5137 GB (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)