Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07713/0.07713, allocations: 12.37 MB / 29.42 MB, free: 0.6875 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 115.1 kB / 35.12 MB, free: 1.824 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 207.6 MB / 248.3 MB, free: 11.41 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 219.7 kB / 303.2 MB, free: 6.168 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4257/0.4257, allocations: 79.72 MB / 437.6 MB, free: 4.578 MB / 302.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.Order2test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.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.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0039/0.0039, allocations: 139.8 kB / 0.5826 GB, free: 8.105 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1378, allocations: 71.93 MB / 0.6528 GB, free: 80 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.007695/0.1455, allocations: 5.756 MB / 0.6585 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003465/0.149, allocations: 1.705 MB / 0.6601 GB, free: 8.574 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004571/0.1495, allocations: 12 kB / 0.6601 GB, free: 8.562 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004755/0.1499, allocations: 202.3 kB / 0.6603 GB, free: 8.363 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001745/0.1517, allocations: 0.7481 MB / 0.6611 GB, free: 7.613 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.1529, allocations: 0.5494 MB / 0.6616 GB, free: 7.07 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001562/0.1545, allocations: 1.225 MB / 0.6628 GB, free: 5.84 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003819/0.1548, allocations: 191.1 kB / 0.663 GB, free: 5.637 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007056/0.1555, allocations: 0.5251 MB / 0.6635 GB, free: 5.109 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007373/0.1563, allocations: 0.6455 MB / 0.6641 GB, free: 4.461 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.1564, allocations: 84 kB / 0.6642 GB, free: 4.379 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004204/0.1568, allocations: 219.9 kB / 0.6644 GB, free: 4.164 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.157, allocations: 246.9 kB / 0.6646 GB, free: 3.922 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004703/0.1575, allocations: 0.5359 MB / 0.6652 GB, free: 3.383 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.159, allocations: 1.346 MB / 0.6665 GB, free: 2.031 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.159, allocations: 0 / 0.6665 GB, free: 2.031 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.159, allocations: 0 / 0.6665 GB, free: 2.031 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.159, allocations: 4 kB / 0.6665 GB, free: 2.027 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.007908/0.1669, allocations: 2.367 MB / 0.6688 GB, free: 15.61 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.167, allocations: 11.98 kB / 0.6688 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.473e-05/0.167, allocations: 17.31 kB / 0.6688 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000243/0.1673, allocations: 110.5 kB / 0.6689 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00508/0.1723, allocations: 0.768 MB / 0.6697 GB, free: 14.69 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.1735, allocations: 0.7096 MB / 0.6704 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003041/0.1738, allocations: 247.5 kB / 0.6706 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.174, allocations: 71.92 kB / 0.6707 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002165/0.1761, allocations: 0.9433 MB / 0.6716 GB, free: 12.63 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.1761, allocations: 0 / 0.6716 GB, free: 12.63 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.08e-05/0.1762, allocations: 24 kB / 0.6716 GB, free: 12.61 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.1762, allocations: 20 kB / 0.6716 GB, free: 12.59 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002239/0.1785, allocations: 0.9733 MB / 0.6726 GB, free: 11.62 MB / 478.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.005605/0.1841, allocations: 3.136 MB / 0.6756 GB, free: 8.332 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002304/0.1864, allocations: 1.234 MB / 0.6769 GB, free: 6.98 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001516/0.1879, allocations: 0.6241 MB / 0.6775 GB, free: 6.355 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.188, allocations: 12.64 kB / 0.6775 GB, free: 6.34 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.188, allocations: 39.22 kB / 0.6775 GB, free: 6.293 MB / 478.1 MB Notification: Performance of pre-optimization done (n=81): time 4.168e-06/0.188, allocations: 4 kB / 0.6775 GB, free: 6.289 MB / 478.1 MB Notification: Performance of matching and sorting (n=81): time 0.02889/0.2169, allocations: 6.666 MB / 0.684 GB, free: 15.58 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.626e-05/0.217, allocations: 68 kB / 0.6841 GB, free: 15.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.2182, allocations: 0.7905 MB / 0.6849 GB, free: 14.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001848/0.2183, allocations: 37.7 kB / 0.6849 GB, free: 14.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003775/0.2187, allocations: 437 kB / 0.6853 GB, free: 14.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003523/0.2191, allocations: 297.4 kB / 0.6856 GB, free: 13.94 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003773/0.2195, allocations: 182.6 kB / 0.6858 GB, free: 13.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.2196, allocations: 345.9 kB / 0.6861 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001574/0.2212, allocations: 0.6386 MB / 0.6867 GB, free: 12.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/0.2228, allocations: 0.7627 MB / 0.6875 GB, free: 11.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01874/0.2416, allocations: 4.442 MB / 0.6918 GB, free: 7.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.2416, allocations: 0 / 0.6918 GB, free: 7.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01434/0.2559, allocations: 4.012 MB / 0.6957 GB, free: 3.473 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.693e-05/0.256, allocations: 12 kB / 0.6957 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.256, allocations: 0 / 0.6957 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006842/0.2628, allocations: 1.866 MB / 0.6976 GB, free: 1.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008779/0.2637, allocations: 159.8 kB / 0.6977 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2898/0.5535, allocations: 9.095 MB / 0.7066 GB, free: 38.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.5548, allocations: 147.8 kB / 0.7067 GB, free: 38.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.443e-05/0.5549, allocations: 39.58 kB / 0.7068 GB, free: 38.93 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order21.delta:VARIABLE(flow=false start = order21.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 (92): * Single equations (assignments): 91 * 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 prepare postOptimizeDAE: time 0.000375/0.5553, allocations: 226.3 kB / 0.707 GB, free: 38.75 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.5555, allocations: 107.3 kB / 0.7071 GB, free: 38.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01379/0.5693, allocations: 3.79 MB / 0.7108 GB, free: 37.94 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.5693, allocations: 11.48 kB / 0.7108 GB, free: 37.94 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5693, allocations: 3.938 kB / 0.7108 GB, free: 37.94 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.022e-05/0.5693, allocations: 5.938 kB / 0.7108 GB, free: 37.94 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01466/0.584, allocations: 5.294 MB / 0.716 GB, free: 36.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/0.584, allocations: 0 / 0.716 GB, free: 36.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004998/0.5845, allocations: 85.91 kB / 0.7161 GB, free: 36.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005905/0.5904, allocations: 1.738 MB / 0.7178 GB, free: 35.85 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001316/0.5905, allocations: 18.88 kB / 0.7178 GB, free: 35.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01767/0.6082, allocations: 8.086 MB / 0.7257 GB, free: 31.89 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.6082, allocations: 0 / 0.7257 GB, free: 31.89 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01384/0.622, allocations: 4.67 MB / 0.7302 GB, free: 29.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003385/0.6224, allocations: 195.2 kB / 0.7304 GB, free: 29.53 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.6225, allocations: 8 kB / 0.7304 GB, free: 29.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008835/0.6234, allocations: 95.14 kB / 0.7305 GB, free: 29.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005707/0.6239, allocations: 203.5 kB / 0.7307 GB, free: 29.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.815e-05/0.624, allocations: 17.7 kB / 0.7307 GB, free: 29.35 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005493/0.6245, allocations: 0.5315 MB / 0.7312 GB, free: 29.05 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6245, allocations: 0 / 0.7312 GB, free: 29.05 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00115/0.6257, allocations: 402.9 kB / 0.7316 GB, free: 29 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * 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 (48): * Single equations (assignments): 47 * 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.01336/0.6391, allocations: 5.23 MB / 0.7367 GB, free: 25.65 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0059/0.645, allocations: 2.197 MB / 0.7389 GB, free: 23.44 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.645, allocations: 0 / 0.7389 GB, free: 23.44 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004122/0.6491, allocations: 1.445 MB / 0.7403 GB, free: 21.99 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006805/0.6498, allocations: 81 kB / 0.7404 GB, free: 21.92 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03088/0.6806, allocations: 13.93 MB / 0.754 GB, free: 7.844 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.681, allocations: 1.025 MB / 0.755 GB, free: 6.789 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000296/0.6813, allocations: 82.17 kB / 0.7551 GB, free: 6.707 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003671/0.6817, allocations: 379.3 kB / 0.7554 GB, free: 6.336 MB / 494.1 MB Notification: Performance of SimCode: time 8.62e-07/0.6817, allocations: 0 / 0.7554 GB, free: 6.336 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06494/0.7466, allocations: 30.91 MB / 0.7856 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.73/16.48, allocations: 4.062 kB / 0.7856 GB, free: 7.477 MB / 0.5137 GB " [Timeout remaining time 643] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.972970439004712] Failed to read output from testmodel.py, exit status != 0: 16.639827553997748 16.655523687 16.493510707 Calling exit ...