Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001444/0.001444, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.414/1.414, allocations: 177.2 MB / 200.1 MB, free: 9.016 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.001645/0.001645, allocations: 157.5 kB / 256.6 MB, free: 0.7578 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.4584/0.4584, allocations: 80.3 MB / 393.3 MB, free: 9.414 MB / 366.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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") [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.002884/0.002884, allocations: 87.55 kB / 0.5558 GB, free: 31.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1478, allocations: 80.12 MB / 0.6341 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.008192/0.156, allocations: 5.664 MB / 0.6396 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004853/0.1609, allocations: 1.872 MB / 0.6414 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000817/0.1617, allocations: 15.94 kB / 0.6415 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006401/0.1623, allocations: 222 kB / 0.6417 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002112/0.1644, allocations: 0.7598 MB / 0.6424 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.166, allocations: 0.6172 MB / 0.643 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001879/0.1678, allocations: 1.413 MB / 0.6444 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004227/0.1683, allocations: 212.9 kB / 0.6446 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009018/0.1692, allocations: 0.6107 MB / 0.6452 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008642/0.17, allocations: 0.6646 MB / 0.6458 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001634/0.1702, allocations: 100 kB / 0.6459 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005167/0.1707, allocations: 239.9 kB / 0.6462 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002701/0.171, allocations: 282.7 kB / 0.6464 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004995/0.1715, allocations: 0.501 MB / 0.6469 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001847/0.1733, allocations: 1.548 MB / 0.6484 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1733, allocations: 0 / 0.6484 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.482e-06/0.1733, allocations: 0 / 0.6484 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.933e-05/0.1734, allocations: 4 kB / 0.6484 GB, free: 0.8164 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.008699/0.1821, allocations: 2.53 MB / 0.6509 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1821, allocations: 8.031 kB / 0.6509 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00571/0.1878, allocations: 0.8264 MB / 0.6517 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/0.1893, allocations: 0.709 MB / 0.6524 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003826/0.1897, allocations: 319.5 kB / 0.6527 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/0.1899, allocations: 76 kB / 0.6528 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002668/0.1926, allocations: 1.069 MB / 0.6538 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.1926, allocations: 11.88 kB / 0.6538 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.632e-05/0.1927, allocations: 32 kB / 0.6539 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.1927, allocations: 20 kB / 0.6539 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002677/0.1954, allocations: 1.109 MB / 0.655 GB, free: 9.973 MB / 0.5137 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.005813/0.2012, allocations: 2.498 MB / 0.6574 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002104/0.2033, allocations: 0.8622 MB / 0.6583 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/0.205, allocations: 0.6992 MB / 0.6589 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.2051, allocations: 16.98 kB / 0.659 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.2052, allocations: 39.56 kB / 0.659 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=96): time 3.406e-06/0.2052, allocations: 0 / 0.659 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96): time 0.3257/0.5309, allocations: 6.639 MB / 0.6655 GB, free: 30.4 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.5309, allocations: 62.02 kB / 0.6655 GB, free: 30.34 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.5322, allocations: 0.8838 MB / 0.6664 GB, free: 30.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002033/0.5324, allocations: 41.14 kB / 0.6664 GB, free: 30.16 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003197/0.5327, allocations: 0.4984 MB / 0.6669 GB, free: 30.08 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003403/0.5331, allocations: 361.3 kB / 0.6673 GB, free: 29.93 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004029/0.5335, allocations: 190.3 kB / 0.6675 GB, free: 29.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.5336, allocations: 349.8 kB / 0.6678 GB, free: 29.6 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001671/0.5352, allocations: 0.7054 MB / 0.6685 GB, free: 29.6 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/0.5369, allocations: 0.8356 MB / 0.6693 GB, free: 29.42 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01954/0.5565, allocations: 4.875 MB / 0.6741 GB, free: 28.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.5565, allocations: 0.5938 kB / 0.6741 GB, free: 28.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.01449/0.571, allocations: 4.186 MB / 0.6781 GB, free: 27.2 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.571, allocations: 6.375 kB / 0.6781 GB, free: 27.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.571, allocations: 1.844 kB / 0.6781 GB, free: 27.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00668/0.5777, allocations: 1.859 MB / 0.68 GB, free: 26.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.5788, allocations: 202 kB / 0.6802 GB, free: 26.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02128/0.6001, allocations: 8.766 MB / 0.6887 GB, free: 22.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.6016, allocations: 173.7 kB / 0.6889 GB, free: 22.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.6017, allocations: 46.12 kB / 0.6889 GB, free: 22.71 MB / 0.5137 GB 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 (104): * Single equations (assignments): 103 * 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.0004108/0.6021, allocations: 245.2 kB / 0.6892 GB, free: 22.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/0.6023, allocations: 123.8 kB / 0.6893 GB, free: 22.45 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01288/0.6152, allocations: 3.97 MB / 0.6932 GB, free: 20.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/0.6152, allocations: 10 kB / 0.6932 GB, free: 20.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6152, allocations: 3.938 kB / 0.6932 GB, free: 20.69 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.258e-05/0.6152, allocations: 4.828 kB / 0.6932 GB, free: 20.69 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01417/0.6294, allocations: 4.897 MB / 0.698 GB, free: 18.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.638e-05/0.6294, allocations: 0 / 0.698 GB, free: 18.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007278/0.6302, allocations: 126.4 kB / 0.6981 GB, free: 18.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005453/0.6356, allocations: 1.736 MB / 0.6998 GB, free: 17.28 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000205/0.6358, allocations: 15.97 kB / 0.6998 GB, free: 17.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01646/0.6523, allocations: 7.755 MB / 0.7074 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.6523, allocations: 0 / 0.7074 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0146/0.6669, allocations: 4.945 MB / 0.7122 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003487/0.6672, allocations: 127.8 kB / 0.7123 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002736/0.6675, allocations: 16 kB / 0.7123 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/0.6687, allocations: 107.9 kB / 0.7124 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007017/0.6694, allocations: 224.7 kB / 0.7126 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.737e-05/0.6695, allocations: 27.98 kB / 0.7127 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006265/0.6701, allocations: 0.5887 MB / 0.7132 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.6701, allocations: 0 / 0.7132 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001291/0.6714, allocations: 440.2 kB / 0.7137 GB, free: 2.988 MB / 0.5137 GB 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.0002585/0.6717, allocations: 132.8 kB / 0.7138 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006311/0.678, allocations: 2.353 MB / 0.7161 GB, free: 500 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.678, allocations: 0.7656 kB / 0.7161 GB, free: 500 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00498/0.683, allocations: 1.517 MB / 0.7176 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009454/0.6839, allocations: 92.41 kB / 0.7177 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004528/0.6884, allocations: 1.977 MB / 0.7196 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006116/0.689, allocations: 0.4997 MB / 0.7201 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003656/0.6894, allocations: 91.61 kB / 0.7202 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002326/0.6896, allocations: 68.48 kB / 0.7202 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of SimCode: time 6.81e-07/0.6896, allocations: 0 / 0.7202 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of Templates: time 0.04226/0.7319, allocations: 24.53 MB / 0.7442 GB, free: 3.734 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.6537224049679935] Failed to read output from testmodel.py, exit status != 0: 0.7405255630146712 0.763414765 0.5856120330000001 Calling exit ...