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.0008224/0.0008224, 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.8851/0.8851, allocations: 177.2 MB / 200.2 MB, free: 5.949 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.001012/0.001012, allocations: 160.6 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.2627/0.2627, allocations: 80.36 MB / 393.5 MB, free: 2.371 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.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.613e-06/1.613e-06, allocations: 0 / 0.5563 GB, free: 11.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.209e-05, allocations: 6.219 kB / 0.5563 GB, free: 11.59 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.2324/0.2325, allocations: 18.56 MB / 0.5744 GB, free: 14.25 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.009977/0.2424, allocations: 4.867 MB / 0.5792 GB, free: 11.36 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002556/0.245, allocations: 43.16 kB / 0.5792 GB, free: 11.36 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001712/0.2467, allocations: 0.8856 MB / 0.5801 GB, free: 10.88 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004409/0.2511, allocations: 2.356 MB / 0.5824 GB, free: 9.188 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003888/0.255, allocations: 2.093 MB / 0.5844 GB, free: 8.117 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.007306/0.2623, allocations: 5.917 MB / 0.5902 GB, free: 4.984 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001366/0.2637, allocations: 0.8676 MB / 0.5911 GB, free: 4.512 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004507/0.2682, allocations: 3.335 MB / 0.5943 GB, free: 2.984 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002658/0.2708, allocations: 2.295 MB / 0.5966 GB, free: 2.172 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001001/0.2718, allocations: 442.6 kB / 0.597 GB, free: 2.172 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.2732, allocations: 0.6015 MB / 0.5976 GB, free: 2.125 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005724/0.2738, allocations: 1.181 MB / 0.5987 GB, free: 1.109 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001873/0.2756, allocations: 1.738 MB / 0.6004 GB, free: 32 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006422/0.282, allocations: 6.384 MB / 0.6067 GB, free: 11.35 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.282, allocations: 0 / 0.6067 GB, free: 11.35 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2821, allocations: 0 / 0.6067 GB, free: 11.35 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002567/0.2823, allocations: 0 / 0.6067 GB, free: 11.35 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.01951/0.3018, allocations: 9.909 MB / 0.6163 GB, free: 4.973 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.3019, allocations: 12.03 kB / 0.6164 GB, free: 4.961 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01366/0.3155, allocations: 4.051 MB / 0.6203 GB, free: 0.9023 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006117/0.3216, allocations: 2.598 MB / 0.6228 GB, free: 14.21 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006504/0.3223, allocations: 1.029 MB / 0.6239 GB, free: 13.03 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004432/0.3227, allocations: 356 kB / 0.6242 GB, free: 12.68 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00628/0.329, allocations: 4.76 MB / 0.6288 GB, free: 7.887 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.468e-05/0.3291, allocations: 0 / 0.6288 GB, free: 7.887 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002856/0.3293, allocations: 140 kB / 0.629 GB, free: 7.75 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.879e-05/0.3294, allocations: 95.92 kB / 0.6291 GB, free: 7.656 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005518/0.3349, allocations: 4.253 MB / 0.6332 GB, free: 3.391 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.01806/0.353, allocations: 13.06 MB / 0.646 GB, free: 5.914 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006674/0.3596, allocations: 4.37 MB / 0.6502 GB, free: 1.531 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003165/0.3628, allocations: 2.511 MB / 0.6527 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002685/0.3631, allocations: 58.97 kB / 0.6528 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003906/0.367, allocations: 3.218 MB / 0.6559 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=384): time 5.049e-06/0.367, allocations: 0 / 0.6559 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=384): time 0.1557/0.5227, allocations: 67.54 MB / 0.7218 GB, free: 7.957 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.695e-05/0.5227, allocations: 141.8 kB / 0.722 GB, free: 7.793 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003597/0.5263, allocations: 3.256 MB / 0.7252 GB, free: 4.516 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006783/0.527, allocations: 89.7 kB / 0.7252 GB, free: 4.422 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001054/0.5281, allocations: 2.005 MB / 0.7272 GB, free: 2.406 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001411/0.5295, allocations: 1.371 MB / 0.7285 GB, free: 1.023 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000971/0.5304, allocations: 0.6627 MB / 0.7292 GB, free: 356 kB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.903e-05/0.5305, allocations: 301.1 kB / 0.7295 GB, free: 52 kB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003866/0.5344, allocations: 2.647 MB / 0.7321 GB, free: 13.38 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003805/0.5382, allocations: 3.271 MB / 0.7353 GB, free: 9.875 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03765/0.5759, allocations: 19.18 MB / 0.754 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.136e-05/0.5759, allocations: 4 kB / 0.754 GB, free: 6.422 MB / 0.5886 GB Notification: Performance of matching and sorting (n=535) (initialization): time 0.03113/0.607, allocations: 17.21 MB / 0.7708 GB, free: 5.156 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.92e-05/0.6071, allocations: 78.2 kB / 0.7709 GB, free: 5.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.85e-05/0.6071, allocations: 16 kB / 0.7709 GB, free: 5.055 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01377/0.6209, allocations: 7.15 MB / 0.7779 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002374/0.6233, allocations: 0.682 MB / 0.7785 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2834/0.9067, allocations: 32.31 MB / 0.8101 GB, free: 196.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00524/0.9119, allocations: 0.6183 MB / 0.8107 GB, free: 196.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003636/0.9123, allocations: 158 kB / 0.8108 GB, free: 196.7 MB / 0.6355 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.001491/0.9138, allocations: 0.6683 MB / 0.8115 GB, free: 196.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007467/0.9145, allocations: 483.7 kB / 0.812 GB, free: 196.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03229/0.9468, allocations: 16.76 MB / 0.8283 GB, free: 195.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.595e-05/0.9468, allocations: 45.31 kB / 0.8284 GB, free: 195.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-05/0.9469, allocations: 27.53 kB / 0.8284 GB, free: 195.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.571e-05/0.947, allocations: 22 kB / 0.8284 GB, free: 195.2 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.03416/0.9812, allocations: 20.04 MB / 0.848 GB, free: 190.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.128e-05/0.9812, allocations: 0 / 0.848 GB, free: 190.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001496/0.9827, allocations: 398.2 kB / 0.8484 GB, free: 190.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01308/0.9958, allocations: 7.36 MB / 0.8556 GB, free: 189 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006982/0.9964, allocations: 86.48 kB / 0.8556 GB, free: 188.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04249/1.039, allocations: 30.67 MB / 0.8856 GB, free: 161 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.039, allocations: 0 / 0.8856 GB, free: 161 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03226/1.071, allocations: 20.2 MB / 0.9053 GB, free: 140.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/1.073, allocations: 0.5091 MB / 0.9058 GB, free: 140.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007297/1.073, allocations: 64 kB / 0.9059 GB, free: 140.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002281/1.076, allocations: 387 kB / 0.9063 GB, free: 139.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002066/1.078, allocations: 0.8153 MB / 0.907 GB, free: 139 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001887/1.078, allocations: 95.98 kB / 0.9071 GB, free: 138.9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001983/1.08, allocations: 2.117 MB / 0.9092 GB, free: 136.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2e-07/1.08, allocations: 0 / 0.9092 GB, free: 136.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004853/1.085, allocations: 1.807 MB / 0.911 GB, free: 135 MB / 0.6355 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.0004721/1.085, allocations: 205.6 kB / 0.9112 GB, free: 134.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01336/1.099, allocations: 8.834 MB / 0.9198 GB, free: 125.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/1.099, allocations: 0 / 0.9198 GB, free: 125.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.009838/1.108, allocations: 5.903 MB / 0.9256 GB, free: 119.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002368/1.111, allocations: 382 kB / 0.9259 GB, free: 119.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/1.121, allocations: 8.054 MB / 0.9338 GB, free: 111.5 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/1.122, allocations: 1.935 MB / 0.9357 GB, free: 109.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/1.123, allocations: 276.4 kB / 0.9359 GB, free: 109.2 MB / 0.6355 GB Notification: Performance of SimCode: time 1.913e-06/1.123, allocations: 0 / 0.9359 GB, free: 109.2 MB / 0.6355 GB Notification: Performance of Templates: time 0.07244/1.196, allocations: 91.57 MB / 1.025 GB, free: 17.47 MB / 0.6355 GB " [Timeout remaining time 659] 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: 9.386585704050958] Failed to read output from testmodel.py, exit status != 0: 1.2017072224989533 1.207885901 0.9243836150000001 Calling exit ...