Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.0008223/0.0008223, allocations: 72.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.8784/0.8784, allocations: 177.1 MB / 200.2 MB, free: 5.953 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.00119/0.00119, allocations: 164.3 kB / 256.7 MB, free: 13.35 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.2591/0.2591, allocations: 80.36 MB / 393.5 MB, free: 2.375 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.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 0.5563 GB, free: 11.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.39e-05, allocations: 4.953 kB / 0.5563 GB, free: 11.61 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.2231/0.2231, allocations: 18.61 MB / 0.5745 GB, free: 14.25 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.009658/0.2328, allocations: 4.885 MB / 0.5793 GB, free: 11.32 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002842/0.2356, allocations: 44.22 kB / 0.5793 GB, free: 11.32 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001715/0.2373, allocations: 0.8822 MB / 0.5802 GB, free: 10.85 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004997/0.2423, allocations: 2.373 MB / 0.5825 GB, free: 9.145 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003918/0.2462, allocations: 2.09 MB / 0.5845 GB, free: 8.082 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.006318/0.2525, allocations: 5.948 MB / 0.5903 GB, free: 4.938 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001317/0.2539, allocations: 0.8715 MB / 0.5912 GB, free: 4.461 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004539/0.2584, allocations: 3.359 MB / 0.5945 GB, free: 2.918 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002325/0.2607, allocations: 2.311 MB / 0.5967 GB, free: 2.09 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005666/0.2613, allocations: 447.5 kB / 0.5971 GB, free: 2.09 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.2623, allocations: 0.5955 MB / 0.5977 GB, free: 2.031 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005544/0.2629, allocations: 1.189 MB / 0.5989 GB, free: 1.004 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001255/0.2641, allocations: 1.748 MB / 0.6006 GB, free: 15.91 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005222/0.2693, allocations: 6.408 MB / 0.6068 GB, free: 11.22 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2693, allocations: 0 / 0.6068 GB, free: 11.22 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.2693, allocations: 9.656 kB / 0.6069 GB, free: 11.21 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.954e-05/0.2694, allocations: 0 / 0.6069 GB, free: 11.21 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.01797/0.2874, allocations: 9.932 MB / 0.6166 GB, free: 4.777 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.2874, allocations: 12.03 kB / 0.6166 GB, free: 4.766 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01331/0.3007, allocations: 4.055 MB / 0.6205 GB, free: 0.7031 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004459/0.3052, allocations: 2.606 MB / 0.6231 GB, free: 14.02 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006524/0.3058, allocations: 1.029 MB / 0.6241 GB, free: 12.83 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004491/0.3063, allocations: 356 kB / 0.6244 GB, free: 12.48 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006558/0.3128, allocations: 4.772 MB / 0.6291 GB, free: 7.676 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.668e-05/0.3129, allocations: 3.938 kB / 0.6291 GB, free: 7.672 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002886/0.3132, allocations: 140 kB / 0.6292 GB, free: 7.535 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.856e-05/0.3132, allocations: 87.94 kB / 0.6293 GB, free: 7.449 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005296/0.3185, allocations: 4.269 MB / 0.6335 GB, free: 3.168 MB / 474.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.01765/0.3362, allocations: 13.09 MB / 0.6462 GB, free: 5.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006698/0.3429, allocations: 4.395 MB / 0.6505 GB, free: 1.25 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003232/0.3461, allocations: 2.519 MB / 0.653 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002728/0.3464, allocations: 58.97 kB / 0.6531 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003923/0.3503, allocations: 3.218 MB / 0.6562 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=385): time 6.062e-06/0.3503, allocations: 4 kB / 0.6562 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=385): time 0.1525/0.5028, allocations: 66.59 MB / 0.7212 GB, free: 8.617 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.621e-05/0.5029, allocations: 145.8 kB / 0.7214 GB, free: 8.449 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003423/0.5063, allocations: 3.265 MB / 0.7246 GB, free: 5.164 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006726/0.507, allocations: 89.7 kB / 0.7246 GB, free: 5.07 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001119/0.5081, allocations: 2.017 MB / 0.7266 GB, free: 3.043 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001202/0.5093, allocations: 1.367 MB / 0.7279 GB, free: 1.664 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009347/0.5103, allocations: 0.6667 MB / 0.7286 GB, free: 0.9844 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.169e-05/0.5103, allocations: 313.1 kB / 0.7289 GB, free: 0.6758 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003428/0.5138, allocations: 2.655 MB / 0.7315 GB, free: 14 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003936/0.5177, allocations: 3.295 MB / 0.7347 GB, free: 10.47 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03877/0.5565, allocations: 19.31 MB / 0.7536 GB, free: 6.895 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-05/0.5565, allocations: 8 kB / 0.7536 GB, free: 6.887 MB / 0.5886 GB Notification: Performance of matching and sorting (n=539) (initialization): time 0.03173/0.5882, allocations: 17.15 MB / 0.7703 GB, free: 5.676 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.681e-05/0.5883, allocations: 63.41 kB / 0.7704 GB, free: 5.602 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.904e-05/0.5883, allocations: 16 kB / 0.7704 GB, free: 5.586 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01449/0.6028, allocations: 7.299 MB / 0.7775 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002396/0.6052, allocations: 0.6703 MB / 0.7782 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2829/0.8882, allocations: 32.86 MB / 0.8103 GB, free: 196.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004263/0.8924, allocations: 0.6282 MB / 0.8109 GB, free: 196.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002801/0.8927, allocations: 153.1 kB / 0.811 GB, free: 196.5 MB / 0.6355 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 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 (402): * Single equations (assignments): 399 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,46)} Notification: Performance of prepare postOptimizeDAE: time 0.001486/0.8942, allocations: 0.6683 MB / 0.8117 GB, free: 196.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000605/0.8948, allocations: 478.9 kB / 0.8121 GB, free: 196.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03205/0.9268, allocations: 16.78 MB / 0.8285 GB, free: 195 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-05/0.9269, allocations: 41.72 kB / 0.8286 GB, free: 195 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.32e-05/0.9269, allocations: 31.59 kB / 0.8286 GB, free: 195 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.98e-05/0.927, allocations: 21.72 kB / 0.8286 GB, free: 195 MB / 0.6355 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.03253/0.9595, allocations: 20.07 MB / 0.8482 GB, free: 190.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.817e-05/0.9596, allocations: 0 / 0.8482 GB, free: 190.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001463/0.961, allocations: 394.9 kB / 0.8486 GB, free: 190 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01237/0.9734, allocations: 7.341 MB / 0.8558 GB, free: 188.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004883/0.9739, allocations: 79.39 kB / 0.8558 GB, free: 188.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04064/1.015, allocations: 30.72 MB / 0.8858 GB, free: 160.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.015, allocations: 4 kB / 0.8858 GB, free: 160.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.032/1.047, allocations: 20.23 MB / 0.9056 GB, free: 140.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/1.048, allocations: 0.5009 MB / 0.9061 GB, free: 140 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003818/1.048, allocations: 67.94 kB / 0.9061 GB, free: 140 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002129/1.05, allocations: 391.2 kB / 0.9065 GB, free: 139.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001962/1.052, allocations: 0.8114 MB / 0.9073 GB, free: 138.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001831/1.053, allocations: 95.98 kB / 0.9074 GB, free: 138.7 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001707/1.054, allocations: 2.129 MB / 0.9095 GB, free: 136.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/1.054, allocations: 4 kB / 0.9095 GB, free: 136.6 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003209/1.057, allocations: 1.83 MB / 0.9113 GB, free: 134.7 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,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 (249): * Single equations (assignments): 246 * 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.0004025/1.058, allocations: 208.6 kB / 0.9115 GB, free: 134.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01281/1.071, allocations: 9.006 MB / 0.9203 GB, free: 125.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.071, allocations: 4.125 kB / 0.9203 GB, free: 125.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.009054/1.08, allocations: 5.908 MB / 0.926 GB, free: 119.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002217/1.082, allocations: 386.7 kB / 0.9264 GB, free: 119.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00919/1.091, allocations: 8.096 MB / 0.9343 GB, free: 110.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009552/1.092, allocations: 1.94 MB / 0.9362 GB, free: 109 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007334/1.093, allocations: 284.4 kB / 0.9365 GB, free: 108.7 MB / 0.6355 GB Notification: Performance of SimCode: time 1.262e-06/1.093, allocations: 0 / 0.9365 GB, free: 108.7 MB / 0.6355 GB Notification: Performance of Templates: time 0.06576/1.159, allocations: 91.9 MB / 1.026 GB, free: 16.63 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.917516268789768] Failed to read output from testmodel.py, exit status != 0: 1.1648779762908816 1.170764284 0.899952445 Calling exit ...