Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.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.001206/0.001206, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.386/1.386, allocations: 230.6 MB / 253.5 MB, free: 14.29 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.001529/0.001529, allocations: 208.2 kB / 310 MB, free: 3.117 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5583/0.5583, allocations: 101.3 MB / 467.7 MB, free: 32.24 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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.Order4test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2",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.002354/0.002354, allocations: 80.5 kB / 0.6251 GB, free: 33.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1363, allocations: 78.61 MB / 0.7018 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.006185/0.1425, allocations: 5.139 MB / 0.7069 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003281/0.1458, allocations: 1.739 MB / 0.7086 GB, free: 9.918 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003463/0.1461, allocations: 15.94 kB / 0.7086 GB, free: 9.902 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004459/0.1466, allocations: 206.3 kB / 0.7088 GB, free: 9.699 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001551/0.1481, allocations: 0.7214 MB / 0.7095 GB, free: 8.977 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.1493, allocations: 0.5657 MB / 0.71 GB, free: 8.418 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001344/0.1507, allocations: 1.257 MB / 0.7113 GB, free: 7.156 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003407/0.151, allocations: 191.5 kB / 0.7114 GB, free: 6.957 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006542/0.1517, allocations: 0.5446 MB / 0.712 GB, free: 6.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007606/0.1524, allocations: 0.6455 MB / 0.7126 GB, free: 5.762 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.1526, allocations: 88 kB / 0.7127 GB, free: 5.676 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004341/0.153, allocations: 239.9 kB / 0.7129 GB, free: 5.441 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002237/0.1532, allocations: 246.9 kB / 0.7131 GB, free: 5.199 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004186/0.1536, allocations: 457.4 kB / 0.7136 GB, free: 4.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.1551, allocations: 1.377 MB / 0.7149 GB, free: 3.367 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1551, allocations: 0 / 0.7149 GB, free: 3.367 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1551, allocations: 0 / 0.7149 GB, free: 3.367 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.1551, allocations: 0 / 0.7149 GB, free: 3.367 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.007499/0.1626, allocations: 2.336 MB / 0.7172 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1626, allocations: 8.031 kB / 0.7172 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.663e-05/0.1627, allocations: 17.31 kB / 0.7172 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001496/0.1628, allocations: 114.5 kB / 0.7173 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004855/0.1677, allocations: 0.7603 MB / 0.7181 GB, free: 88 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.1689, allocations: 0.6491 MB / 0.7187 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003381/0.1692, allocations: 303.6 kB / 0.719 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.1694, allocations: 68 kB / 0.7191 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/0.1715, allocations: 0.9637 MB / 0.72 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.1715, allocations: 3.938 kB / 0.72 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.713e-05/0.1716, allocations: 24 kB / 0.72 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.1716, allocations: 19.94 kB / 0.7201 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00214/0.1737, allocations: 0.976 MB / 0.721 GB, free: 13 MB / 0.4981 GB 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.005507/0.1793, allocations: 2.406 MB / 0.7234 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001812/0.1811, allocations: 0.7705 MB / 0.7241 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001366/0.1824, allocations: 0.6384 MB / 0.7247 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.692e-05/0.1825, allocations: 9 kB / 0.7247 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/0.1826, allocations: 39.56 kB / 0.7248 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=83): time 2.866e-06/0.1826, allocations: 0 / 0.7248 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of matching and sorting (n=83): time 0.02505/0.2076, allocations: 6.369 MB / 0.731 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.2077, allocations: 64.34 kB / 0.7311 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.2088, allocations: 0.7907 MB / 0.7318 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001357/0.2089, allocations: 37.7 kB / 0.7319 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003538/0.2093, allocations: 441 kB / 0.7323 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003393/0.2096, allocations: 317.3 kB / 0.7326 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003986/0.21, allocations: 190.9 kB / 0.7328 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.2101, allocations: 345.9 kB / 0.7331 GB, free: 500 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/0.2116, allocations: 0.6585 MB / 0.7338 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/0.2132, allocations: 0.7796 MB / 0.7345 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01842/0.2316, allocations: 4.633 MB / 0.739 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.2316, allocations: 0 / 0.739 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01289/0.2445, allocations: 4.036 MB / 0.743 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.835e-05/0.2445, allocations: 12 kB / 0.743 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/0.2445, allocations: 3.938 kB / 0.743 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005975/0.2505, allocations: 1.73 MB / 0.7447 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009888/0.2515, allocations: 191.7 kB / 0.7449 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02077/0.2723, allocations: 8.76 MB / 0.7534 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.2736, allocations: 159.3 kB / 0.7536 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.2737, allocations: 35.98 kB / 0.7536 GB, free: 11.29 MB / 0.5294 GB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" 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 (101): * Single equations (assignments): 100 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004254/0.2741, allocations: 224.2 kB / 0.7538 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/0.2743, allocations: 111.3 kB / 0.7539 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01242/0.2867, allocations: 3.79 MB / 0.7576 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.2867, allocations: 8 kB / 0.7576 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.2867, allocations: 3.938 kB / 0.7576 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.2867, allocations: 3.984 kB / 0.7576 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01381/0.3005, allocations: 4.716 MB / 0.7622 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.3005, allocations: 3.938 kB / 0.7623 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005255/0.3011, allocations: 91.88 kB / 0.7623 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005988/0.3071, allocations: 1.733 MB / 0.764 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/0.3072, allocations: 16 kB / 0.764 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01891/0.3261, allocations: 7.766 MB / 0.7716 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.3261, allocations: 4 kB / 0.7716 GB, free: 8.613 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01416/0.3403, allocations: 4.674 MB / 0.7762 GB, free: 3.914 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000312/0.3406, allocations: 115.1 kB / 0.7763 GB, free: 3.801 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002166/0.3408, allocations: 15.98 kB / 0.7763 GB, free: 3.785 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009704/0.3418, allocations: 91.84 kB / 0.7764 GB, free: 3.695 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006528/0.3424, allocations: 212.6 kB / 0.7766 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.093e-05/0.3425, allocations: 16 kB / 0.7766 GB, free: 3.473 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007805/0.3433, allocations: 0.5342 MB / 0.7772 GB, free: 2.941 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.3433, allocations: 0 / 0.7772 GB, free: 2.941 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001343/0.3446, allocations: 407.7 kB / 0.7775 GB, free: 2.543 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (50): * Single equations (assignments): 49 * 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.01472/0.3593, allocations: 5.253 MB / 0.7827 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006536/0.3659, allocations: 2.184 MB / 0.7848 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.3659, allocations: 4.125 kB / 0.7848 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004756/0.3706, allocations: 1.448 MB / 0.7862 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009592/0.3716, allocations: 75.34 kB / 0.7863 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03616/0.4077, allocations: 14.13 MB / 0.8001 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005399/0.4083, allocations: 442.6 kB / 0.8005 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003551/0.4086, allocations: 78.31 kB / 0.8006 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006025/0.4092, allocations: 383.3 kB / 0.801 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of SimCode: time 1.643e-06/0.4092, allocations: 4 kB / 0.801 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3423/0.7515, allocations: 32.39 MB / 0.8326 GB, free: 99.21 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.21/16.96, allocations: 12.47 kB / 0.8326 GB, free: 99.21 MB / 0.5762 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.544300865964033] Failed to read output from testmodel.py, exit status != 0: 17.141605585929938 17.151685388 16.994477037 Calling exit ...