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.002299/0.002299, allocations: 85.48 kB / 19.44 MB, free: 344 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 1.561/1.561, allocations: 177.1 MB / 199.7 MB, free: 5.809 MB / 186.7 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.002226/0.002226, allocations: 156.6 kB / 256.3 MB, free: 13.16 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.512/0.512, allocations: 80.37 MB / 393.1 MB, free: 2.16 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.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.703e-06/1.703e-06, allocations: 0 / 489.4 MB, free: 11.74 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.273e-05/3.443e-05, allocations: 2.312 kB / 489.4 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.02653/0.02657, allocations: 20.54 MB / 0.4979 GB, free: 7.133 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01323/0.0398, allocations: 4.903 MB / 0.5027 GB, free: 2.262 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004048/0.04385, allocations: 44 kB / 0.5028 GB, free: 2.219 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003366/0.04721, allocations: 0.8832 MB / 0.5036 GB, free: 1.328 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008786/0.056, allocations: 2.365 MB / 0.5059 GB, free: 14.96 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006459/0.06246, allocations: 2.057 MB / 0.508 GB, free: 12.91 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01111/0.07357, allocations: 5.913 MB / 0.5137 GB, free: 6.969 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002841/0.07641, allocations: 0.8649 MB / 0.5146 GB, free: 6.051 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00776/0.08417, allocations: 3.346 MB / 0.5178 GB, free: 2.695 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00476/0.08893, allocations: 2.305 MB / 0.5201 GB, free: 392 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002048/0.09098, allocations: 444 kB / 0.5205 GB, free: 15.95 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002732/0.09371, allocations: 0.6013 MB / 0.5211 GB, free: 15.35 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002054/0.09576, allocations: 1.19 MB / 0.5223 GB, free: 14.15 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004803/0.1006, allocations: 1.748 MB / 0.524 GB, free: 12.4 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01151/0.1121, allocations: 6.407 MB / 0.5302 GB, free: 5.969 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1121, allocations: 0 / 0.5302 GB, free: 5.969 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1121, allocations: 0 / 0.5302 GB, free: 5.969 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002707/0.1124, allocations: 0 / 0.5302 GB, free: 5.969 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.03948/0.1518, allocations: 10.81 MB / 0.5408 GB, free: 11.05 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.1519, allocations: 8.031 kB / 0.5408 GB, free: 11.05 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02966/0.1816, allocations: 4.796 MB / 0.5455 GB, free: 6.242 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007941/0.1895, allocations: 2.667 MB / 0.5481 GB, free: 3.488 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001726/0.1912, allocations: 1.025 MB / 0.5491 GB, free: 2.309 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001684/0.1929, allocations: 352 kB / 0.5494 GB, free: 1.965 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01581/0.2087, allocations: 4.8 MB / 0.5541 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000121/0.2088, allocations: 0 / 0.5541 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00112/0.2099, allocations: 144 kB / 0.5542 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/0.2101, allocations: 87.94 kB / 0.5543 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01258/0.2226, allocations: 4.078 MB / 0.5583 GB, free: 8.805 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.04397/0.2666, allocations: 14.16 MB / 0.5721 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.013/0.2796, allocations: 3.954 MB / 0.576 GB, free: 6.23 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007113/0.2867, allocations: 2.474 MB / 0.5784 GB, free: 3.738 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008078/0.2875, allocations: 78.97 kB / 0.5785 GB, free: 3.66 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009011/0.2965, allocations: 3.241 MB / 0.5817 GB, free: 372 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=384): time 1.029e-05/0.2966, allocations: 7.938 kB / 0.5817 GB, free: 364 kB / 0.4948 GB Notification: Performance of matching and sorting (n=384): time 0.4983/0.7949, allocations: 60.96 MB / 0.6412 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.797e-05/0.795, allocations: 145.4 kB / 0.6413 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005209/0.8002, allocations: 3.866 MB / 0.6451 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000929/0.8011, allocations: 88.08 kB / 0.6452 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001384/0.8025, allocations: 2.226 MB / 0.6474 GB, free: 134 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001942/0.8044, allocations: 1.445 MB / 0.6488 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002967/0.8074, allocations: 0.7845 MB / 0.6495 GB, free: 132 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.894e-05/0.8074, allocations: 476.8 kB / 0.65 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005204/0.8127, allocations: 2.499 MB / 0.6524 GB, free: 129 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005815/0.8185, allocations: 3.41 MB / 0.6558 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01776/0.8362, allocations: 9.614 MB / 0.6652 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.056e-05/0.8363, allocations: 4.875 kB / 0.6652 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.05282/0.8891, allocations: 15.64 MB / 0.6804 GB, free: 99.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.418e-05/0.8892, allocations: 67.41 kB / 0.6805 GB, free: 99.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.65e-05/0.8892, allocations: 12 kB / 0.6805 GB, free: 99.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04417/0.9334, allocations: 9.15 MB / 0.6894 GB, free: 90.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003823/0.9372, allocations: 0.6787 MB / 0.6901 GB, free: 89.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0834/1.021, allocations: 31.2 MB / 0.7206 GB, free: 58.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005764/1.026, allocations: 0.5384 MB / 0.7211 GB, free: 57.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009432/1.027, allocations: 152 kB / 0.7213 GB, free: 57.78 MB / 0.5105 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 (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.002885/1.03, allocations: 0.7166 MB / 0.722 GB, free: 57.05 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001863/1.032, allocations: 0.583 MB / 0.7225 GB, free: 56.47 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04765/1.08, allocations: 15.06 MB / 0.7372 GB, free: 41.33 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.179e-05/1.08, allocations: 37.44 kB / 0.7373 GB, free: 41.29 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.162e-05/1.08, allocations: 28 kB / 0.7373 GB, free: 41.27 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.88e-05/1.08, allocations: 23.92 kB / 0.7373 GB, free: 41.24 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05274/1.133, allocations: 19.08 MB / 0.756 GB, free: 22.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.95e-05/1.133, allocations: 0 / 0.756 GB, free: 22.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002319/1.135, allocations: 395.5 kB / 0.7563 GB, free: 21.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04239/1.177, allocations: 9.381 MB / 0.7655 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009998/1.178, allocations: 71.98 kB / 0.7656 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.296/1.474, allocations: 30.39 MB / 0.7952 GB, free: 154.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.474, allocations: 0 / 0.7952 GB, free: 154.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05944/1.534, allocations: 18.5 MB / 0.8133 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001443/1.535, allocations: 0.5078 MB / 0.8138 GB, free: 154 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001539/1.537, allocations: 62.23 kB / 0.8139 GB, free: 154 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005102/1.542, allocations: 287.9 kB / 0.8141 GB, free: 154 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003402/1.545, allocations: 0.8277 MB / 0.8149 GB, free: 154 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00085/1.546, allocations: 93.22 kB / 0.815 GB, free: 154 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004331/1.551, allocations: 2.319 MB / 0.8173 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.1e-07/1.551, allocations: 0 / 0.8173 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007123/1.558, allocations: 1.805 MB / 0.8191 GB, free: 153.7 MB / 0.5261 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.001068/1.559, allocations: 202.3 kB / 0.8192 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02522/1.584, allocations: 8.719 MB / 0.8278 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.584, allocations: 3.875 kB / 0.8278 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01842/1.602, allocations: 5.893 MB / 0.8335 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004573/1.607, allocations: 474.4 kB / 0.834 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01588/1.623, allocations: 8.154 MB / 0.8419 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002087/1.625, allocations: 1.937 MB / 0.8438 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001608/1.626, allocations: 374.4 kB / 0.8442 GB, free: 138.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/1.628, allocations: 255.1 kB / 0.8444 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.363e-06/1.628, allocations: 8 kB / 0.8444 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.1147/1.742, allocations: 102.5 MB / 0.9445 GB, free: 40.25 MB / 0.5261 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=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.49587674101349]