Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001392/0.001392, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.44/1.44, allocations: 230.6 MB / 252.6 MB, free: 8.305 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.001578/0.001578, allocations: 201.4 kB / 309.2 MB, free: 3.141 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.5549/0.5549, allocations: 101.4 MB / 467 MB, free: 10.33 MB / 334.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.Order2test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",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.002591/0.002591, allocations: 79.88 kB / 0.6244 GB, free: 12.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4311/0.4337, allocations: 78.61 MB / 0.7012 GB, free: 8.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.005402/0.4391, allocations: 5.773 MB / 0.7068 GB, free: 5.047 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003105/0.4422, allocations: 1.792 MB / 0.7086 GB, free: 3.781 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005789/0.4427, allocations: 12.19 kB / 0.7086 GB, free: 3.777 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004625/0.4432, allocations: 205.3 kB / 0.7088 GB, free: 3.668 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001538/0.4447, allocations: 0.7417 MB / 0.7095 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.4458, allocations: 0.556 MB / 0.7101 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.4471, allocations: 1.24 MB / 0.7113 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003028/0.4474, allocations: 194.4 kB / 0.7115 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006083/0.448, allocations: 0.5398 MB / 0.712 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006381/0.4486, allocations: 0.6419 MB / 0.7126 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.4488, allocations: 88.62 kB / 0.7127 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004643/0.4492, allocations: 235.4 kB / 0.7129 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001591/0.4494, allocations: 240.9 kB / 0.7131 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003439/0.4497, allocations: 0.5307 MB / 0.7137 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.4511, allocations: 1.362 MB / 0.715 GB, free: 372 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4511, allocations: 0 / 0.715 GB, free: 372 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.4511, allocations: 0 / 0.715 GB, free: 372 kB / 494.1 MB Notification: Performance of Transformations before backend: time 2.482e-05/0.4512, allocations: 4 kB / 0.715 GB, free: 368 kB / 494.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.008368/0.4595, allocations: 2.307 MB / 0.7172 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.4596, allocations: 11.47 kB / 0.7173 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002693/0.4598, allocations: 113.9 kB / 0.7174 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005094/0.4649, allocations: 0.7602 MB / 0.7181 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/0.4665, allocations: 0.6476 MB / 0.7187 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000354/0.4669, allocations: 306.2 kB / 0.719 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/0.4671, allocations: 62.47 kB / 0.7191 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/0.4693, allocations: 0.9461 MB / 0.72 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.4693, allocations: 0 / 0.72 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.863e-05/0.4694, allocations: 24.5 kB / 0.72 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.4694, allocations: 17.62 kB / 0.7201 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002146/0.4715, allocations: 0.9737 MB / 0.721 GB, free: 13.67 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.00759/0.4791, allocations: 3.088 MB / 0.724 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002257/0.4814, allocations: 0.7802 MB / 0.7248 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001632/0.483, allocations: 0.621 MB / 0.7254 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001256/0.4831, allocations: 13.75 kB / 0.7254 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.4832, allocations: 43.3 kB / 0.7254 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=81): time 3.206e-06/0.4832, allocations: 0.5 kB / 0.7255 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=81): time 0.02837/0.5116, allocations: 6.6 MB / 0.7319 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.986e-05/0.5116, allocations: 68.12 kB / 0.732 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.513, allocations: 0.7789 MB / 0.7327 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002285/0.5132, allocations: 41.67 kB / 0.7328 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004251/0.5136, allocations: 435 kB / 0.7332 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004832/0.5141, allocations: 304.8 kB / 0.7335 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004529/0.5146, allocations: 174.2 kB / 0.7336 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.5147, allocations: 347.2 kB / 0.734 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001597/0.5163, allocations: 0.642 MB / 0.7346 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/0.5181, allocations: 0.761 MB / 0.7353 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01957/0.5377, allocations: 4.571 MB / 0.7398 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.5377, allocations: 1.062 kB / 0.7398 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01537/0.5531, allocations: 4.005 MB / 0.7437 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.5531, allocations: 6.688 kB / 0.7437 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.5531, allocations: 6.281 kB / 0.7437 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006654/0.5598, allocations: 1.867 MB / 0.7455 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009226/0.5607, allocations: 164.3 kB / 0.7457 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02362/0.5843, allocations: 9.002 MB / 0.7545 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.5858, allocations: 151.3 kB / 0.7546 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002022/0.586, allocations: 35.98 kB / 0.7547 GB, free: 9.344 MB / 0.5137 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.0005832/0.5866, allocations: 217.7 kB / 0.7549 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002895/0.5869, allocations: 107.3 kB / 0.755 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01359/0.6005, allocations: 3.793 MB / 0.7587 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.6005, allocations: 8 kB / 0.7587 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.6005, allocations: 4 kB / 0.7587 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.041e-05/0.6005, allocations: 7.984 kB / 0.7587 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01626/0.6168, allocations: 5.262 MB / 0.7638 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-05/0.6168, allocations: 7.875 kB / 0.7639 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006667/0.6175, allocations: 91.88 kB / 0.7639 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006462/0.6239, allocations: 1.741 MB / 0.7656 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002315/0.6242, allocations: 12 kB / 0.7657 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0205/0.6447, allocations: 7.969 MB / 0.7734 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.6447, allocations: 0 / 0.7734 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01563/0.6603, allocations: 4.67 MB / 0.778 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003719/0.6607, allocations: 119 kB / 0.7781 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002521/0.6609, allocations: 12 kB / 0.7781 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.662, allocations: 99.89 kB / 0.7782 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006545/0.6626, allocations: 204.6 kB / 0.7784 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.813e-05/0.6627, allocations: 20 kB / 0.7784 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007864/0.6635, allocations: 0.5303 MB / 0.7789 GB, free: 180 kB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6635, allocations: 0 / 0.7789 GB, free: 180 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001383/0.6649, allocations: 403.7 kB / 0.7793 GB, free: 15.78 MB / 0.545 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.01606/0.681, allocations: 5.241 MB / 0.7844 GB, free: 10.51 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007112/0.6881, allocations: 2.201 MB / 0.7866 GB, free: 8.293 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.6881, allocations: 0 / 0.7866 GB, free: 8.293 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005119/0.6932, allocations: 1.429 MB / 0.788 GB, free: 6.852 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009667/0.6942, allocations: 79.3 kB / 0.7881 GB, free: 6.777 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0397/0.7339, allocations: 13.94 MB / 0.8017 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007776/0.7346, allocations: 1.025 MB / 0.8027 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003827/0.735, allocations: 74.19 kB / 0.8028 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006008/0.7356, allocations: 375.3 kB / 0.8031 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of SimCode: time 1.493e-06/0.7356, allocations: 0 / 0.8031 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08018/0.8158, allocations: 31.76 MB / 0.8341 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.11/17.92, allocations: 18.22 kB / 0.8341 GB, free: 7.52 MB / 0.5919 GB " [Timeout remaining time 642] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.512208386091515] Failed to read output from testmodel.py, exit status != 0: 18.059355393983424 18.08634791 17.629659637 Calling exit ...