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.0007679/0.0007679, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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 0.9069/0.9069, allocations: 177.2 MB / 200.2 MB, free: 5.949 MB / 186.7 MB " [Timeout remaining time 179] 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.001103/0.001103, allocations: 156.6 kB / 256.7 MB, free: 13.36 MB / 250.7 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.2618/0.2618, allocations: 80.36 MB / 393.5 MB, free: 2.371 MB / 314.7 MB " [Timeout remaining time 180] 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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.5562 GB, free: 11.72 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.984e-05/3.167e-05, allocations: 9.234 kB / 0.5562 GB, free: 11.71 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.004837/0.004869, allocations: 5.711 MB / 0.5618 GB, free: 5.969 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003419/0.008287, allocations: 1.888 MB / 0.5636 GB, free: 4.078 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006561/0.008944, allocations: 15.94 kB / 0.5636 GB, free: 4.062 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004847/0.009428, allocations: 229.9 kB / 0.5639 GB, free: 3.836 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001562/0.01099, allocations: 0.7713 MB / 0.5646 GB, free: 3.062 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.01205, allocations: 0.637 MB / 0.5652 GB, free: 2.434 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.01337, allocations: 1.471 MB / 0.5667 GB, free: 0.957 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003584/0.01372, allocations: 228.7 kB / 0.5669 GB, free: 0.7227 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2207/0.2344, allocations: 0.8335 MB / 0.5677 GB, free: 16.14 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009837/0.2354, allocations: 0.5695 MB / 0.5683 GB, free: 16.14 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002709/0.2356, allocations: 101.3 kB / 0.5683 GB, free: 16.14 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005317/0.2362, allocations: 243.7 kB / 0.5686 GB, free: 16.14 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.2364, allocations: 287.2 kB / 0.5689 GB, free: 16.14 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000415/0.2368, allocations: 420 kB / 0.5693 GB, free: 16.14 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002007/0.2388, allocations: 1.58 MB / 0.5708 GB, free: 16.04 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2388, allocations: 1.062 kB / 0.5708 GB, free: 16.04 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2388, allocations: 0.9688 kB / 0.5708 GB, free: 16.04 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.161e-05/0.2388, allocations: 0 / 0.5708 GB, free: 16.04 MB / 442.7 MB 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.005447/0.2443, allocations: 2.539 MB / 0.5733 GB, free: 15.21 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.2443, allocations: 8.906 kB / 0.5733 GB, free: 15.21 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002915/0.2472, allocations: 0.8259 MB / 0.5741 GB, free: 15.12 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.2485, allocations: 0.7216 MB / 0.5748 GB, free: 14.81 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002199/0.2487, allocations: 312.6 kB / 0.5751 GB, free: 14.55 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.2488, allocations: 84.69 kB / 0.5752 GB, free: 14.55 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.2506, allocations: 1.073 MB / 0.5762 GB, free: 14.48 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.2506, allocations: 0 / 0.5762 GB, free: 14.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.58e-05/0.2506, allocations: 31.06 kB / 0.5763 GB, free: 14.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/0.2507, allocations: 17.88 kB / 0.5763 GB, free: 14.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/0.2524, allocations: 1.119 MB / 0.5774 GB, free: 14.24 MB / 442.7 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.004239/0.2567, allocations: 2.517 MB / 0.5798 GB, free: 13.04 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.2582, allocations: 0.877 MB / 0.5807 GB, free: 12.72 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.2593, allocations: 0.7081 MB / 0.5814 GB, free: 12.47 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.001e-05/0.2594, allocations: 17.88 kB / 0.5814 GB, free: 12.46 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.2594, allocations: 39.16 kB / 0.5814 GB, free: 12.42 MB / 442.7 MB Notification: Performance of pre-optimization done (n=97): time 2.154e-06/0.2594, allocations: 0 / 0.5814 GB, free: 12.42 MB / 442.7 MB Notification: Performance of matching and sorting (n=97): time 0.01444/0.2739, allocations: 6.504 MB / 0.5878 GB, free: 11.15 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.2739, allocations: 61.97 kB / 0.5878 GB, free: 11.09 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.275, allocations: 0.8943 MB / 0.5887 GB, free: 10.58 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001451/0.2751, allocations: 41.2 kB / 0.5887 GB, free: 10.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.2753, allocations: 0.5132 MB / 0.5892 GB, free: 10.08 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002804/0.2756, allocations: 350.9 kB / 0.5896 GB, free: 9.781 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002503/0.2758, allocations: 192.5 kB / 0.5898 GB, free: 9.664 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.884e-05/0.2759, allocations: 351.8 kB / 0.5901 GB, free: 9.324 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.2769, allocations: 0.7154 MB / 0.5908 GB, free: 8.969 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.278, allocations: 0.8475 MB / 0.5916 GB, free: 8.492 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0103/0.2883, allocations: 4.916 MB / 0.5964 GB, free: 6.121 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.2884, allocations: 0 / 0.5964 GB, free: 6.121 MB / 442.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.007446/0.2958, allocations: 4.273 MB / 0.6006 GB, free: 4.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.2958, allocations: 12.97 kB / 0.6006 GB, free: 4.066 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.2958, allocations: 2.594 kB / 0.6006 GB, free: 4.066 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003202/0.299, allocations: 1.791 MB / 0.6024 GB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006469/0.2997, allocations: 203.1 kB / 0.6026 GB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0129/0.3126, allocations: 8.975 MB / 0.6113 GB, free: 9.578 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.3138, allocations: 190.7 kB / 0.6115 GB, free: 9.395 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.396e-05/0.3139, allocations: 43.42 kB / 0.6115 GB, free: 9.355 MB / 458.7 MB 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 (107): * Single equations (assignments): 106 * 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.0004866/0.3143, allocations: 241.1 kB / 0.6118 GB, free: 9.125 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.3145, allocations: 127.2 kB / 0.6119 GB, free: 9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007059/0.3216, allocations: 3.978 MB / 0.6158 GB, free: 5.035 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.3216, allocations: 11.47 kB / 0.6158 GB, free: 5.027 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3216, allocations: 4 kB / 0.6158 GB, free: 5.023 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.3216, allocations: 3.984 kB / 0.6158 GB, free: 5.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008365/0.3299, allocations: 4.875 MB / 0.6206 GB, free: 164 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.33, allocations: 4 kB / 0.6206 GB, free: 160 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004122/0.3304, allocations: 130.4 kB / 0.6207 GB, free: 36 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003237/0.3336, allocations: 1.742 MB / 0.6224 GB, free: 14.29 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.3337, allocations: 23.92 kB / 0.6224 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01124/0.3449, allocations: 7.75 MB / 0.63 GB, free: 6.422 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.345, allocations: 0 / 0.63 GB, free: 6.422 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00892/0.3539, allocations: 4.935 MB / 0.6348 GB, free: 1.496 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004554/0.3543, allocations: 127 kB / 0.6349 GB, free: 1.371 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.3545, allocations: 24 kB / 0.6349 GB, free: 1.348 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005925/0.355, allocations: 108.7 kB / 0.6351 GB, free: 1.242 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005749/0.3556, allocations: 231.8 kB / 0.6353 GB, free: 1.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.284e-05/0.3557, allocations: 28 kB / 0.6353 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006166/0.3563, allocations: 0.6008 MB / 0.6359 GB, free: 392 kB / 474.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3563, allocations: 0 / 0.6359 GB, free: 392 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.001138/0.3574, allocations: 443.6 kB / 0.6363 GB, free: 15.95 MB / 490.7 MB 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.0002911/0.3577, allocations: 131.4 kB / 0.6364 GB, free: 15.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004114/0.3618, allocations: 2.382 MB / 0.6388 GB, free: 13.45 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3618, allocations: 0 / 0.6388 GB, free: 13.45 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002674/0.3645, allocations: 1.521 MB / 0.6402 GB, free: 11.93 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006913/0.3652, allocations: 88.42 kB / 0.6403 GB, free: 11.84 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003045/0.3682, allocations: 2.028 MB / 0.6423 GB, free: 9.785 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.3686, allocations: 0.502 MB / 0.6428 GB, free: 9.242 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002595/0.3689, allocations: 84.47 kB / 0.6429 GB, free: 9.16 MB / 490.7 MB Notification: Performance of SimCode: time 1.664e-06/0.3689, allocations: 3.938 kB / 0.6429 GB, free: 9.156 MB / 490.7 MB Notification: Performance of Templates: time 0.02656/0.3954, allocations: 20.92 MB / 0.6633 GB, free: 4.246 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile [Timeout 660] (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 & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.801505094394088] Failed to read output from testmodel.py, exit status != 0: 0.4024290768429637 0.413137707 0.17229992900000002 Calling exit ...