Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1067/0.1067, allocations: 12.37 MB / 31.2 MB, free: 24 kB / 19.63 MB " [Timeout remaining time 180] 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.00195/0.00195, allocations: 123.5 kB / 37.25 MB, free: 1.242 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 207.6 MB / 250.8 MB, free: 7.371 MB / 190.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.001776/0.001776, allocations: 224.4 kB / 306.1 MB, free: 488 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3415/0.3415, allocations: 79.73 MB / 440.9 MB, free: 12.46 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 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.004571/0.004571, allocations: 145.1 kB / 0.5875 GB, free: 7.617 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3534, allocations: 71.95 MB / 0.6578 GB, free: 2.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.006716/0.3601, allocations: 5.841 MB / 0.6635 GB, free: 14.4 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004156/0.3642, allocations: 1.724 MB / 0.6652 GB, free: 13.17 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006414/0.3649, allocations: 9.031 kB / 0.6652 GB, free: 13.17 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006202/0.3655, allocations: 201.9 kB / 0.6654 GB, free: 13.06 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002169/0.3677, allocations: 0.7486 MB / 0.6661 GB, free: 12.56 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.3693, allocations: 0.5639 MB / 0.6667 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002367/0.3717, allocations: 1.256 MB / 0.6679 GB, free: 11.63 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004188/0.3721, allocations: 185.6 kB / 0.6681 GB, free: 11.52 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008015/0.3729, allocations: 0.535 MB / 0.6686 GB, free: 11.26 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008807/0.3738, allocations: 0.6497 MB / 0.6692 GB, free: 10.95 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001539/0.374, allocations: 88.38 kB / 0.6693 GB, free: 10.95 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005834/0.3746, allocations: 228.1 kB / 0.6695 GB, free: 10.9 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002783/0.3748, allocations: 249.7 kB / 0.6698 GB, free: 10.73 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005635/0.3754, allocations: 0.5412 MB / 0.6703 GB, free: 10.37 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001832/0.3772, allocations: 1.365 MB / 0.6716 GB, free: 9.738 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3772, allocations: 0 / 0.6716 GB, free: 9.738 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3772, allocations: 0 / 0.6716 GB, free: 9.738 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.956e-05/0.3773, allocations: 5.031 kB / 0.6716 GB, free: 9.734 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.008219/0.3855, allocations: 2.308 MB / 0.6739 GB, free: 8.379 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.3855, allocations: 9.781 kB / 0.6739 GB, free: 8.379 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001665/0.3857, allocations: 112.7 kB / 0.674 GB, free: 8.281 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005262/0.391, allocations: 0.7626 MB / 0.6747 GB, free: 7.969 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001541/0.3925, allocations: 0.6571 MB / 0.6754 GB, free: 7.422 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003632/0.3929, allocations: 302.9 kB / 0.6757 GB, free: 7.133 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/0.393, allocations: 64.44 kB / 0.6757 GB, free: 7.113 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002181/0.3952, allocations: 0.961 MB / 0.6767 GB, free: 6.566 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.3952, allocations: 1.062 kB / 0.6767 GB, free: 6.566 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.191e-05/0.3953, allocations: 28.56 kB / 0.6767 GB, free: 6.543 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.3953, allocations: 20.84 kB / 0.6767 GB, free: 6.539 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002266/0.3976, allocations: 0.9698 MB / 0.6777 GB, free: 6.082 MB / 462.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.006418/0.404, allocations: 3.124 MB / 0.6807 GB, free: 3.598 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002051/0.4061, allocations: 0.7722 MB / 0.6815 GB, free: 3.207 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001576/0.4076, allocations: 0.6235 MB / 0.6821 GB, free: 2.898 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/0.4078, allocations: 21.5 kB / 0.6821 GB, free: 2.887 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/0.4078, allocations: 46.58 kB / 0.6822 GB, free: 2.836 MB / 462.1 MB Notification: Performance of pre-optimization done (n=82): time 4.95e-06/0.4078, allocations: 1.5 kB / 0.6822 GB, free: 2.836 MB / 462.1 MB Notification: Performance of matching and sorting (n=82): time 0.02785/0.4357, allocations: 6.655 MB / 0.6887 GB, free: 15.57 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.4357, allocations: 67.75 kB / 0.6887 GB, free: 15.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.437, allocations: 0.79 MB / 0.6895 GB, free: 15.04 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000168/0.4372, allocations: 40.89 kB / 0.6895 GB, free: 15 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003776/0.4375, allocations: 439.9 kB / 0.6899 GB, free: 14.61 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003833/0.4379, allocations: 317.2 kB / 0.6902 GB, free: 14.33 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003773/0.4383, allocations: 181.2 kB / 0.6904 GB, free: 14.22 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.4385, allocations: 346.2 kB / 0.6908 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001532/0.44, allocations: 0.6516 MB / 0.6914 GB, free: 13.56 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/0.4416, allocations: 0.7712 MB / 0.6921 GB, free: 13.11 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01869/0.4603, allocations: 4.497 MB / 0.6965 GB, free: 10.48 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.4603, allocations: 0 / 0.6965 GB, free: 10.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01408/0.4744, allocations: 4.087 MB / 0.7005 GB, free: 6.375 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/0.4744, allocations: 11.94 kB / 0.7005 GB, free: 6.363 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.4744, allocations: 0 / 0.7005 GB, free: 6.363 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006613/0.4811, allocations: 1.795 MB / 0.7023 GB, free: 4.562 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009213/0.482, allocations: 159.8 kB / 0.7024 GB, free: 4.406 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02355/0.5055, allocations: 9.238 MB / 0.7115 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.5071, allocations: 155.3 kB / 0.7116 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.5072, allocations: 36 kB / 0.7116 GB, free: 10.86 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order31.delta:VARIABLE(flow=false start = order31.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 (95): * Single equations (assignments): 94 * 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.000517/0.5077, allocations: 221.7 kB / 0.7119 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002303/0.5079, allocations: 107.3 kB / 0.712 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0135/0.5214, allocations: 3.805 MB / 0.7157 GB, free: 6.707 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.975e-05/0.5215, allocations: 8 kB / 0.7157 GB, free: 6.699 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5215, allocations: 3.938 kB / 0.7157 GB, free: 6.695 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-05/0.5215, allocations: 3.984 kB / 0.7157 GB, free: 6.691 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01613/0.5376, allocations: 5.293 MB / 0.7209 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/0.5376, allocations: 0 / 0.7209 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005949/0.5382, allocations: 83.89 kB / 0.7209 GB, free: 1.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006258/0.5445, allocations: 1.745 MB / 0.7226 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001457/0.5446, allocations: 20 kB / 0.7227 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02009/0.5647, allocations: 7.97 MB / 0.7304 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.5647, allocations: 3.984 kB / 0.7304 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01568/0.5804, allocations: 4.678 MB / 0.735 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005724/0.581, allocations: 123.1 kB / 0.7351 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002321/0.5812, allocations: 12 kB / 0.7351 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.5822, allocations: 95.89 kB / 0.7352 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007338/0.583, allocations: 204.6 kB / 0.7354 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.64e-05/0.583, allocations: 20 kB / 0.7355 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009155/0.584, allocations: 0.5382 MB / 0.736 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.584, allocations: 4 kB / 0.736 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001676/0.5856, allocations: 407.7 kB / 0.7364 GB, free: 1.211 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.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 (49): * Single equations (assignments): 48 * 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.01576/0.6014, allocations: 5.254 MB / 0.7415 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006749/0.6081, allocations: 2.22 MB / 0.7437 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6082, allocations: 0 / 0.7437 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004807/0.613, allocations: 1.452 MB / 0.7451 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008117/0.6138, allocations: 79.28 kB / 0.7452 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0387/0.6525, allocations: 14.12 MB / 0.759 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007146/0.6532, allocations: 1.033 MB / 0.76 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003526/0.6535, allocations: 78.19 kB / 0.76 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005257/0.6541, allocations: 371.3 kB / 0.7604 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of SimCode: time 9.42e-07/0.6541, allocations: 0 / 0.7604 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07877/0.7328, allocations: 32.2 MB / 0.7918 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.09/17.83, allocations: 0 / 0.7918 GB, free: 8.133 MB / 0.5606 GB " [Timeout remaining time 642] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 40.583244394976646] Failed to read output from testmodel.py, exit status != 0: 17.961577999172732 17.978229629 17.597527447 Calling exit ...