Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.001455/0.001455, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.344/1.344, allocations: 177.1 MB / 199.4 MB, free: 8.445 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.001535/0.001535, allocations: 168.6 kB / 256 MB, free: 4.371 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.5614/0.5614, allocations: 80.36 MB / 392.7 MB, free: 13.61 MB / 318.1 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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5556 GB, free: 3.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.757e-05, allocations: 2.281 kB / 0.5556 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.01851/0.01853, allocations: 18.57 MB / 0.5737 GB, free: 1.488 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01297/0.0315, allocations: 4.869 MB / 0.5785 GB, free: 12.6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005027/0.03653, allocations: 48 kB / 0.5785 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003942/0.04047, allocations: 0.8827 MB / 0.5794 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00934/0.04981, allocations: 2.371 MB / 0.5817 GB, free: 9.285 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006657/0.05647, allocations: 2.088 MB / 0.5837 GB, free: 7.227 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01035/0.06682, allocations: 5.913 MB / 0.5895 GB, free: 1.289 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00224/0.06906, allocations: 0.8727 MB / 0.5903 GB, free: 372 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007179/0.07623, allocations: 3.331 MB / 0.5936 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005197/0.08143, allocations: 2.293 MB / 0.5958 GB, free: 10.72 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001883/0.08331, allocations: 444 kB / 0.5963 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002664/0.08598, allocations: 0.609 MB / 0.5969 GB, free: 9.68 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001398/0.08738, allocations: 1.178 MB / 0.598 GB, free: 8.496 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003293/0.09067, allocations: 1.736 MB / 0.5997 GB, free: 6.754 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008297/0.09897, allocations: 6.373 MB / 0.6059 GB, free: 368 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.09897, allocations: 0 / 0.6059 GB, free: 368 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.09897, allocations: 0 / 0.6059 GB, free: 368 kB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002136/0.09919, allocations: 0 / 0.6059 GB, free: 368 kB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.03375/0.1329, allocations: 9.907 MB / 0.6156 GB, free: 6.359 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.133, allocations: 8.031 kB / 0.6156 GB, free: 6.352 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02801/0.161, allocations: 4.055 MB / 0.6196 GB, free: 2.289 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007542/0.1685, allocations: 2.598 MB / 0.6221 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001265/0.1698, allocations: 1.033 MB / 0.6231 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00131/0.1711, allocations: 352 kB / 0.6235 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01093/0.182, allocations: 4.764 MB / 0.6281 GB, free: 9.273 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.174e-05/0.1821, allocations: 4 kB / 0.6281 GB, free: 9.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004235/0.1825, allocations: 140 kB / 0.6282 GB, free: 9.133 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.938e-05/0.1826, allocations: 87.94 kB / 0.6283 GB, free: 9.047 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01011/0.1927, allocations: 4.257 MB / 0.6325 GB, free: 4.773 MB / 494.1 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.03975/0.2325, allocations: 13.06 MB / 0.6452 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01436/0.2468, allocations: 4.37 MB / 0.6495 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007048/0.2539, allocations: 2.507 MB / 0.652 GB, free: 400 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007667/0.2546, allocations: 58.97 kB / 0.652 GB, free: 340 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009122/0.2638, allocations: 3.214 MB / 0.6551 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=384): time 1.05e-05/0.2638, allocations: 0 / 0.6551 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=384): time 0.6557/0.9194, allocations: 67.54 MB / 0.7211 GB, free: 124.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.852e-05/0.9195, allocations: 147.6 kB / 0.7212 GB, free: 124.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004043/0.9236, allocations: 3.251 MB / 0.7244 GB, free: 122.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000912/0.9245, allocations: 92.75 kB / 0.7245 GB, free: 122.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00119/0.9257, allocations: 2.011 MB / 0.7265 GB, free: 121.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001392/0.9271, allocations: 1.372 MB / 0.7278 GB, free: 120.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001213/0.9283, allocations: 0.662 MB / 0.7285 GB, free: 119.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.31e-05/0.9283, allocations: 301.1 kB / 0.7288 GB, free: 119.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004986/0.9333, allocations: 2.647 MB / 0.7313 GB, free: 117.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00519/0.9385, allocations: 3.279 MB / 0.7345 GB, free: 114.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06838/1.007, allocations: 19.18 MB / 0.7533 GB, free: 94.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.673e-05/1.007, allocations: 4 kB / 0.7533 GB, free: 94.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=535) (initialization): time 0.05465/1.062, allocations: 17.2 MB / 0.7701 GB, free: 77.41 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.628e-05/1.062, allocations: 67.41 kB / 0.7701 GB, free: 77.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.348e-05/1.062, allocations: 12 kB / 0.7701 GB, free: 77.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02499/1.087, allocations: 7.157 MB / 0.7771 GB, free: 70.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003722/1.09, allocations: 0.6794 MB / 0.7778 GB, free: 69.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08519/1.176, allocations: 32.31 MB / 0.8094 GB, free: 37.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006073/1.182, allocations: 0.6227 MB / 0.81 GB, free: 36.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009724/1.183, allocations: 148 kB / 0.8101 GB, free: 36.38 MB / 0.545 GB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.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 (400): * Single equations (assignments): 397 * 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.002795/1.185, allocations: 0.676 MB / 0.8108 GB, free: 35.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001618/1.187, allocations: 484 kB / 0.8112 GB, free: 35.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05637/1.243, allocations: 16.76 MB / 0.8276 GB, free: 18.39 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-05/1.243, allocations: 40 kB / 0.8276 GB, free: 18.35 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.705e-05/1.244, allocations: 28 kB / 0.8277 GB, free: 18.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.684e-05/1.244, allocations: 15.94 kB / 0.8277 GB, free: 18.31 MB / 0.545 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.06358/1.307, allocations: 20.05 MB / 0.8473 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.188e-05/1.307, allocations: 0 / 0.8473 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002803/1.31, allocations: 391.5 kB / 0.8476 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02984/1.34, allocations: 7.363 MB / 0.8548 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001013/1.341, allocations: 69.39 kB / 0.8549 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09519/1.436, allocations: 30.68 MB / 0.8849 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/1.436, allocations: 0 / 0.8849 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07164/1.508, allocations: 20.2 MB / 0.9046 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001582/1.509, allocations: 0.5023 MB / 0.9051 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001662/1.511, allocations: 68 kB / 0.9051 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005711/1.517, allocations: 379.5 kB / 0.9055 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004253/1.521, allocations: 0.8191 MB / 0.9063 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008428/1.522, allocations: 91.98 kB / 0.9064 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.004585/1.526, allocations: 2.132 MB / 0.9085 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/1.526, allocations: 0 / 0.9085 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.007489/1.534, allocations: 1.808 MB / 0.9102 GB, free: 13.62 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (248): * Single equations (assignments): 245 * 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 {(100,36,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.001128/1.535, allocations: 201.1 kB / 0.9104 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.02943/1.564, allocations: 8.837 MB / 0.9191 GB, free: 4.516 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/1.564, allocations: 448 / 0.9191 GB, free: 4.516 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.02219/1.587, allocations: 5.901 MB / 0.9248 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004771/1.591, allocations: 385.7 kB / 0.9252 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01988/1.611, allocations: 7.983 MB / 0.933 GB, free: 6.195 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003127/1.614, allocations: 1.931 MB / 0.9349 GB, free: 4.219 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002267/1.617, allocations: 379.1 kB / 0.9352 GB, free: 3.844 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001354/1.618, allocations: 252.4 kB / 0.9355 GB, free: 3.598 MB / 0.6387 GB Notification: Performance of SimCode: time 1.021e-06/1.618, allocations: 0 / 0.9355 GB, free: 3.598 MB / 0.6387 GB Notification: Performance of Templates: time 0.388/2.006, allocations: 97.25 MB / 1.03 GB, free: 143.5 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.405619248747826] Failed to read output from testmodel.py, exit status != 0: 2.0150100961327553 2.025195643 1.92375074 Calling exit ...