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.001003/0.001003, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.9136/0.9136, allocations: 177.1 MB / 200 MB, free: 5.535 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.001161/0.001161, allocations: 168.5 kB / 256.6 MB, free: 12.98 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.2836/0.2836, allocations: 80.35 MB / 393.5 MB, free: 2.977 MB / 362.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.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.603e-06/1.603e-06, allocations: 0 / 490.1 MB, free: 62.94 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.531e-05/1.691e-05, allocations: 2.312 kB / 490.1 MB, free: 62.93 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.01112/0.01114, allocations: 20.63 MB / 0.4987 GB, free: 42.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009233/0.02037, allocations: 4.902 MB / 0.5035 GB, free: 37.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002335/0.02271, allocations: 44 kB / 0.5035 GB, free: 37.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.02408, allocations: 0.8873 MB / 0.5044 GB, free: 36.45 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004034/0.02811, allocations: 2.371 MB / 0.5067 GB, free: 34.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003062/0.03118, allocations: 2.047 MB / 0.5087 GB, free: 32.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003883/0.03506, allocations: 5.917 MB / 0.5145 GB, free: 26.13 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.03606, allocations: 0.8734 MB / 0.5154 GB, free: 25.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002729/0.03879, allocations: 3.343 MB / 0.5186 GB, free: 21.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001632/0.04042, allocations: 2.325 MB / 0.5209 GB, free: 19.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005475/0.04097, allocations: 444.7 kB / 0.5213 GB, free: 19.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007688/0.04174, allocations: 0.603 MB / 0.5219 GB, free: 18.49 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000481/0.04222, allocations: 1.194 MB / 0.5231 GB, free: 17.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00121/0.04343, allocations: 1.736 MB / 0.5248 GB, free: 15.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003152/0.04658, allocations: 4.528 MB / 0.5292 GB, free: 11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.04659, allocations: 0 / 0.5292 GB, free: 11 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.04659, allocations: 1.531 kB / 0.5292 GB, free: 11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.998e-05/0.04666, allocations: 0 / 0.5292 GB, free: 11 MB / 410.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.01687/0.06353, allocations: 10.2 MB / 0.5392 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.06358, allocations: 8.031 kB / 0.5392 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01439/0.07796, allocations: 4.8 MB / 0.5438 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003475/0.08144, allocations: 2.578 MB / 0.5464 GB, free: 9.223 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005607/0.082, allocations: 1.017 MB / 0.5474 GB, free: 8.051 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00042/0.08242, allocations: 352 kB / 0.5477 GB, free: 7.707 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00443/0.08685, allocations: 3.144 MB / 0.5508 GB, free: 4.523 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.848e-05/0.08689, allocations: 0 / 0.5508 GB, free: 4.523 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002616/0.08715, allocations: 140 kB / 0.5509 GB, free: 4.387 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-05/0.08719, allocations: 91.75 kB / 0.551 GB, free: 4.301 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003204/0.0904, allocations: 2.041 MB / 0.553 GB, free: 2.242 MB / 426.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.0153/0.1057, allocations: 12.28 MB / 0.565 GB, free: 5.531 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004162/0.1099, allocations: 2.575 MB / 0.5675 GB, free: 2.938 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001656/0.1115, allocations: 1.216 MB / 0.5687 GB, free: 1.703 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003068/0.1118, allocations: 82.97 kB / 0.5687 GB, free: 1.621 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002508/0.1143, allocations: 1.855 MB / 0.5706 GB, free: 15.71 MB / 458.7 MB Notification: Performance of pre-optimization done (n=384): time 4.759e-06/0.1143, allocations: 0 / 0.5706 GB, free: 15.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=384): time 0.3687/0.483, allocations: 55.87 MB / 0.6251 GB, free: 135.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/0.4831, allocations: 145.3 kB / 0.6253 GB, free: 135.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003765/0.4869, allocations: 3.021 MB / 0.6282 GB, free: 134.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000508/0.4874, allocations: 90.52 kB / 0.6283 GB, free: 134.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001053/0.4884, allocations: 2.07 MB / 0.6303 GB, free: 134.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001002/0.4894, allocations: 1.382 MB / 0.6317 GB, free: 134.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001149/0.4906, allocations: 0.7015 MB / 0.6324 GB, free: 134 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.091e-05/0.4906, allocations: 480.7 kB / 0.6328 GB, free: 133.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00215/0.4928, allocations: 1.147 MB / 0.6339 GB, free: 133.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003711/0.4965, allocations: 1.976 MB / 0.6359 GB, free: 132.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006741/0.5032, allocations: 4.921 MB / 0.6407 GB, free: 127.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.716e-05/0.5032, allocations: 4 kB / 0.6407 GB, free: 127.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.03016/0.5334, allocations: 11.68 MB / 0.6521 GB, free: 116.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.217e-05/0.5335, allocations: 71.33 kB / 0.6521 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/0.5335, allocations: 20 kB / 0.6522 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01899/0.5525, allocations: 7.434 MB / 0.6594 GB, free: 108.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002048/0.5545, allocations: 0.6777 MB / 0.6601 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02573/0.5802, allocations: 13.67 MB / 0.6734 GB, free: 94.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003191/0.5834, allocations: 0.5352 MB / 0.674 GB, free: 93.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002229/0.5836, allocations: 152 kB / 0.6741 GB, free: 93.57 MB / 490.7 MB 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 (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): 1 system {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009434/0.5846, allocations: 412.9 kB / 0.6745 GB, free: 93.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005928/0.5852, allocations: 0.583 MB / 0.6751 GB, free: 92.57 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02044/0.6056, allocations: 11.25 MB / 0.686 GB, free: 81.26 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.257e-05/0.6056, allocations: 40 kB / 0.6861 GB, free: 81.22 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-05/0.6057, allocations: 28 kB / 0.6861 GB, free: 81.19 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.122e-05/0.6057, allocations: 19.94 kB / 0.6861 GB, free: 81.17 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02454/0.6303, allocations: 14.42 MB / 0.7002 GB, free: 66.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.6303, allocations: 0 / 0.7002 GB, free: 66.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/0.6315, allocations: 391.5 kB / 0.7006 GB, free: 66.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01957/0.651, allocations: 7.665 MB / 0.7081 GB, free: 58.74 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006021/0.6516, allocations: 71.98 kB / 0.7081 GB, free: 58.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02496/0.6766, allocations: 15.01 MB / 0.7228 GB, free: 43.44 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.6766, allocations: 3.938 kB / 0.7228 GB, free: 43.44 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02335/0.6999, allocations: 12.52 MB / 0.735 GB, free: 30.82 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/0.701, allocations: 0.5057 MB / 0.7355 GB, free: 30.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003622/0.7014, allocations: 60 kB / 0.7356 GB, free: 30.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001785/0.7031, allocations: 291.7 kB / 0.7358 GB, free: 30.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001601/0.7047, allocations: 0.7813 MB / 0.7366 GB, free: 29.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001849/0.7049, allocations: 91.98 kB / 0.7367 GB, free: 29.14 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001423/0.7063, allocations: 1.789 MB / 0.7384 GB, free: 27.35 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.7063, allocations: 0 / 0.7384 GB, free: 27.35 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003214/0.7096, allocations: 1.818 MB / 0.7402 GB, free: 25.6 MB / 490.7 MB 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.0004106/0.71, allocations: 206.2 kB / 0.7404 GB, free: 25.39 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009427/0.7194, allocations: 5.993 MB / 0.7463 GB, free: 19.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7194, allocations: 0 / 0.7463 GB, free: 19.32 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00701/0.7264, allocations: 4.533 MB / 0.7507 GB, free: 14.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/0.7278, allocations: 452.4 kB / 0.7511 GB, free: 14.27 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008661/0.7365, allocations: 7.43 MB / 0.7584 GB, free: 6.816 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.7369, allocations: 0.8114 MB / 0.7592 GB, free: 5.977 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006385/0.7376, allocations: 371.1 kB / 0.7595 GB, free: 5.609 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005731/0.7381, allocations: 264.4 kB / 0.7598 GB, free: 5.352 MB / 490.7 MB Notification: Performance of SimCode: time 1.894e-06/0.7381, allocations: 0 / 0.7598 GB, free: 5.352 MB / 490.7 MB Notification: Performance of Templates: time 0.2565/0.9946, allocations: 102.5 MB / 0.8599 GB, free: 139.2 MB / 0.5261 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=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.56146929692477]