Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.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.001409/0.001409, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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 1.408/1.408, allocations: 177.2 MB / 200.1 MB, free: 8.391 MB / 190.1 MB " [Timeout remaining time 178] 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.001637/0.001637, allocations: 163.8 kB / 256.6 MB, free: 4.309 MB / 238.1 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.5762/0.5762, allocations: 80.3 MB / 393.3 MB, free: 29.32 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002998/0.002998, allocations: 84.81 kB / 0.5559 GB, free: 14.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1767, allocations: 80.13 MB / 0.6341 GB, free: 6.066 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.0145/0.1912, allocations: 11.63 MB / 0.6455 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009411/0.2006, allocations: 3.437 MB / 0.6488 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003189/0.2038, allocations: 31.94 kB / 0.6489 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002392/0.2062, allocations: 0.5576 MB / 0.6494 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006281/0.2125, allocations: 1.561 MB / 0.6509 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004456/0.217, allocations: 1.509 MB / 0.6524 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006666/0.2236, allocations: 3.768 MB / 0.6561 GB, free: 15.5 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001696/0.2253, allocations: 0.5776 MB / 0.6567 GB, free: 14.87 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00307/0.2284, allocations: 1.587 MB / 0.6582 GB, free: 13.28 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003238/0.2316, allocations: 1.804 MB / 0.66 GB, free: 11.46 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.001135/0.2328, allocations: 291.9 kB / 0.6603 GB, free: 11.18 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001691/0.2345, allocations: 439.9 kB / 0.6607 GB, free: 10.75 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.001283/0.2357, allocations: 0.7623 MB / 0.6614 GB, free: 9.984 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.002618/0.2384, allocations: 1.332 MB / 0.6627 GB, free: 8.645 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.006383/0.2447, allocations: 4.049 MB / 0.6667 GB, free: 4.578 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2448, allocations: 3.938 kB / 0.6667 GB, free: 4.574 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2448, allocations: 0 / 0.6667 GB, free: 4.574 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 0.0001776/0.2449, allocations: 4 kB / 0.6667 GB, free: 4.57 MB / 0.5138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02672/0.2717, allocations: 7.374 MB / 0.6739 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.2717, allocations: 19.95 kB / 0.6739 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01619/0.2879, allocations: 2.316 MB / 0.6762 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00492/0.2928, allocations: 1.797 MB / 0.6779 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001038/0.2938, allocations: 0.8373 MB / 0.6787 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000873/0.2947, allocations: 212 kB / 0.6789 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008359/0.3031, allocations: 3.085 MB / 0.682 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.478e-05/0.3031, allocations: 0 / 0.682 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000447/0.3036, allocations: 87.94 kB / 0.682 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-05/0.3036, allocations: 48 kB / 0.6821 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007179/0.3108, allocations: 2.822 MB / 0.6848 GB, free: 1.547 MB / 0.5294 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.02119/0.332, allocations: 7.394 MB / 0.6921 GB, free: 9.988 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01185/0.3439, allocations: 3.572 MB / 0.6955 GB, free: 6.383 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004681/0.3485, allocations: 1.822 MB / 0.6973 GB, free: 4.543 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003585/0.3489, allocations: 37.92 kB / 0.6974 GB, free: 4.504 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005556/0.3545, allocations: 2.282 MB / 0.6996 GB, free: 2.188 MB / 0.545 GB Notification: Performance of pre-optimization done (n=247): time 7.194e-06/0.3545, allocations: 4 kB / 0.6996 GB, free: 2.184 MB / 0.545 GB Notification: Performance of matching and sorting (n=247): time 0.526/0.8805, allocations: 29.24 MB / 0.7281 GB, free: 74.76 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.8806, allocations: 187.7 kB / 0.7283 GB, free: 74.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003997/0.8846, allocations: 2.251 MB / 0.7305 GB, free: 74.09 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006999/0.8853, allocations: 71.11 kB / 0.7306 GB, free: 74.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007946/0.8861, allocations: 1.202 MB / 0.7318 GB, free: 73.29 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001011/0.8871, allocations: 0.9042 MB / 0.7326 GB, free: 72.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001072/0.8882, allocations: 0.5331 MB / 0.7332 GB, free: 72.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.879e-05/0.8883, allocations: 306.6 kB / 0.7335 GB, free: 72.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004432/0.8927, allocations: 2.041 MB / 0.7355 GB, free: 71.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0048/0.8975, allocations: 2.398 MB / 0.7378 GB, free: 70.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05525/0.9527, allocations: 14.28 MB / 0.7517 GB, free: 62.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.019e-05/0.9528, allocations: 4 kB / 0.7517 GB, free: 62.74 MB / 0.5606 GB Notification: Performance of matching and sorting (n=403) (initialization): time 0.04045/0.9932, allocations: 12.27 MB / 0.7637 GB, free: 50.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.957e-05/0.9933, allocations: 114.8 kB / 0.7638 GB, free: 50.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.569e-05/0.9934, allocations: 8 kB / 0.7638 GB, free: 50.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01741/1.011, allocations: 5.403 MB / 0.7691 GB, free: 44.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003194/1.014, allocations: 0.55 MB / 0.7697 GB, free: 44.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06148/1.075, allocations: 22.81 MB / 0.7919 GB, free: 21.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005004/1.08, allocations: 479.2 kB / 0.7924 GB, free: 20.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008161/1.081, allocations: 120 kB / 0.7925 GB, free: 20.86 MB / 0.5606 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (315): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 4 * 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 {(64,25)} Notification: Performance of prepare postOptimizeDAE: time 0.002158/1.083, allocations: 0.5261 MB / 0.793 GB, free: 20.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001241/1.085, allocations: 314 kB / 0.7933 GB, free: 20.01 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03889/1.124, allocations: 11.87 MB / 0.8049 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.73e-05/1.124, allocations: 24 kB / 0.8049 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.3e-05/1.124, allocations: 23.94 kB / 0.805 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.287e-05/1.124, allocations: 11.95 kB / 0.805 GB, free: 8.023 MB / 0.5606 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.04514/1.169, allocations: 14.21 MB / 0.8188 GB, free: 9.816 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.392e-05/1.169, allocations: 0 / 0.8188 GB, free: 9.816 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00167/1.171, allocations: 239.7 kB / 0.8191 GB, free: 9.582 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01939/1.19, allocations: 5.276 MB / 0.8242 GB, free: 4.293 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006933/1.191, allocations: 51.98 kB / 0.8243 GB, free: 4.242 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06493/1.256, allocations: 24 MB / 0.8477 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/1.256, allocations: 0 / 0.8477 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04985/1.305, allocations: 14.31 MB / 0.8617 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001224/1.307, allocations: 340.2 kB / 0.862 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007836/1.307, allocations: 44 kB / 0.8621 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003191/1.311, allocations: 299.6 kB / 0.8623 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002379/1.313, allocations: 0.6034 MB / 0.8629 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002639/1.313, allocations: 67.98 kB / 0.863 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002666/1.316, allocations: 1.49 MB / 0.8645 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/1.316, allocations: 0 / 0.8645 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004194/1.32, allocations: 1.169 MB / 0.8656 GB, free: 9.613 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005294/1.321, allocations: 182 kB / 0.8658 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.02047/1.341, allocations: 6.551 MB / 0.8722 GB, free: 2.781 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/1.341, allocations: 0 / 0.8722 GB, free: 2.781 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.01508/1.356, allocations: 4.285 MB / 0.8763 GB, free: 14.41 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/1.359, allocations: 273.5 kB / 0.8766 GB, free: 14.15 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/1.37, allocations: 5.439 MB / 0.8819 GB, free: 8.703 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001578/1.371, allocations: 1.252 MB / 0.8831 GB, free: 7.41 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.001216/1.373, allocations: 262.2 kB / 0.8834 GB, free: 7.152 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005965/1.373, allocations: 168.5 kB / 0.8836 GB, free: 6.988 MB / 0.6388 GB Notification: Performance of SimCode: time 8.52e-07/1.373, allocations: 0 / 0.8836 GB, free: 6.988 MB / 0.6388 GB Notification: Performance of Templates: time 0.1186/1.492, allocations: 70.09 MB / 0.952 GB, free: 1.098 MB / 0.7013 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.418671469087712] Failed to read output from testmodel.py, exit status != 0: 1.502275402075611 1.5179982 1.269739525 Calling exit ...