Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001293/0.001293, allocations: 102.7 kB / 16.45 MB, free: 6.449 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.462/1.462, allocations: 230.6 MB / 249.8 MB, free: 9.23 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: 212.3 kB / 306 MB, free: 4.309 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.4453/0.4453, allocations: 79.7 MB / 441.8 MB, free: 136 kB / 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.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_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",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.002684/0.002684, allocations: 86.31 kB / 0.5878 GB, free: 1.527 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1449, allocations: 73.25 MB / 0.6594 GB, free: 8.18 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.006733/0.1516, allocations: 5.826 MB / 0.665 GB, free: 2.312 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003554/0.1551, allocations: 1.798 MB / 0.6668 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004306/0.1556, allocations: 8 kB / 0.6668 GB, free: 0.5 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004682/0.156, allocations: 202.3 kB / 0.667 GB, free: 308 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001667/0.1577, allocations: 0.7549 MB / 0.6677 GB, free: 15.55 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.159, allocations: 0.5524 MB / 0.6683 GB, free: 15 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001423/0.1604, allocations: 1.264 MB / 0.6695 GB, free: 13.73 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003372/0.1607, allocations: 187.2 kB / 0.6697 GB, free: 13.54 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006534/0.1614, allocations: 0.5368 MB / 0.6702 GB, free: 13 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007281/0.1621, allocations: 0.6533 MB / 0.6708 GB, free: 12.34 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.1622, allocations: 91.98 kB / 0.6709 GB, free: 12.25 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004686/0.1627, allocations: 231.9 kB / 0.6712 GB, free: 12.03 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002278/0.1629, allocations: 250.8 kB / 0.6714 GB, free: 11.78 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004896/0.1634, allocations: 0.5437 MB / 0.6719 GB, free: 11.23 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.1649, allocations: 1.381 MB / 0.6733 GB, free: 9.848 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1649, allocations: 0 / 0.6733 GB, free: 9.848 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1649, allocations: 3.938 kB / 0.6733 GB, free: 9.844 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.1649, allocations: 0 / 0.6733 GB, free: 9.844 MB / 478.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.008133/0.1731, allocations: 2.394 MB / 0.6756 GB, free: 7.395 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1731, allocations: 12.03 kB / 0.6756 GB, free: 7.383 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001651/0.1733, allocations: 114.5 kB / 0.6757 GB, free: 7.262 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005274/0.1785, allocations: 0.7719 MB / 0.6765 GB, free: 6.488 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.1798, allocations: 0.7096 MB / 0.6772 GB, free: 5.734 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003287/0.1802, allocations: 248.2 kB / 0.6774 GB, free: 5.457 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.1803, allocations: 71.95 kB / 0.6775 GB, free: 5.387 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002284/0.1826, allocations: 0.9676 MB / 0.6784 GB, free: 4.41 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.1826, allocations: 0 / 0.6784 GB, free: 4.41 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.405e-05/0.1827, allocations: 28 kB / 0.6785 GB, free: 4.383 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.1827, allocations: 19.98 kB / 0.6785 GB, free: 4.363 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002332/0.1851, allocations: 0.9721 MB / 0.6794 GB, free: 3.391 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.005913/0.191, allocations: 3.171 MB / 0.6825 GB, free: 72 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/0.1933, allocations: 1.234 MB / 0.6837 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001572/0.1948, allocations: 0.6251 MB / 0.6843 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.195, allocations: 16.97 kB / 0.6844 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.195, allocations: 51.56 kB / 0.6844 GB, free: 14.01 MB / 494.1 MB Notification: Performance of pre-optimization done (n=83): time 2.645e-06/0.195, allocations: 0 / 0.6844 GB, free: 14.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=83): time 0.03234/0.2273, allocations: 6.45 MB / 0.6907 GB, free: 7.527 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.666e-05/0.2274, allocations: 72.22 kB / 0.6908 GB, free: 7.445 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/0.229, allocations: 0.7907 MB / 0.6915 GB, free: 6.645 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002454/0.2293, allocations: 41.7 kB / 0.6916 GB, free: 6.598 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005687/0.2299, allocations: 437 kB / 0.692 GB, free: 6.164 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00053/0.2304, allocations: 313.3 kB / 0.6923 GB, free: 5.855 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006359/0.231, allocations: 186.9 kB / 0.6925 GB, free: 5.664 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002999/0.2313, allocations: 349.9 kB / 0.6928 GB, free: 5.316 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002339/0.2337, allocations: 0.6584 MB / 0.6935 GB, free: 4.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002539/0.2362, allocations: 0.7874 MB / 0.6942 GB, free: 3.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2737/0.5099, allocations: 4.621 MB / 0.6987 GB, free: 33.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.5099, allocations: 0 / 0.6987 GB, free: 33.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01404/0.5239, allocations: 4.045 MB / 0.7027 GB, free: 33.81 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.524, allocations: 6.656 kB / 0.7027 GB, free: 33.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.524, allocations: 2.062 kB / 0.7027 GB, free: 33.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006609/0.5306, allocations: 1.741 MB / 0.7044 GB, free: 33.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009708/0.5316, allocations: 182.9 kB / 0.7046 GB, free: 33.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02314/0.5547, allocations: 9.065 MB / 0.7134 GB, free: 30.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.556, allocations: 164.6 kB / 0.7136 GB, free: 30.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.5561, allocations: 36.59 kB / 0.7136 GB, free: 30.2 MB / 494.1 MB 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.0003854/0.5565, allocations: 225.9 kB / 0.7138 GB, free: 30.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.5567, allocations: 107.6 kB / 0.7139 GB, free: 29.96 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/0.5699, allocations: 3.782 MB / 0.7176 GB, free: 29.12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/0.5699, allocations: 8.375 kB / 0.7176 GB, free: 29.12 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.5699, allocations: 0 / 0.7176 GB, free: 29.12 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-05/0.5699, allocations: 8.75 kB / 0.7176 GB, free: 29.12 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0146/0.5845, allocations: 5.342 MB / 0.7229 GB, free: 27.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/0.5845, allocations: 0 / 0.7229 GB, free: 27.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005218/0.5851, allocations: 96.27 kB / 0.723 GB, free: 27.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006069/0.5911, allocations: 1.745 MB / 0.7247 GB, free: 26.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/0.5912, allocations: 15.72 kB / 0.7247 GB, free: 26.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01758/0.6088, allocations: 8.063 MB / 0.7325 GB, free: 21.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.6088, allocations: 0 / 0.7325 GB, free: 21.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01394/0.6228, allocations: 4.712 MB / 0.7371 GB, free: 18.51 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002975/0.6231, allocations: 193.4 kB / 0.7373 GB, free: 18.31 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/0.6232, allocations: 16 kB / 0.7373 GB, free: 18.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009454/0.6242, allocations: 96.55 kB / 0.7374 GB, free: 18.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005706/0.6247, allocations: 204.6 kB / 0.7376 GB, free: 18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.555e-05/0.6248, allocations: 20 kB / 0.7377 GB, free: 17.98 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005474/0.6254, allocations: 0.5303 MB / 0.7382 GB, free: 17.45 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6254, allocations: 4 kB / 0.7382 GB, free: 17.45 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001211/0.6266, allocations: 411.2 kB / 0.7386 GB, free: 17.05 MB / 494.1 MB 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.01444/0.641, allocations: 5.295 MB / 0.7437 GB, free: 11.74 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006259/0.6473, allocations: 2.201 MB / 0.7459 GB, free: 9.516 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.6473, allocations: 0 / 0.7459 GB, free: 9.516 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004471/0.6517, allocations: 1.44 MB / 0.7473 GB, free: 8.066 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007529/0.6525, allocations: 75.34 kB / 0.7474 GB, free: 7.988 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0366/0.6891, allocations: 14.14 MB / 0.7612 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007751/0.6899, allocations: 1.025 MB / 0.7622 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003712/0.6902, allocations: 78.31 kB / 0.7623 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005457/0.6908, allocations: 375.3 kB / 0.7626 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of SimCode: time 1.042e-06/0.6908, allocations: 0 / 0.7626 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07544/0.7662, allocations: 31.28 MB / 0.7932 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.77/16.53, allocations: 0.5938 kB / 0.7932 GB, free: 9.055 MB / 0.5294 GB " [Timeout remaining time 643] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.97661453699402] Failed to read output from testmodel.py, exit status != 0: 16.644955543000833 16.671378976 16.501985447 Calling exit ...