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.001401/0.001401, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.408/1.408, allocations: 177.2 MB / 199.4 MB, free: 8.43 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.001908/0.001908, allocations: 153 kB / 256 MB, free: 4.324 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.6454/0.6454, allocations: 80.36 MB / 392.7 MB, free: 29.65 MB / 334.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: 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: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.5555 GB, free: 14.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.969e-05/3.174e-05, allocations: 6.219 kB / 0.5555 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.006982/0.007013, allocations: 5.669 MB / 0.561 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004441/0.01145, allocations: 1.872 MB / 0.5628 GB, free: 9.066 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/0.0127, allocations: 20.03 kB / 0.5629 GB, free: 9.059 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007475/0.01345, allocations: 221.5 kB / 0.5631 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002633/0.01608, allocations: 0.7665 MB / 0.5638 GB, free: 8.422 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001759/0.01784, allocations: 0.6293 MB / 0.5644 GB, free: 8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002758/0.0206, allocations: 1.458 MB / 0.5659 GB, free: 7.086 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000664/0.02126, allocations: 219.1 kB / 0.5661 GB, free: 6.945 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001917/0.02318, allocations: 0.8217 MB / 0.5669 GB, free: 6.422 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000907/0.02409, allocations: 0.5739 MB / 0.5674 GB, free: 6.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002498/0.02434, allocations: 105.5 kB / 0.5675 GB, free: 6.066 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008229/0.02516, allocations: 244 kB / 0.5678 GB, free: 6.004 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000252/0.02541, allocations: 282.3 kB / 0.568 GB, free: 5.766 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000537/0.02595, allocations: 412.2 kB / 0.5684 GB, free: 5.516 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001706/0.02766, allocations: 1.563 MB / 0.5699 GB, free: 4.379 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.02766, allocations: 1.344 kB / 0.5699 GB, free: 4.379 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.02767, allocations: 0 / 0.5699 GB, free: 4.379 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.99e-05/0.02769, allocations: 0 / 0.5699 GB, free: 4.379 MB / 430.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.00865/0.03634, allocations: 2.521 MB / 0.5724 GB, free: 2.832 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/0.03639, allocations: 9.156 kB / 0.5724 GB, free: 2.832 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005656/0.04205, allocations: 0.8166 MB / 0.5732 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.04344, allocations: 0.7256 MB / 0.5739 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002693/0.04371, allocations: 307.6 kB / 0.5742 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.04387, allocations: 79.12 kB / 0.5743 GB, free: 1.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002375/0.04624, allocations: 1.07 MB / 0.5753 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.04626, allocations: 0 / 0.5753 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.961e-05/0.04636, allocations: 30.59 kB / 0.5754 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.04639, allocations: 22.38 kB / 0.5754 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002659/0.04904, allocations: 1.116 MB / 0.5765 GB, free: 432 kB / 430.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.006155/0.0552, allocations: 2.496 MB / 0.5789 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002234/0.05743, allocations: 0.8769 MB / 0.5798 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001804/0.05924, allocations: 0.6914 MB / 0.5804 GB, free: 12.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.05935, allocations: 13 kB / 0.5805 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.05939, allocations: 47.5 kB / 0.5805 GB, free: 12.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 2.665e-06/0.05939, allocations: 4 kB / 0.5805 GB, free: 12.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.03024/0.08963, allocations: 6.634 MB / 0.587 GB, free: 5.711 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.08969, allocations: 68.33 kB / 0.5871 GB, free: 5.633 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.09104, allocations: 0.8761 MB / 0.5879 GB, free: 4.738 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002168/0.09125, allocations: 45.7 kB / 0.5879 GB, free: 4.688 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004597/0.09171, allocations: 0.5091 MB / 0.5884 GB, free: 4.172 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000407/0.09212, allocations: 345 kB / 0.5888 GB, free: 3.832 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004184/0.09254, allocations: 194.8 kB / 0.589 GB, free: 3.637 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.09273, allocations: 345.9 kB / 0.5893 GB, free: 3.293 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001855/0.09458, allocations: 0.7053 MB / 0.59 GB, free: 2.586 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001941/0.09652, allocations: 0.8306 MB / 0.5908 GB, free: 1.727 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0212/0.1177, allocations: 4.884 MB / 0.5956 GB, free: 12.81 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.1177, allocations: 0 / 0.5956 GB, free: 12.81 MB / 462.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.01577/0.1335, allocations: 4.18 MB / 0.5996 GB, free: 8.613 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.1335, allocations: 8 kB / 0.5997 GB, free: 8.605 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.1335, allocations: 0 / 0.5997 GB, free: 8.605 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007209/0.1408, allocations: 1.862 MB / 0.6015 GB, free: 6.738 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.1419, allocations: 195.8 kB / 0.6017 GB, free: 6.547 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02464/0.1666, allocations: 8.769 MB / 0.6102 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/0.1683, allocations: 183.2 kB / 0.6104 GB, free: 13.49 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.1684, allocations: 35.98 kB / 0.6104 GB, free: 13.46 MB / 478.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 (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.0005256/0.1689, allocations: 239.6 kB / 0.6107 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/0.1691, allocations: 127.2 kB / 0.6108 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01536/0.1845, allocations: 3.967 MB / 0.6147 GB, free: 9.102 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.1845, allocations: 8 kB / 0.6147 GB, free: 9.094 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1845, allocations: 0 / 0.6147 GB, free: 9.094 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.35e-05/0.1846, allocations: 7.922 kB / 0.6147 GB, free: 9.086 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01732/0.2019, allocations: 4.887 MB / 0.6194 GB, free: 4.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/0.2019, allocations: 3.938 kB / 0.6194 GB, free: 4.156 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000839/0.2027, allocations: 131.8 kB / 0.6196 GB, free: 4.027 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006913/0.2096, allocations: 1.745 MB / 0.6213 GB, free: 2.277 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002171/0.2099, allocations: 19.98 kB / 0.6213 GB, free: 2.258 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02153/0.2314, allocations: 7.744 MB / 0.6289 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.2314, allocations: 0 / 0.6289 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01774/0.2491, allocations: 4.941 MB / 0.6337 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004074/0.2495, allocations: 135 kB / 0.6338 GB, free: 5.312 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/0.2497, allocations: 19.94 kB / 0.6338 GB, free: 5.293 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/0.2509, allocations: 107.9 kB / 0.6339 GB, free: 5.188 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007926/0.2517, allocations: 224.6 kB / 0.6341 GB, free: 4.965 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.831e-05/0.2518, allocations: 23.98 kB / 0.6342 GB, free: 4.941 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008351/0.2526, allocations: 0.5927 MB / 0.6347 GB, free: 4.34 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2526, allocations: 0 / 0.6347 GB, free: 4.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001265/0.2539, allocations: 435.6 kB / 0.6352 GB, free: 3.914 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.000312/0.2542, allocations: 135.1 kB / 0.6353 GB, free: 3.773 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008028/0.2622, allocations: 2.35 MB / 0.6376 GB, free: 1.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.2622, allocations: 0 / 0.6376 GB, free: 1.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005798/0.268, allocations: 1.507 MB / 0.6391 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009168/0.2689, allocations: 84.41 kB / 0.6391 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004202/0.2731, allocations: 1.945 MB / 0.641 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005981/0.2737, allocations: 0.4984 MB / 0.6415 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003597/0.2741, allocations: 86.69 kB / 0.6416 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002631/0.2744, allocations: 64.48 kB / 0.6417 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of SimCode: time 1.383e-06/0.2744, allocations: 4 kB / 0.6417 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of Templates: time 0.04232/0.3167, allocations: 24.51 MB / 0.6656 GB, free: 4.664 MB / 0.5137 GB " [Timeout remaining time 660] 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.660284589976072] Failed to read output from testmodel.py, exit status != 0: 0.3254505805671215 0.341587406 0.310603131 Calling exit ...