Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.0009332/0.0009332, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.8861/0.8861, allocations: 177.1 MB / 200 MB, free: 5.48 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.001153/0.001153, allocations: 163.9 kB / 256.6 MB, free: 12.96 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.2947/0.2947, allocations: 83.27 MB / 396.4 MB, free: 15.2 MB / 330.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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 493.9 MB, free: 6.957 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.148e-05, allocations: 2.312 kB / 493.9 MB, free: 6.953 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.005267/0.005289, allocations: 6.304 MB / 0.4885 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0033/0.008589, allocations: 1.972 MB / 0.4904 GB, free: 14.67 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005949/0.009184, allocations: 12 kB / 0.4904 GB, free: 14.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000645/0.009829, allocations: 243 kB / 0.4906 GB, free: 14.42 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001644/0.01147, allocations: 0.8751 MB / 0.4915 GB, free: 13.54 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.01258, allocations: 0.642 MB / 0.4921 GB, free: 12.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001339/0.01392, allocations: 1.588 MB / 0.4937 GB, free: 11.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003106/0.01423, allocations: 220 kB / 0.4939 GB, free: 11.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007929/0.01503, allocations: 0.9039 MB / 0.4948 GB, free: 10.19 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005659/0.01559, allocations: 0.679 MB / 0.4954 GB, free: 9.508 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.01572, allocations: 120 kB / 0.4955 GB, free: 9.391 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003766/0.01609, allocations: 267.7 kB / 0.4958 GB, free: 9.129 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002018/0.01629, allocations: 343.3 kB / 0.4961 GB, free: 8.793 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003069/0.0166, allocations: 458.5 kB / 0.4965 GB, free: 8.344 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.01763, allocations: 1.225 MB / 0.4977 GB, free: 7.117 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.01764, allocations: 8 kB / 0.4978 GB, free: 7.109 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.01764, allocations: 0 / 0.4978 GB, free: 7.109 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.01765, allocations: 0 / 0.4978 GB, free: 7.109 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.004747/0.0224, allocations: 2.906 MB / 0.5006 GB, free: 4.172 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.118e-05/0.02246, allocations: 15.91 kB / 0.5006 GB, free: 4.156 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002704/0.02517, allocations: 0.9298 MB / 0.5015 GB, free: 3.238 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008772/0.02604, allocations: 0.7929 MB / 0.5023 GB, free: 2.406 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001941/0.02624, allocations: 330.9 kB / 0.5026 GB, free: 2.027 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.02635, allocations: 83.95 kB / 0.5027 GB, free: 1.945 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000985/0.02734, allocations: 0.7578 MB / 0.5034 GB, free: 1.168 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.02735, allocations: 4.656 kB / 0.5034 GB, free: 1.164 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.959e-05/0.02742, allocations: 36.97 kB / 0.5035 GB, free: 1.129 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.02744, allocations: 20 kB / 0.5035 GB, free: 1.109 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000755/0.0282, allocations: 497.3 kB / 0.504 GB, free: 0.6133 MB / 378.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.003422/0.03162, allocations: 2.703 MB / 0.5066 GB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00253/0.03415, allocations: 1.252 MB / 0.5078 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004175/0.03457, allocations: 343.9 kB / 0.5081 GB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.21e-05/0.03464, allocations: 17 kB / 0.5082 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006076/0.03525, allocations: 0.5298 MB / 0.5087 GB, free: 11.65 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 3.016e-06/0.03525, allocations: 4 kB / 0.5087 GB, free: 11.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=96): time 0.01145/0.0467, allocations: 4.985 MB / 0.5136 GB, free: 6.617 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.04675, allocations: 123.8 kB / 0.5137 GB, free: 6.473 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008334/0.04759, allocations: 0.9755 MB / 0.5146 GB, free: 5.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.986e-05/0.04767, allocations: 49.69 kB / 0.5147 GB, free: 5.426 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002832/0.04795, allocations: 0.5471 MB / 0.5152 GB, free: 4.871 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002382/0.04819, allocations: 380.9 kB / 0.5156 GB, free: 4.496 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003141/0.0485, allocations: 289.1 kB / 0.5158 GB, free: 4.207 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.675e-05/0.0486, allocations: 480.7 kB / 0.5163 GB, free: 3.734 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005508/0.04915, allocations: 439.2 kB / 0.5167 GB, free: 3.293 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006558/0.0498, allocations: 0.6299 MB / 0.5173 GB, free: 2.594 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001785/0.05159, allocations: 1.645 MB / 0.5189 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.05159, allocations: 0 / 0.5189 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.005294/0.05689, allocations: 3.039 MB / 0.5219 GB, free: 13.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.69e-05/0.05694, allocations: 59.41 kB / 0.522 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.05695, allocations: 0 / 0.522 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004145/0.06109, allocations: 1.534 MB / 0.5235 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007311/0.06182, allocations: 287.6 kB / 0.5237 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00626/0.06808, allocations: 4.36 MB / 0.528 GB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008179/0.0689, allocations: 167.1 kB / 0.5282 GB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.713e-05/0.06898, allocations: 59.91 kB / 0.5282 GB, free: 7.184 MB / 410.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" 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 (161): * Single equations (assignments): 158 * 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,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003897/0.06937, allocations: 266.1 kB / 0.5285 GB, free: 6.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.06954, allocations: 163.1 kB / 0.5286 GB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004858/0.0744, allocations: 2.584 MB / 0.5311 GB, free: 4.129 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.07441, allocations: 16 kB / 0.5312 GB, free: 4.113 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.07442, allocations: 4 kB / 0.5312 GB, free: 4.109 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.07443, allocations: 11.97 kB / 0.5312 GB, free: 4.098 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005912/0.08034, allocations: 3.644 MB / 0.5347 GB, free: 396 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.08034, allocations: 4 kB / 0.5347 GB, free: 392 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/0.08064, allocations: 95.89 kB / 0.5348 GB, free: 296 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00409/0.08473, allocations: 1.65 MB / 0.5364 GB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-05/0.08481, allocations: 27.98 kB / 0.5365 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006938/0.09174, allocations: 6.347 MB / 0.5427 GB, free: 7.996 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.09174, allocations: 4 kB / 0.5427 GB, free: 7.992 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005379/0.09712, allocations: 3.046 MB / 0.5456 GB, free: 4.895 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/0.09734, allocations: 150.8 kB / 0.5458 GB, free: 4.746 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.09745, allocations: 20 kB / 0.5458 GB, free: 4.727 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004568/0.09791, allocations: 79.92 kB / 0.5459 GB, free: 4.648 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003536/0.09827, allocations: 192.6 kB / 0.5461 GB, free: 4.461 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.995e-05/0.09832, allocations: 28.06 kB / 0.5461 GB, free: 4.434 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005186/0.09883, allocations: 0.6172 MB / 0.5467 GB, free: 3.805 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.09883, allocations: 0 / 0.5467 GB, free: 3.805 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001011/0.09985, allocations: 463.7 kB / 0.5471 GB, free: 3.352 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(21,11,21.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002558/0.1001, allocations: 147.6 kB / 0.5473 GB, free: 3.199 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002543/0.1026, allocations: 1.794 MB / 0.549 GB, free: 1.336 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1026, allocations: 0 / 0.549 GB, free: 1.336 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0017/0.1043, allocations: 1.327 MB / 0.5503 GB, free: 15.95 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005073/0.1049, allocations: 128.1 kB / 0.5505 GB, free: 15.83 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002732/0.1076, allocations: 2.066 MB / 0.5525 GB, free: 13.72 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.1078, allocations: 241.5 kB / 0.5527 GB, free: 13.45 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002341/0.108, allocations: 120 kB / 0.5528 GB, free: 13.33 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.1082, allocations: 80.48 kB / 0.5529 GB, free: 13.25 MB / 442.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1082, allocations: 0 / 0.5529 GB, free: 13.25 MB / 442.7 MB Notification: Performance of Templates: time 0.1858/0.294, allocations: 27.67 MB / 0.5799 GB, free: 82.79 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.014715409837663]