Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.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.001339/0.001339, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.474/1.474, allocations: 230.6 MB / 252.6 MB, free: 8.324 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.001691/0.001691, allocations: 215.1 kB / 309.2 MB, free: 3.156 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.4614/0.4614, allocations: 79.73 MB / 445.4 MB, free: 14.88 MB / 318.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_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",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.002667/0.002667, allocations: 87.88 kB / 0.5929 GB, free: 13.98 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1324, allocations: 73.3 MB / 0.6645 GB, free: 4.574 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.008016/0.1404, allocations: 6.447 MB / 0.6708 GB, free: 14.1 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00412/0.1446, allocations: 1.966 MB / 0.6727 GB, free: 12.12 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007383/0.1453, allocations: 15.94 kB / 0.6728 GB, free: 12.11 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006624/0.146, allocations: 222 kB / 0.673 GB, free: 11.89 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002121/0.1481, allocations: 0.7744 MB / 0.6737 GB, free: 11.12 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.1496, allocations: 0.6343 MB / 0.6743 GB, free: 10.49 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001985/0.1516, allocations: 1.413 MB / 0.6757 GB, free: 9.07 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004825/0.1521, allocations: 224.8 kB / 0.6759 GB, free: 8.84 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009989/0.1531, allocations: 0.6068 MB / 0.6765 GB, free: 8.23 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.1542, allocations: 0.731 MB / 0.6772 GB, free: 7.496 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002394/0.1544, allocations: 100 kB / 0.6773 GB, free: 7.398 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000572/0.155, allocations: 255.8 kB / 0.6776 GB, free: 7.148 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002822/0.1553, allocations: 274.8 kB / 0.6778 GB, free: 6.879 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000703/0.156, allocations: 0.6213 MB / 0.6785 GB, free: 6.254 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00197/0.1579, allocations: 1.532 MB / 0.68 GB, free: 4.715 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1579, allocations: 4 kB / 0.68 GB, free: 4.711 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1579, allocations: 0 / 0.68 GB, free: 4.711 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.283e-05/0.158, allocations: 0 / 0.68 GB, free: 4.711 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00876/0.1668, allocations: 2.538 MB / 0.6824 GB, free: 2.133 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.1668, allocations: 11.98 kB / 0.6824 GB, free: 2.121 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002153/0.167, allocations: 130.8 kB / 0.6826 GB, free: 1.984 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005344/0.1724, allocations: 0.8186 MB / 0.6834 GB, free: 1.164 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.1738, allocations: 0.7207 MB / 0.6841 GB, free: 408 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000352/0.1742, allocations: 311.6 kB / 0.6844 GB, free: 48 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002015/0.1744, allocations: 75.98 kB / 0.6844 GB, free: 15.97 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/0.1769, allocations: 1.073 MB / 0.6855 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.1769, allocations: 7.938 kB / 0.6855 GB, free: 14.88 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.595e-05/0.177, allocations: 28 kB / 0.6855 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.531e-05/0.177, allocations: 20 kB / 0.6855 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002765/0.1798, allocations: 1.12 MB / 0.6866 GB, free: 13.71 MB / 494.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.006725/0.1865, allocations: 3.375 MB / 0.6899 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/0.1886, allocations: 0.8734 MB / 0.6908 GB, free: 9.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001665/0.1902, allocations: 0.6953 MB / 0.6915 GB, free: 8.617 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000131/0.1904, allocations: 24.97 kB / 0.6915 GB, free: 8.594 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.1904, allocations: 43.56 kB / 0.6915 GB, free: 8.543 MB / 494.1 MB Notification: Performance of pre-optimization done (n=96): time 2.505e-06/0.1904, allocations: 0 / 0.6915 GB, free: 8.543 MB / 494.1 MB Notification: Performance of matching and sorting (n=96): time 0.02706/0.2175, allocations: 6.65 MB / 0.698 GB, free: 1.879 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.2175, allocations: 60.41 kB / 0.6981 GB, free: 1.809 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.2189, allocations: 0.8924 MB / 0.699 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001567/0.219, allocations: 45.7 kB / 0.699 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004437/0.2195, allocations: 0.4974 MB / 0.6995 GB, free: 352 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2615/0.481, allocations: 352 kB / 0.6998 GB, free: 33.85 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006465/0.4816, allocations: 201.1 kB / 0.7 GB, free: 33.83 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.148e-05/0.4817, allocations: 349.4 kB / 0.7003 GB, free: 33.53 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/0.4832, allocations: 0.7101 MB / 0.701 GB, free: 33.53 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/0.4848, allocations: 0.8404 MB / 0.7019 GB, free: 33.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.019/0.5038, allocations: 4.894 MB / 0.7066 GB, free: 33.29 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.5038, allocations: 0.9375 kB / 0.7066 GB, free: 33.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01429/0.5181, allocations: 4.228 MB / 0.7108 GB, free: 32.97 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.5181, allocations: 11.34 kB / 0.7108 GB, free: 32.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.5181, allocations: 2.125 kB / 0.7108 GB, free: 32.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006551/0.5247, allocations: 1.862 MB / 0.7126 GB, free: 32.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.5257, allocations: 212.4 kB / 0.7128 GB, free: 32.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02097/0.5467, allocations: 8.991 MB / 0.7216 GB, free: 28.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.5483, allocations: 178.5 kB / 0.7218 GB, free: 28.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/0.5484, allocations: 38.41 kB / 0.7218 GB, free: 28.5 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_Inputs_Outputs1.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 (108): * Single equations (assignments): 107 * 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.0005276/0.5489, allocations: 256.7 kB / 0.722 GB, free: 28.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/0.5492, allocations: 123.9 kB / 0.7222 GB, free: 28.24 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/0.5619, allocations: 3.971 MB / 0.726 GB, free: 27.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.5619, allocations: 9.281 kB / 0.726 GB, free: 27.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5619, allocations: 1.156 kB / 0.726 GB, free: 27.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/0.5619, allocations: 3.984 kB / 0.726 GB, free: 27.09 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01433/0.5763, allocations: 5.565 MB / 0.7315 GB, free: 23.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/0.5763, allocations: 0 / 0.7315 GB, free: 23.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006504/0.5769, allocations: 132.7 kB / 0.7316 GB, free: 23.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005345/0.5823, allocations: 1.742 MB / 0.7333 GB, free: 22.96 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.5824, allocations: 15.94 kB / 0.7333 GB, free: 22.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01655/0.5989, allocations: 7.969 MB / 0.7411 GB, free: 16.22 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.5989, allocations: 1.688 kB / 0.7411 GB, free: 16.22 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01357/0.6125, allocations: 4.942 MB / 0.7459 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000403/0.6129, allocations: 137.5 kB / 0.7461 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000355/0.6133, allocations: 16 kB / 0.7461 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.6144, allocations: 107.9 kB / 0.7462 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000743/0.6152, allocations: 230.2 kB / 0.7464 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/0.6153, allocations: 23.98 kB / 0.7464 GB, free: 10.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007348/0.616, allocations: 0.593 MB / 0.747 GB, free: 10.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.616, allocations: 0 / 0.747 GB, free: 10.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001373/0.6174, allocations: 442.9 kB / 0.7474 GB, free: 9.746 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.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 (63): * Single equations (assignments): 62 * 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.01377/0.6312, allocations: 5.521 MB / 0.7528 GB, free: 4.195 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006394/0.6376, allocations: 2.357 MB / 0.7551 GB, free: 1.828 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.6376, allocations: 0 / 0.7551 GB, free: 1.828 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00433/0.6419, allocations: 1.526 MB / 0.7566 GB, free: 296 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008931/0.6428, allocations: 82.11 kB / 0.7567 GB, free: 216 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04198/0.6848, allocations: 15.14 MB / 0.7715 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009394/0.6857, allocations: 1.084 MB / 0.7725 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004062/0.6861, allocations: 98.59 kB / 0.7726 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007099/0.6869, allocations: 447.3 kB / 0.7731 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of SimCode: time 1.102e-06/0.6869, allocations: 0 / 0.7731 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08395/0.7708, allocations: 34.6 MB / 0.8068 GB, free: 12.84 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.41/19.18, allocations: 3.438 kB / 0.8068 GB, free: 12.84 MB / 0.545 GB " [Timeout remaining time 641] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.742670042905957] Failed to read output from testmodel.py, exit status != 0: 19.321936858119443 19.346154638 19.183597218 Calling exit ...