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.0008238/0.0008238, allocations: 87.56 kB / 20.19 MB, free: 4.355 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.8765/0.8765, allocations: 177.1 MB / 200.5 MB, free: 5.836 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.001561/0.001561, allocations: 172.3 kB / 257.1 MB, free: 13.21 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.259/0.259, allocations: 80.35 MB / 393.9 MB, free: 2.199 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.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.693e-06/1.693e-06, allocations: 0 / 490.1 MB, free: 11.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.598e-05/2.767e-05, allocations: 2.312 kB / 490.1 MB, free: 11.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.01228/0.0123, allocations: 18.62 MB / 0.4968 GB, free: 9.07 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.008095/0.0204, allocations: 4.895 MB / 0.5016 GB, free: 4.211 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00168/0.02208, allocations: 48.62 kB / 0.5016 GB, free: 4.164 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00141/0.02349, allocations: 0.8833 MB / 0.5025 GB, free: 3.27 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003685/0.02717, allocations: 2.362 MB / 0.5048 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.02992, allocations: 2.062 MB / 0.5068 GB, free: 14.84 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004301/0.03422, allocations: 5.944 MB / 0.5126 GB, free: 8.875 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009299/0.03515, allocations: 0.8689 MB / 0.5135 GB, free: 7.953 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002481/0.03763, allocations: 3.354 MB / 0.5167 GB, free: 4.59 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001718/0.03935, allocations: 2.301 MB / 0.519 GB, free: 2.281 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000452/0.0398, allocations: 448 kB / 0.5194 GB, free: 1.844 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007168/0.04052, allocations: 0.6052 MB / 0.52 GB, free: 1.238 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005955/0.04112, allocations: 1.194 MB / 0.5212 GB, free: 40 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.04225, allocations: 1.74 MB / 0.5229 GB, free: 14.29 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003917/0.04617, allocations: 6.415 MB / 0.5291 GB, free: 7.852 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.04617, allocations: 0 / 0.5291 GB, free: 7.852 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.04617, allocations: 0 / 0.5291 GB, free: 7.852 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.658e-05/0.04624, allocations: 4 kB / 0.5291 GB, free: 7.848 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.01525/0.06149, allocations: 9.931 MB / 0.5388 GB, free: 13.83 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.06153, allocations: 8.031 kB / 0.5388 GB, free: 13.82 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01314/0.07467, allocations: 4.741 MB / 0.5435 GB, free: 9.07 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003113/0.07778, allocations: 2.688 MB / 0.5461 GB, free: 6.301 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005579/0.07834, allocations: 1.037 MB / 0.5471 GB, free: 5.109 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000418/0.07876, allocations: 352 kB / 0.5474 GB, free: 4.766 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005842/0.0846, allocations: 4.772 MB / 0.5521 GB, free: 15.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.027e-05/0.08464, allocations: 4 kB / 0.5521 GB, free: 15.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002867/0.08493, allocations: 140 kB / 0.5522 GB, free: 15.81 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.971e-05/0.08496, allocations: 87.94 kB / 0.5523 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005471/0.09044, allocations: 4.265 MB / 0.5565 GB, free: 11.45 MB / 490.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.0166/0.107, allocations: 13.2 MB / 0.5694 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006676/0.1137, allocations: 4.402 MB / 0.5737 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003209/0.1169, allocations: 2.515 MB / 0.5761 GB, free: 6.887 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002884/0.1172, allocations: 86.97 kB / 0.5762 GB, free: 6.801 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003835/0.121, allocations: 3.228 MB / 0.5794 GB, free: 3.527 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=385): time 5.801e-06/0.1211, allocations: 0 / 0.5794 GB, free: 3.527 MB / 0.4948 GB Notification: Performance of matching and sorting (n=385): time 0.3061/0.4272, allocations: 66.74 MB / 0.6445 GB, free: 138.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.4272, allocations: 149.8 kB / 0.6447 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003106/0.4303, allocations: 3.264 MB / 0.6479 GB, free: 134.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004974/0.4308, allocations: 93.7 kB / 0.648 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007841/0.4316, allocations: 2.007 MB / 0.6499 GB, free: 133 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009907/0.4326, allocations: 1.373 MB / 0.6513 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008963/0.4335, allocations: 0.6706 MB / 0.6519 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.459e-05/0.4335, allocations: 305.2 kB / 0.6522 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003225/0.4368, allocations: 2.663 MB / 0.6548 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003326/0.4401, allocations: 3.295 MB / 0.658 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03631/0.4764, allocations: 19.3 MB / 0.6769 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.058e-05/0.4764, allocations: 4 kB / 0.6769 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=539) (initialization): time 0.02964/0.5061, allocations: 17.33 MB / 0.6938 GB, free: 87.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.018e-05/0.5061, allocations: 67.39 kB / 0.6939 GB, free: 87.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.96e-05/0.5062, allocations: 23.94 kB / 0.6939 GB, free: 87.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01339/0.5196, allocations: 7.301 MB / 0.701 GB, free: 80.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002152/0.5217, allocations: 0.6709 MB / 0.7017 GB, free: 79.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04682/0.5685, allocations: 33 MB / 0.7339 GB, free: 46.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003859/0.5724, allocations: 0.6297 MB / 0.7345 GB, free: 46.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002564/0.5726, allocations: 151.2 kB / 0.7347 GB, free: 45.88 MB / 0.5105 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.001334/0.574, allocations: 0.6777 MB / 0.7353 GB, free: 45.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007209/0.5747, allocations: 0.5868 MB / 0.7359 GB, free: 44.61 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02762/0.6023, allocations: 16.79 MB / 0.7523 GB, free: 27.74 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.6023, allocations: 36 kB / 0.7523 GB, free: 27.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.309e-05/0.6023, allocations: 32 kB / 0.7524 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.492e-05/0.6024, allocations: 15.94 kB / 0.7524 GB, free: 27.66 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.03145/0.6338, allocations: 20.07 MB / 0.772 GB, free: 7.621 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.6338, allocations: 7.938 kB / 0.772 GB, free: 7.613 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/0.6351, allocations: 387.5 kB / 0.7723 GB, free: 7.234 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01272/0.6478, allocations: 7.341 MB / 0.7795 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003791/0.6482, allocations: 72.75 kB / 0.7796 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2073/0.8555, allocations: 30.88 MB / 0.8097 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.8555, allocations: 0.875 kB / 0.8097 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03522/0.8907, allocations: 20.36 MB / 0.8296 GB, free: 151.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/0.8918, allocations: 0.5042 MB / 0.8301 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004591/0.8923, allocations: 71.72 kB / 0.8302 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002155/0.8945, allocations: 381.5 kB / 0.8305 GB, free: 151 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002176/0.8966, allocations: 0.8148 MB / 0.8313 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002016/0.8968, allocations: 93.67 kB / 0.8314 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001865/0.8987, allocations: 2.135 MB / 0.8335 GB, free: 150 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8987, allocations: 0 / 0.8335 GB, free: 150 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003226/0.9019, allocations: 1.825 MB / 0.8353 GB, free: 149.8 MB / 0.5261 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.0004445/0.9024, allocations: 203.8 kB / 0.8355 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01371/0.9161, allocations: 9.026 MB / 0.8443 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.9161, allocations: 0 / 0.8443 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.009534/0.9256, allocations: 5.934 MB / 0.8501 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/0.9276, allocations: 389 kB / 0.8505 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009378/0.937, allocations: 8.181 MB / 0.8585 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/0.938, allocations: 1.943 MB / 0.8604 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007745/0.9388, allocations: 375.7 kB / 0.8607 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005558/0.9394, allocations: 255.3 kB / 0.861 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.673e-06/0.9394, allocations: 0 / 0.861 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.0832/1.023, allocations: 99.25 MB / 0.9579 GB, free: 31.21 MB / 0.5261 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 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.328054902143776] Failed to read output from testmodel.py, exit status != 0: 1.0284322425723076 1.034558431 0.987055867 Calling exit ...