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.1297/0.1297, allocations: 12.35 MB / 31.2 MB, free: 6.434 MB / 26.18 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.001837/0.001837, allocations: 109 kB / 37.24 MB, free: 1.113 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.467/1.467, allocations: 207.7 MB / 250.9 MB, free: 7.27 MB / 190.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.001857/0.001857, allocations: 212.3 kB / 306.1 MB, free: 292 kB / 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.3225/0.3225, allocations: 79.73 MB / 440.9 MB, free: 12.26 MB / 318.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",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.00696/0.00696, allocations: 149.1 kB / 0.5875 GB, free: 7.457 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4292/0.4362, allocations: 71.95 MB / 0.6578 GB, free: 2.496 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.005862/0.442, allocations: 5.075 MB / 0.6627 GB, free: 15.04 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003824/0.4458, allocations: 1.622 MB / 0.6643 GB, free: 13.91 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004619/0.4463, allocations: 13.06 kB / 0.6643 GB, free: 13.91 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005417/0.4468, allocations: 197.4 kB / 0.6645 GB, free: 13.8 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.4486, allocations: 0.7253 MB / 0.6652 GB, free: 13.33 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.4499, allocations: 0.5427 MB / 0.6657 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001511/0.4514, allocations: 1.228 MB / 0.6669 GB, free: 12.43 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003478/0.4518, allocations: 173.9 kB / 0.6671 GB, free: 12.34 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007364/0.4525, allocations: 0.529 MB / 0.6676 GB, free: 12.08 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000782/0.4533, allocations: 0.5862 MB / 0.6682 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.4534, allocations: 85.72 kB / 0.6683 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004863/0.4539, allocations: 218.7 kB / 0.6685 GB, free: 11.78 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002409/0.4542, allocations: 235.7 kB / 0.6687 GB, free: 11.62 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004611/0.4546, allocations: 456.6 kB / 0.6691 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001861/0.4565, allocations: 1.351 MB / 0.6705 GB, free: 10.74 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.4565, allocations: 2.234 kB / 0.6705 GB, free: 10.74 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4565, allocations: 0 / 0.6705 GB, free: 10.74 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.4565, allocations: 0 / 0.6705 GB, free: 10.74 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.007685/0.4642, allocations: 2.289 MB / 0.6727 GB, free: 9.418 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.4642, allocations: 8.906 kB / 0.6727 GB, free: 9.418 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001694/0.4644, allocations: 113.1 kB / 0.6728 GB, free: 9.32 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004802/0.4692, allocations: 0.7727 MB / 0.6736 GB, free: 8.996 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.4705, allocations: 0.6498 MB / 0.6742 GB, free: 8.453 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003933/0.4709, allocations: 306.1 kB / 0.6745 GB, free: 8.16 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.471, allocations: 67.78 kB / 0.6746 GB, free: 8.137 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/0.4732, allocations: 0.939 MB / 0.6755 GB, free: 7.605 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.4732, allocations: 1.094 kB / 0.6755 GB, free: 7.605 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-05/0.4733, allocations: 29.84 kB / 0.6755 GB, free: 7.582 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.4733, allocations: 14.78 kB / 0.6755 GB, free: 7.582 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002205/0.4755, allocations: 0.9678 MB / 0.6765 GB, free: 7.125 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.005468/0.481, allocations: 2.333 MB / 0.6788 GB, free: 5.512 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001951/0.4829, allocations: 0.7786 MB / 0.6795 GB, free: 5.117 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001412/0.4843, allocations: 0.6225 MB / 0.6801 GB, free: 4.805 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.932e-05/0.4844, allocations: 14.08 kB / 0.6801 GB, free: 4.801 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.4845, allocations: 39.28 kB / 0.6802 GB, free: 4.758 MB / 462.1 MB Notification: Performance of pre-optimization done (n=81): time 2.595e-06/0.4845, allocations: 0 / 0.6802 GB, free: 4.758 MB / 462.1 MB Notification: Performance of matching and sorting (n=81): time 0.02753/0.512, allocations: 6.586 MB / 0.6866 GB, free: 1.527 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.5121, allocations: 64.09 kB / 0.6867 GB, free: 1.457 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.5133, allocations: 0.7922 MB / 0.6874 GB, free: 1.008 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001274/0.5134, allocations: 39.89 kB / 0.6875 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003721/0.5138, allocations: 439.2 kB / 0.6879 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003446/0.5141, allocations: 298.5 kB / 0.6882 GB, free: 328 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003591/0.5145, allocations: 185.9 kB / 0.6884 GB, free: 208 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.5147, allocations: 342.3 kB / 0.6887 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0015/0.5162, allocations: 0.6428 MB / 0.6893 GB, free: 15.55 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/0.5178, allocations: 0.7585 MB / 0.6901 GB, free: 15.11 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01772/0.5355, allocations: 4.45 MB / 0.6944 GB, free: 12.59 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/0.5355, allocations: 4 kB / 0.6944 GB, free: 12.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01378/0.5493, allocations: 4.005 MB / 0.6983 GB, free: 8.562 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.5493, allocations: 11.98 kB / 0.6983 GB, free: 8.551 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.5493, allocations: 8 kB / 0.6983 GB, free: 8.543 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00636/0.5557, allocations: 1.859 MB / 0.7001 GB, free: 6.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009208/0.5566, allocations: 167.7 kB / 0.7003 GB, free: 6.516 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02229/0.5789, allocations: 8.791 MB / 0.7089 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.5804, allocations: 155.3 kB / 0.709 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.306e-05/0.5805, allocations: 35.98 kB / 0.7091 GB, free: 13.42 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.0005027/0.581, allocations: 229.5 kB / 0.7093 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/0.5812, allocations: 103.3 kB / 0.7094 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01284/0.594, allocations: 3.786 MB / 0.7131 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.594, allocations: 16 kB / 0.7131 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.594, allocations: 0 / 0.7131 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/0.594, allocations: 3.984 kB / 0.7131 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01466/0.6087, allocations: 4.704 MB / 0.7177 GB, free: 4.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/0.6087, allocations: 0 / 0.7177 GB, free: 4.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005174/0.6092, allocations: 95.77 kB / 0.7178 GB, free: 4.406 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00609/0.6153, allocations: 1.738 MB / 0.7195 GB, free: 2.664 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001408/0.6154, allocations: 12 kB / 0.7195 GB, free: 2.652 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0207/0.6361, allocations: 7.79 MB / 0.7271 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.6361, allocations: 0 / 0.7271 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01553/0.6517, allocations: 4.658 MB / 0.7317 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000533/0.6522, allocations: 119.1 kB / 0.7318 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004044/0.6526, allocations: 12 kB / 0.7318 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/0.6538, allocations: 91.95 kB / 0.7319 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006777/0.6544, allocations: 216.4 kB / 0.7321 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.431e-05/0.6545, allocations: 16 kB / 0.7321 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007382/0.6552, allocations: 0.5341 MB / 0.7326 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6552, allocations: 3.938 kB / 0.7326 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001198/0.6564, allocations: 399.7 kB / 0.733 GB, free: 4.684 MB / 0.4981 GB 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.01524/0.6717, allocations: 5.23 MB / 0.7381 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006666/0.6784, allocations: 2.208 MB / 0.7403 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.6784, allocations: 0 / 0.7403 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004687/0.683, allocations: 1.436 MB / 0.7417 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008693/0.6839, allocations: 79.3 kB / 0.7417 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03738/0.7213, allocations: 13.92 MB / 0.7553 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004925/0.7218, allocations: 441.9 kB / 0.7558 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003345/0.7221, allocations: 74.19 kB / 0.7558 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005232/0.7226, allocations: 371.3 kB / 0.7562 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of SimCode: time 1.283e-06/0.7226, allocations: 0 / 0.7562 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07567/0.7983, allocations: 32.67 MB / 0.7881 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.97, allocations: 11.98 kB / 0.7881 GB, free: 11.94 MB / 0.5606 GB " [Timeout remaining time 646] (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: 17.501252818387] Failed to read output from testmodel.py, exit status != 0: 14.10770046012476 14.134982473 13.672888485 Calling exit ...