Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.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.0008018/0.0008018, allocations: 80.48 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.8686/0.8686, allocations: 177.1 MB / 200.2 MB, free: 5.926 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.001079/0.001079, allocations: 155.4 kB / 256.7 MB, free: 13.33 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2553/0.2553, allocations: 80.24 MB / 393.4 MB, free: 2.445 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.5561 GB, free: 12.08 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.523e-05/1.666e-05, allocations: 5.234 kB / 0.5561 GB, free: 12.07 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.01098/0.01099, allocations: 18.5 MB / 0.5742 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.008142/0.01914, allocations: 4.826 MB / 0.5789 GB, free: 4.656 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001559/0.02069, allocations: 44 kB / 0.579 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.02187, allocations: 0.8866 MB / 0.5798 GB, free: 3.719 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.003086/0.02496, allocations: 2.349 MB / 0.5821 GB, free: 1.359 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002678/0.02764, allocations: 2.084 MB / 0.5842 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003113/0.03075, allocations: 5.865 MB / 0.5899 GB, free: 9.41 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007893/0.03154, allocations: 0.8649 MB / 0.5907 GB, free: 8.492 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00211/0.03365, allocations: 3.3 MB / 0.5939 GB, free: 5.184 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.03515, allocations: 2.258 MB / 0.5962 GB, free: 2.918 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.000348/0.0355, allocations: 440 kB / 0.5966 GB, free: 2.488 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006213/0.03612, allocations: 0.5974 MB / 0.5972 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0006653/0.03678, allocations: 1.17 MB / 0.5983 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.1968/0.2336, allocations: 1.721 MB / 0.6 GB, free: 64.89 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.004294/0.2379, allocations: 6.317 MB / 0.6061 GB, free: 64.48 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2379, allocations: 3.719 kB / 0.6062 GB, free: 64.48 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2379, allocations: 0 / 0.6062 GB, free: 64.48 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.622e-05/0.2379, allocations: 0 / 0.6062 GB, free: 64.48 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.01562/0.2535, allocations: 9.834 MB / 0.6158 GB, free: 61.86 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.2536, allocations: 13.16 kB / 0.6158 GB, free: 61.86 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01316/0.2667, allocations: 4.051 MB / 0.6197 GB, free: 61.45 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003686/0.2704, allocations: 2.567 MB / 0.6222 GB, free: 60.61 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005293/0.271, allocations: 1.033 MB / 0.6232 GB, free: 59.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004802/0.2714, allocations: 354.5 kB / 0.6236 GB, free: 59.82 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006141/0.2776, allocations: 4.751 MB / 0.6282 GB, free: 58.48 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.699e-05/0.2776, allocations: 0.5625 kB / 0.6282 GB, free: 58.48 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002947/0.2779, allocations: 140 kB / 0.6284 GB, free: 58.37 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.243e-05/0.278, allocations: 86.78 kB / 0.6284 GB, free: 58.37 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005514/0.2835, allocations: 4.246 MB / 0.6326 GB, free: 56.89 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 preOpt removeSimpleEquations (simulation): time 0.01686/0.3003, allocations: 13.04 MB / 0.6453 GB, free: 49.43 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005851/0.3062, allocations: 4.357 MB / 0.6496 GB, free: 47.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002784/0.309, allocations: 2.502 MB / 0.652 GB, free: 46.12 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002583/0.3092, allocations: 61.45 kB / 0.6521 GB, free: 46.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003261/0.3125, allocations: 3.195 MB / 0.6552 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=383): time 4.749e-06/0.3125, allocations: 0 / 0.6552 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of matching and sorting (n=383): time 0.1462/0.4588, allocations: 67.83 MB / 0.7214 GB, free: 9.852 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.059e-05/0.4588, allocations: 141.8 kB / 0.7216 GB, free: 9.688 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003485/0.4623, allocations: 3.205 MB / 0.7247 GB, free: 6.461 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004978/0.4628, allocations: 93.7 kB / 0.7248 GB, free: 6.363 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009818/0.4638, allocations: 1.999 MB / 0.7267 GB, free: 4.359 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001264/0.4651, allocations: 1.361 MB / 0.7281 GB, free: 3.016 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009191/0.466, allocations: 0.6587 MB / 0.7287 GB, free: 2.344 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.299e-05/0.466, allocations: 309 kB / 0.729 GB, free: 2.039 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003329/0.4694, allocations: 2.623 MB / 0.7316 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003802/0.4732, allocations: 3.257 MB / 0.7348 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03614/0.5093, allocations: 18.96 MB / 0.7533 GB, free: 8.75 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.196e-05/0.5093, allocations: 4 kB / 0.7533 GB, free: 8.746 MB / 0.573 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.03024/0.5396, allocations: 17.17 MB / 0.77 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.078e-05/0.5396, allocations: 67.16 kB / 0.7701 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.984e-05/0.5397, allocations: 17.88 kB / 0.7701 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01333/0.553, allocations: 7.146 MB / 0.7771 GB, free: 488 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002301/0.5553, allocations: 0.6596 MB / 0.7777 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04905/0.6043, allocations: 32.31 MB / 0.8093 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004334/0.6087, allocations: 0.6183 MB / 0.8099 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002703/0.6089, allocations: 152 kB / 0.81 GB, free: 14.68 MB / 0.6355 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (396): * Single equations (assignments): 393 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001525/0.6105, allocations: 0.679 MB / 0.8107 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006154/0.6111, allocations: 473 kB / 0.8112 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02904/0.6401, allocations: 16.74 MB / 0.8275 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.67e-05/0.6401, allocations: 37.12 kB / 0.8275 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.873e-05/0.6402, allocations: 28 kB / 0.8276 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.225e-05/0.6402, allocations: 23.92 kB / 0.8276 GB, free: 12.79 MB / 0.6511 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.03399/0.6742, allocations: 20.01 MB / 0.8471 GB, free: 8.871 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/0.6743, allocations: 0 / 0.8471 GB, free: 8.871 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/0.6755, allocations: 390.4 kB / 0.8475 GB, free: 8.512 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01332/0.6888, allocations: 7.338 MB / 0.8547 GB, free: 1.168 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003408/0.6892, allocations: 71.98 kB / 0.8547 GB, free: 1.098 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2625/0.9517, allocations: 30.69 MB / 0.8847 GB, free: 229.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.9517, allocations: 2.031 kB / 0.8847 GB, free: 229.6 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03363/0.9853, allocations: 20.16 MB / 0.9044 GB, free: 222.9 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001827/0.9872, allocations: 0.4942 MB / 0.9049 GB, free: 222.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004317/0.9876, allocations: 67 kB / 0.905 GB, free: 222.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002109/0.9897, allocations: 376.6 kB / 0.9053 GB, free: 222.2 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002171/0.9919, allocations: 0.8172 MB / 0.9061 GB, free: 221.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001813/0.9921, allocations: 95.92 kB / 0.9062 GB, free: 221.7 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001654/0.9937, allocations: 2.093 MB / 0.9083 GB, free: 219.7 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9937, allocations: 0 / 0.9083 GB, free: 219.7 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003173/0.9969, allocations: 1.808 MB / 0.91 GB, free: 218 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,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 (247): * Single equations (assignments): 244 * 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 {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004008/0.9973, allocations: 196.5 kB / 0.9102 GB, free: 217.8 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01283/1.01, allocations: 8.813 MB / 0.9188 GB, free: 208.9 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.01, allocations: 0 / 0.9188 GB, free: 208.9 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.009692/1.02, allocations: 5.847 MB / 0.9245 GB, free: 203 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/1.022, allocations: 382.9 kB / 0.9249 GB, free: 202.6 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008096/1.03, allocations: 7.971 MB / 0.9327 GB, free: 194.7 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008462/1.031, allocations: 1.931 MB / 0.9346 GB, free: 192.7 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006869/1.032, allocations: 276.4 kB / 0.9348 GB, free: 192.4 MB / 0.6667 GB Notification: Performance of SimCode: time 1.041e-06/1.032, allocations: 0 / 0.9348 GB, free: 192.4 MB / 0.6667 GB Notification: Performance of Templates: time 0.05103/1.083, allocations: 91.03 MB / 1.024 GB, free: 101.3 MB / 0.6667 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.471348179504275] Failed to read output from testmodel.py, exit status != 0: 1.0881249448284507 1.093422914 0.854349122 Calling exit ...