Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 107.2 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 225.6 MB / 244.8 MB, free: 14.15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 187.9 kB / 299.8 MB, free: 9.805 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4505/0.4505, allocations: 79.73 MB / 434.4 MB, free: 6.594 MB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002357/0.002357, allocations: 83.84 kB / 0.5784 GB, free: 9.996 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1298, allocations: 72.09 MB / 0.6488 GB, free: 1.809 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.006939/0.1367, allocations: 5.7 MB / 0.6543 GB, free: 12.07 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003259/0.14, allocations: 1.743 MB / 0.656 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003432/0.1403, allocations: 8 kB / 0.656 GB, free: 10.31 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004678/0.1408, allocations: 202.3 kB / 0.6562 GB, free: 10.11 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001618/0.1424, allocations: 0.7335 MB / 0.657 GB, free: 9.379 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.1437, allocations: 0.553 MB / 0.6575 GB, free: 8.832 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001449/0.1451, allocations: 1.233 MB / 0.6587 GB, free: 7.594 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003512/0.1455, allocations: 187.1 kB / 0.6589 GB, free: 7.395 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006328/0.1461, allocations: 0.5212 MB / 0.6594 GB, free: 6.871 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007333/0.1468, allocations: 0.6378 MB / 0.66 GB, free: 6.23 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.147, allocations: 88 kB / 0.6601 GB, free: 6.145 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004212/0.1474, allocations: 223.8 kB / 0.6603 GB, free: 5.926 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002174/0.1476, allocations: 235 kB / 0.6605 GB, free: 5.695 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000497/0.1481, allocations: 0.5359 MB / 0.6611 GB, free: 5.156 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.1496, allocations: 1.346 MB / 0.6624 GB, free: 3.805 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1496, allocations: 4 kB / 0.6624 GB, free: 3.801 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1496, allocations: 4 kB / 0.6624 GB, free: 3.797 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.654e-05/0.1496, allocations: 3.938 kB / 0.6624 GB, free: 3.793 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.007827/0.1574, allocations: 2.356 MB / 0.6647 GB, free: 1.383 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.1575, allocations: 12.03 kB / 0.6647 GB, free: 1.371 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001615/0.1577, allocations: 110.5 kB / 0.6648 GB, free: 1.254 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005168/0.1628, allocations: 0.7641 MB / 0.6655 GB, free: 500 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/0.1641, allocations: 0.7135 MB / 0.6662 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003035/0.1644, allocations: 251.5 kB / 0.6665 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.1646, allocations: 67.94 kB / 0.6665 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002055/0.1666, allocations: 0.9433 MB / 0.6675 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.1666, allocations: 0 / 0.6675 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.511e-05/0.1667, allocations: 28 kB / 0.6675 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.1667, allocations: 16 kB / 0.6675 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.1689, allocations: 0.9693 MB / 0.6685 GB, free: 13.42 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.005695/0.1746, allocations: 3.148 MB / 0.6715 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002149/0.1767, allocations: 1.232 MB / 0.6727 GB, free: 8.77 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001402/0.1781, allocations: 0.6202 MB / 0.6733 GB, free: 8.145 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.195e-05/0.1782, allocations: 12.64 kB / 0.6734 GB, free: 8.129 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.1783, allocations: 39.22 kB / 0.6734 GB, free: 8.082 MB / 478.1 MB Notification: Performance of pre-optimization done (n=81): time 2.505e-06/0.1783, allocations: 4 kB / 0.6734 GB, free: 8.078 MB / 478.1 MB Notification: Performance of matching and sorting (n=81): time 0.02776/0.206, allocations: 6.666 MB / 0.6799 GB, free: 1.379 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/0.2061, allocations: 64 kB / 0.68 GB, free: 1.301 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.2072, allocations: 0.7905 MB / 0.6807 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001231/0.2073, allocations: 41.7 kB / 0.6808 GB, free: 468 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000369/0.2077, allocations: 433 kB / 0.6812 GB, free: 28 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003414/0.208, allocations: 305.5 kB / 0.6815 GB, free: 15.72 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003683/0.2084, allocations: 178.6 kB / 0.6817 GB, free: 15.54 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.2086, allocations: 345.9 kB / 0.682 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001511/0.2101, allocations: 0.6425 MB / 0.6826 GB, free: 14.56 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001637/0.2117, allocations: 0.7588 MB / 0.6833 GB, free: 13.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01865/0.2304, allocations: 4.446 MB / 0.6877 GB, free: 9.289 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.2304, allocations: 0 / 0.6877 GB, free: 9.289 MB / 494.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01376/0.2441, allocations: 4.012 MB / 0.6916 GB, free: 5.262 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.2442, allocations: 8 kB / 0.6916 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.2442, allocations: 0 / 0.6916 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006474/0.2507, allocations: 1.866 MB / 0.6934 GB, free: 3.383 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008686/0.2515, allocations: 159.7 kB / 0.6936 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2539/0.5054, allocations: 9.095 MB / 0.7025 GB, free: 41.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.5067, allocations: 151.4 kB / 0.7026 GB, free: 41.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.89e-05/0.5068, allocations: 35.06 kB / 0.7027 GB, free: 41.57 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.0003703/0.5072, allocations: 225.4 kB / 0.7029 GB, free: 41.39 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.5074, allocations: 107.8 kB / 0.703 GB, free: 41.36 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01288/0.5202, allocations: 3.787 MB / 0.7067 GB, free: 40.63 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.5203, allocations: 8.031 kB / 0.7067 GB, free: 40.63 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5203, allocations: 1.312 kB / 0.7067 GB, free: 40.63 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.125e-05/0.5203, allocations: 10.55 kB / 0.7067 GB, free: 40.63 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01463/0.5349, allocations: 5.294 MB / 0.7119 GB, free: 38.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.5349, allocations: 1.219 kB / 0.7119 GB, free: 38.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005287/0.5354, allocations: 89.25 kB / 0.7119 GB, free: 38.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005925/0.5414, allocations: 1.747 MB / 0.7136 GB, free: 38.54 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001349/0.5415, allocations: 15.06 kB / 0.7137 GB, free: 38.53 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0171/0.5586, allocations: 8.089 MB / 0.7216 GB, free: 34.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5586, allocations: 1.281 kB / 0.7216 GB, free: 34.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01346/0.5721, allocations: 4.662 MB / 0.7261 GB, free: 32.69 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002821/0.5724, allocations: 198.2 kB / 0.7263 GB, free: 32.52 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.5725, allocations: 11.94 kB / 0.7263 GB, free: 32.51 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008675/0.5734, allocations: 95.14 kB / 0.7264 GB, free: 32.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006014/0.574, allocations: 199.3 kB / 0.7266 GB, free: 32.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.975e-05/0.574, allocations: 15.84 kB / 0.7266 GB, free: 32.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005815/0.5746, allocations: 0.5304 MB / 0.7271 GB, free: 32.04 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5746, allocations: 0 / 0.7271 GB, free: 32.04 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001193/0.5758, allocations: 403.8 kB / 0.7275 GB, free: 31.99 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.01316/0.589, allocations: 5.233 MB / 0.7326 GB, free: 28.71 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005859/0.5948, allocations: 2.197 MB / 0.7348 GB, free: 26.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.5948, allocations: 4 kB / 0.7348 GB, free: 26.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00407/0.5989, allocations: 1.441 MB / 0.7362 GB, free: 25.05 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007525/0.5996, allocations: 79.59 kB / 0.7363 GB, free: 24.98 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03106/0.6307, allocations: 13.91 MB / 0.7498 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.6311, allocations: 1.025 MB / 0.7508 GB, free: 9.863 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003017/0.6314, allocations: 82.17 kB / 0.7509 GB, free: 9.781 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003553/0.6317, allocations: 379.3 kB / 0.7513 GB, free: 9.41 MB / 494.1 MB Notification: Performance of SimCode: time 1.643e-06/0.6317, allocations: 0 / 0.7513 GB, free: 9.41 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06743/0.6992, allocations: 30.88 MB / 0.7814 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.73/16.43, allocations: 12.08 kB / 0.7814 GB, free: 10.65 MB / 0.5137 GB " [Timeout remaining time 643] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.805389497429132] Failed to read output from testmodel.py, exit status != 0: 16.54257229808718 16.563654489 16.410132099 Calling exit ...