Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.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.0007982/0.0007982, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.8948/0.8948, allocations: 177.1 MB / 200.2 MB, free: 5.934 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.001012/0.001012, allocations: 160.2 kB / 256.7 MB, free: 13.34 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.2559/0.2559, allocations: 80.36 MB / 393.5 MB, free: 2.359 MB / 314.7 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.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5562 GB, free: 12.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.66e-05, allocations: 2.281 kB / 0.5562 GB, free: 12.07 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.004953/0.004979, allocations: 5.762 MB / 0.5618 GB, free: 6.277 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002545/0.007525, allocations: 1.927 MB / 0.5637 GB, free: 4.344 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000304/0.007829, allocations: 11.94 kB / 0.5637 GB, free: 4.332 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006285/0.008457, allocations: 241.9 kB / 0.564 GB, free: 4.094 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001359/0.009816, allocations: 0.8573 MB / 0.5648 GB, free: 3.234 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007824/0.0106, allocations: 0.6427 MB / 0.5654 GB, free: 2.598 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001066/0.01166, allocations: 1.576 MB / 0.567 GB, free: 1.016 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003284/0.01199, allocations: 214.8 kB / 0.5672 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007627/0.01275, allocations: 0.9078 MB / 0.568 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006285/0.01338, allocations: 0.6659 MB / 0.5687 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.01351, allocations: 120 kB / 0.5688 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003293/0.01384, allocations: 271.8 kB / 0.5691 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003139/0.01415, allocations: 342.5 kB / 0.5694 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003104/0.01446, allocations: 458.4 kB / 0.5698 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.0159, allocations: 1.732 MB / 0.5715 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.0159, allocations: 0 / 0.5715 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.543e-06/0.0159, allocations: 0 / 0.5715 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.01591, allocations: 0 / 0.5715 GB, free: 12.31 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.00488/0.02079, allocations: 2.799 MB / 0.5743 GB, free: 9.457 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.02085, allocations: 12.02 kB / 0.5743 GB, free: 9.445 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002525/0.02337, allocations: 0.7952 MB / 0.575 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.02443, allocations: 0.8345 MB / 0.5759 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003167/0.02474, allocations: 337.3 kB / 0.5762 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.02487, allocations: 87.94 kB / 0.5763 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.02623, allocations: 1.108 MB / 0.5774 GB, free: 6.172 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.02625, allocations: 4 kB / 0.5774 GB, free: 6.168 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.851e-05/0.02632, allocations: 35.94 kB / 0.5774 GB, free: 6.133 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.02633, allocations: 16 kB / 0.5774 GB, free: 6.117 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.02782, allocations: 1.005 MB / 0.5784 GB, free: 5.102 MB / 0.4948 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.003799/0.03162, allocations: 2.832 MB / 0.5812 GB, free: 2.211 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003888/0.03551, allocations: 2.026 MB / 0.5831 GB, free: 172 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007994/0.03631, allocations: 0.6426 MB / 0.5838 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.319e-05/0.03638, allocations: 17 kB / 0.5838 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009581/0.03734, allocations: 0.839 MB / 0.5846 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=95): time 2.284e-06/0.03734, allocations: 0 / 0.5846 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=95): time 0.01425/0.05158, allocations: 7.068 MB / 0.5915 GB, free: 7.527 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.05164, allocations: 115.8 kB / 0.5916 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.05267, allocations: 1.058 MB / 0.5926 GB, free: 6.316 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.869e-05/0.05275, allocations: 49.7 kB / 0.5927 GB, free: 6.262 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002631/0.05301, allocations: 0.5092 MB / 0.5932 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002471/0.05326, allocations: 357 kB / 0.5935 GB, free: 5.395 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002908/0.05355, allocations: 267.5 kB / 0.5938 GB, free: 5.129 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.16e-05/0.05362, allocations: 309.1 kB / 0.5941 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009625/0.05458, allocations: 0.7998 MB / 0.5949 GB, free: 4.012 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.05576, allocations: 0.9688 MB / 0.5958 GB, free: 2.988 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2273/0.2831, allocations: 5.737 MB / 0.6014 GB, free: 91.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.2831, allocations: 0.7188 kB / 0.6014 GB, free: 91.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.006775/0.2899, allocations: 4.356 MB / 0.6057 GB, free: 90.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.903e-05/0.2899, allocations: 64.33 kB / 0.6057 GB, free: 90.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.2899, allocations: 7.688 kB / 0.6057 GB, free: 90.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002912/0.2928, allocations: 1.573 MB / 0.6073 GB, free: 90.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.2939, allocations: 275.3 kB / 0.6075 GB, free: 90.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/0.3056, allocations: 8.195 MB / 0.6155 GB, free: 86.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009257/0.3065, allocations: 192.8 kB / 0.6157 GB, free: 86.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.497e-05/0.3066, allocations: 58.88 kB / 0.6158 GB, free: 86.51 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(18,15,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004151/0.307, allocations: 301.5 kB / 0.6161 GB, free: 86.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.3072, allocations: 133.5 kB / 0.6162 GB, free: 86.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00714/0.3143, allocations: 3.862 MB / 0.62 GB, free: 85.27 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.3143, allocations: 10.25 kB / 0.62 GB, free: 85.27 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-06/0.3143, allocations: 10.59 kB / 0.62 GB, free: 85.27 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.3143, allocations: 7.234 kB / 0.62 GB, free: 85.27 MB / 0.5105 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 postOpt removeSimpleEquations (simulation): time 0.008148/0.3225, allocations: 4.89 MB / 0.6248 GB, free: 83.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.3225, allocations: 0 / 0.6248 GB, free: 83.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002969/0.3228, allocations: 100.9 kB / 0.6249 GB, free: 83.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002826/0.3256, allocations: 1.601 MB / 0.6264 GB, free: 83.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.684e-05/0.3257, allocations: 28.2 kB / 0.6264 GB, free: 83.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01095/0.3366, allocations: 9.173 MB / 0.6354 GB, free: 78.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3366, allocations: 8.25 kB / 0.6354 GB, free: 78.38 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007233/0.3439, allocations: 4.764 MB / 0.6401 GB, free: 76.22 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.344, allocations: 148.5 kB / 0.6402 GB, free: 76.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.3441, allocations: 22.94 kB / 0.6402 GB, free: 76.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005271/0.3446, allocations: 114.2 kB / 0.6403 GB, free: 76.06 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003032/0.345, allocations: 198.1 kB / 0.6405 GB, free: 75.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/0.345, allocations: 27.36 kB / 0.6405 GB, free: 75.92 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005876/0.3456, allocations: 0.7233 MB / 0.6413 GB, free: 75.51 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3456, allocations: 0 / 0.6413 GB, free: 75.51 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009935/0.3466, allocations: 475.6 kB / 0.6417 GB, free: 75.45 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002287/0.3468, allocations: 141.7 kB / 0.6418 GB, free: 75.34 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002999/0.3498, allocations: 2.426 MB / 0.6442 GB, free: 73.63 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3498, allocations: 0 / 0.6442 GB, free: 73.63 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001928/0.3517, allocations: 1.56 MB / 0.6457 GB, free: 72.03 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005098/0.3522, allocations: 114.1 kB / 0.6458 GB, free: 71.92 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/0.3543, allocations: 2.192 MB / 0.648 GB, free: 69.73 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.3545, allocations: 0.5314 MB / 0.6485 GB, free: 69.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.3547, allocations: 84.48 kB / 0.6486 GB, free: 69.08 MB / 0.5105 GB Notification: Performance of SimCode: time 1.273e-06/0.3547, allocations: 0 / 0.6486 GB, free: 69.08 MB / 0.5105 GB Notification: Performance of Templates: time 0.01306/0.3678, allocations: 24.14 MB / 0.6722 GB, free: 44.97 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.875387890264392] Failed to read output from testmodel.py, exit status != 0: 0.3733220752328634 0.37853595700000003 0.36135460700000005 Calling exit ...