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.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.001305/0.001305, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.476/1.476, allocations: 230.6 MB / 253.4 MB, free: 14.49 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.001669/0.001669, allocations: 207.1 kB / 310 MB, free: 3.125 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.4841/0.4841, allocations: 79.73 MB / 446.2 MB, free: 38.86 MB / 350.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 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.002598/0.002598, allocations: 83.33 kB / 0.5937 GB, free: 38.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.121, allocations: 73.29 MB / 0.6653 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.007079/0.128, allocations: 5.745 MB / 0.6709 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004031/0.1321, allocations: 1.784 MB / 0.6726 GB, free: 10.58 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001015/0.1331, allocations: 13.31 kB / 0.6726 GB, free: 10.58 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007071/0.1338, allocations: 198 kB / 0.6728 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002369/0.1362, allocations: 0.7404 MB / 0.6735 GB, free: 9.648 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.1376, allocations: 0.5599 MB / 0.6741 GB, free: 9.094 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001999/0.1396, allocations: 1.233 MB / 0.6753 GB, free: 7.855 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004799/0.1401, allocations: 191.5 kB / 0.6755 GB, free: 7.656 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009979/0.1411, allocations: 0.5368 MB / 0.676 GB, free: 7.117 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.1422, allocations: 0.6455 MB / 0.6766 GB, free: 6.469 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002704/0.1425, allocations: 84 kB / 0.6767 GB, free: 6.387 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007117/0.1432, allocations: 239.9 kB / 0.6769 GB, free: 6.152 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002951/0.1435, allocations: 234.9 kB / 0.6772 GB, free: 5.922 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007118/0.1442, allocations: 0.5437 MB / 0.6777 GB, free: 5.375 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002062/0.1463, allocations: 1.354 MB / 0.679 GB, free: 4.016 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1463, allocations: 4 kB / 0.679 GB, free: 4.012 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1463, allocations: 0 / 0.679 GB, free: 4.012 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.769e-05/0.1463, allocations: 0 / 0.679 GB, free: 4.012 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.008941/0.1553, allocations: 2.305 MB / 0.6813 GB, free: 1.672 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/0.1553, allocations: 12.03 kB / 0.6813 GB, free: 1.66 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.473e-05/0.1554, allocations: 17.31 kB / 0.6813 GB, free: 1.641 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002527/0.1556, allocations: 114.5 kB / 0.6814 GB, free: 1.52 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005115/0.1607, allocations: 0.7641 MB / 0.6822 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.1623, allocations: 0.6491 MB / 0.6828 GB, free: 80 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003939/0.1627, allocations: 298.9 kB / 0.6831 GB, free: 15.74 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002276/0.1629, allocations: 67.94 kB / 0.6831 GB, free: 15.67 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002339/0.1653, allocations: 0.9433 MB / 0.6841 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.1653, allocations: 0 / 0.6841 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.597e-05/0.1654, allocations: 28 kB / 0.6841 GB, free: 14.7 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.1654, allocations: 20 kB / 0.6841 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002287/0.1677, allocations: 0.9655 MB / 0.6851 GB, free: 13.71 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.0061/0.1738, allocations: 3.096 MB / 0.6881 GB, free: 10.46 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/0.1758, allocations: 0.7798 MB / 0.6888 GB, free: 9.68 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/0.1772, allocations: 0.624 MB / 0.6894 GB, free: 9.051 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.77e-05/0.1773, allocations: 8.656 kB / 0.6895 GB, free: 9.039 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.1774, allocations: 47.14 kB / 0.6895 GB, free: 8.984 MB / 478.1 MB Notification: Performance of pre-optimization done (n=81): time 2.555e-06/0.1774, allocations: 0 / 0.6895 GB, free: 8.984 MB / 478.1 MB Notification: Performance of matching and sorting (n=81): time 0.02781/0.2052, allocations: 6.604 MB / 0.696 GB, free: 2.363 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.057e-05/0.2052, allocations: 64 kB / 0.696 GB, free: 2.289 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.2066, allocations: 0.7828 MB / 0.6968 GB, free: 1.496 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002333/0.2068, allocations: 41.7 kB / 0.6968 GB, free: 1.449 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004025/0.2072, allocations: 441 kB / 0.6972 GB, free: 1.012 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004851/0.2077, allocations: 301.4 kB / 0.6975 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005251/0.2082, allocations: 174.6 kB / 0.6977 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.2084, allocations: 341.9 kB / 0.698 GB, free: 200 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001611/0.21, allocations: 0.6464 MB / 0.6986 GB, free: 15.55 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00165/0.2116, allocations: 0.7549 MB / 0.6994 GB, free: 14.76 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01873/0.2304, allocations: 4.574 MB / 0.7039 GB, free: 10.15 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.2304, allocations: 0 / 0.7039 GB, free: 10.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01399/0.2444, allocations: 4.005 MB / 0.7078 GB, free: 6.137 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.2444, allocations: 8 kB / 0.7078 GB, free: 6.129 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.2444, allocations: 4 kB / 0.7078 GB, free: 6.125 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006709/0.2511, allocations: 1.87 MB / 0.7096 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009002/0.252, allocations: 163.8 kB / 0.7098 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02352/0.2755, allocations: 9.007 MB / 0.7186 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.277, allocations: 147.3 kB / 0.7187 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000175/0.2771, allocations: 32 kB / 0.7187 GB, free: 10.79 MB / 0.4981 GB 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.0005535/0.2777, allocations: 231.1 kB / 0.7189 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002936/0.278, allocations: 103.3 kB / 0.719 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01347/0.2915, allocations: 3.79 MB / 0.7227 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.2915, allocations: 8 kB / 0.7228 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.2915, allocations: 4 kB / 0.7228 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.162e-05/0.2915, allocations: 3.984 kB / 0.7228 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01643/0.3079, allocations: 5.258 MB / 0.7279 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-05/0.3079, allocations: 7.922 kB / 0.7279 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005687/0.3085, allocations: 83.89 kB / 0.728 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006282/0.3148, allocations: 1.738 MB / 0.7297 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002003/0.315, allocations: 16 kB / 0.7297 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02082/0.3358, allocations: 7.985 MB / 0.7375 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3358, allocations: 7.938 kB / 0.7375 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01572/0.3515, allocations: 4.662 MB / 0.7421 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003928/0.3519, allocations: 115.1 kB / 0.7422 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003385/0.3523, allocations: 16 kB / 0.7422 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.3533, allocations: 87.95 kB / 0.7423 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007038/0.3541, allocations: 208.6 kB / 0.7425 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/0.3542, allocations: 20 kB / 0.7425 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008297/0.355, allocations: 0.5264 MB / 0.743 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.355, allocations: 0 / 0.743 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001553/0.3565, allocations: 407.6 kB / 0.7434 GB, free: 1.234 MB / 0.5137 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.01665/0.3732, allocations: 5.23 MB / 0.7485 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007364/0.3806, allocations: 2.204 MB / 0.7506 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/0.3806, allocations: 3.938 kB / 0.7506 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004995/0.3856, allocations: 1.425 MB / 0.752 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000953/0.3865, allocations: 79.31 kB / 0.7521 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03955/0.4261, allocations: 13.93 MB / 0.7657 GB, free: 10.12 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008087/0.4269, allocations: 1.025 MB / 0.7667 GB, free: 9.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004032/0.4273, allocations: 82.17 kB / 0.7668 GB, free: 8.988 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006232/0.4279, allocations: 379.3 kB / 0.7672 GB, free: 8.617 MB / 0.545 GB Notification: Performance of SimCode: time 1.202e-06/0.4279, allocations: 0 / 0.7672 GB, free: 8.617 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07254/0.5004, allocations: 31.8 MB / 0.7982 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.68/17.18, allocations: 15.23 kB / 0.7982 GB, free: 8.93 MB / 0.5762 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: 21.1432062209351] Failed to read output from testmodel.py, exit status != 0: 17.372697727987543 17.648260335 17.499127145 Calling exit ...