Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.001632/0.001632, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.561/1.561, allocations: 230.6 MB / 252.7 MB, free: 14.25 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.001878/0.001878, allocations: 211.2 kB / 309.2 MB, free: 3.129 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.635/0.635, allocations: 107.3 MB / 473 MB, free: 29.89 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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.Order3test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_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.00257/0.00257, allocations: 82.73 kB / 0.6332 GB, free: 29.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1397, allocations: 80.16 MB / 0.7115 GB, free: 7.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.007899/0.1476, allocations: 5.726 MB / 0.7171 GB, free: 1.766 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004476/0.1521, allocations: 1.884 MB / 0.719 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.1532, allocations: 15.94 kB / 0.719 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008812/0.1541, allocations: 218 kB / 0.7192 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002579/0.1566, allocations: 0.7596 MB / 0.7199 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.1584, allocations: 0.6181 MB / 0.7205 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002323/0.1607, allocations: 1.444 MB / 0.7219 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005159/0.1612, allocations: 216.8 kB / 0.7221 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.1622, allocations: 0.6185 MB / 0.7228 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.1633, allocations: 0.6724 MB / 0.7234 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003203/0.1636, allocations: 100 kB / 0.7235 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006866/0.1643, allocations: 243.9 kB / 0.7237 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003295/0.1647, allocations: 282.7 kB / 0.724 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007071/0.1654, allocations: 0.5088 MB / 0.7245 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002188/0.1676, allocations: 1.567 MB / 0.726 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1676, allocations: 0 / 0.726 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1676, allocations: 0 / 0.726 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.828e-05/0.1676, allocations: 0 / 0.726 GB, free: 8.602 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.009497/0.1771, allocations: 2.553 MB / 0.7285 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.1772, allocations: 8.031 kB / 0.7285 GB, free: 6 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002934/0.1775, allocations: 130.8 kB / 0.7287 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00561/0.1831, allocations: 0.8264 MB / 0.7295 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/0.1852, allocations: 0.7248 MB / 0.7302 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004042/0.1856, allocations: 315.5 kB / 0.7305 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002597/0.1858, allocations: 83.94 kB / 0.7306 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002827/0.1886, allocations: 1.077 MB / 0.7316 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.1887, allocations: 0 / 0.7316 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.1888, allocations: 35.98 kB / 0.7316 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/0.1888, allocations: 16 kB / 0.7317 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002839/0.1916, allocations: 1.12 MB / 0.7327 GB, free: 1.57 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.00661/0.1982, allocations: 2.612 MB / 0.7353 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002272/0.2005, allocations: 0.8734 MB / 0.7362 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001727/0.2022, allocations: 0.7031 MB / 0.7368 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.2023, allocations: 13 kB / 0.7369 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.2024, allocations: 47.41 kB / 0.7369 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=97): time 3.015e-06/0.2024, allocations: 0 / 0.7369 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of matching and sorting (n=97): time 0.02735/0.2297, allocations: 6.494 MB / 0.7432 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.248e-05/0.2298, allocations: 68.41 kB / 0.7433 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/0.2315, allocations: 0.9087 MB / 0.7442 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002675/0.2318, allocations: 41.7 kB / 0.7442 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000493/0.2323, allocations: 0.5131 MB / 0.7447 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000607/0.2329, allocations: 356.9 kB / 0.7451 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006127/0.2335, allocations: 198.9 kB / 0.7453 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.2337, allocations: 357.9 kB / 0.7456 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00197/0.2357, allocations: 0.7131 MB / 0.7463 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002024/0.2377, allocations: 0.8579 MB / 0.7471 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02081/0.2585, allocations: 4.935 MB / 0.752 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.529e-05/0.2585, allocations: 4 kB / 0.752 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01522/0.2737, allocations: 4.25 MB / 0.7561 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.2738, allocations: 10.28 kB / 0.7561 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.2738, allocations: 8 kB / 0.7561 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006916/0.2807, allocations: 1.804 MB / 0.7579 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.2819, allocations: 211.7 kB / 0.7581 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02465/0.3065, allocations: 9.017 MB / 0.7669 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/0.3082, allocations: 183.2 kB / 0.7671 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002486/0.3085, allocations: 39.98 kB / 0.7671 GB, free: 14.03 MB / 0.545 GB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_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 (111): * Single equations (assignments): 110 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.000797/0.3093, allocations: 255.3 kB / 0.7674 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004197/0.3097, allocations: 127.1 kB / 0.7675 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0144/0.3241, allocations: 3.983 MB / 0.7714 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.647e-05/0.3241, allocations: 12 kB / 0.7714 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.3241, allocations: 0 / 0.7714 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.937e-05/0.3242, allocations: 3.984 kB / 0.7714 GB, free: 9.633 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01672/0.3409, allocations: 4.973 MB / 0.7762 GB, free: 4.609 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.3409, allocations: 4 kB / 0.7762 GB, free: 4.605 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008444/0.3417, allocations: 131.8 kB / 0.7764 GB, free: 4.477 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006366/0.3481, allocations: 1.745 MB / 0.7781 GB, free: 2.727 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001679/0.3483, allocations: 19.94 kB / 0.7781 GB, free: 2.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01991/0.3682, allocations: 7.771 MB / 0.7857 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.3682, allocations: 3.984 kB / 0.7857 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01655/0.3848, allocations: 4.937 MB / 0.7905 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003736/0.3851, allocations: 134.9 kB / 0.7906 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000275/0.3854, allocations: 24 kB / 0.7907 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.3866, allocations: 111.8 kB / 0.7908 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007027/0.3873, allocations: 224.5 kB / 0.791 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.722e-05/0.3873, allocations: 31.98 kB / 0.791 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008367/0.3882, allocations: 0.609 MB / 0.7916 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.3882, allocations: 0 / 0.7916 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001342/0.3895, allocations: 439.7 kB / 0.792 GB, free: 4.289 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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 (64): * Single equations (assignments): 63 * 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.01706/0.4066, allocations: 5.519 MB / 0.7974 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007864/0.4144, allocations: 2.382 MB / 0.7997 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.4144, allocations: 0 / 0.7997 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005176/0.4196, allocations: 1.53 MB / 0.8012 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.4206, allocations: 90.55 kB / 0.8013 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3396/0.7603, allocations: 15.35 MB / 0.8163 GB, free: 93.62 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006895/0.761, allocations: 0.5122 MB / 0.8168 GB, free: 93.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005185/0.7615, allocations: 87.44 kB / 0.8169 GB, free: 93.48 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005308/0.762, allocations: 450.3 kB / 0.8173 GB, free: 93.48 MB / 0.5762 GB Notification: Performance of SimCode: time 1.423e-06/0.762, allocations: 0.9062 kB / 0.8173 GB, free: 93.48 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07062/0.8326, allocations: 36 MB / 0.8525 GB, free: 71.97 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.73, allocations: 3.266 kB / 0.8525 GB, free: 71.97 MB / 0.5762 GB " [Timeout remaining time 645] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 30.182247696910053] Failed to read output from testmodel.py, exit status != 0: 14.868996506091207 14.887272466 14.716099886 Calling exit ...