Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 225.6 MB / 246.2 MB, free: 13.61 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 186.7 kB / 301.4 MB, free: 9.121 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4604/0.4604, allocations: 79.72 MB / 436.3 MB, free: 5.594 MB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002353/0.002353, allocations: 83.86 kB / 0.5817 GB, free: 8.543 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1336, allocations: 72.09 MB / 0.6521 GB, free: 360 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01478/0.1483, allocations: 13.85 MB / 0.6656 GB, free: 2.43 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008209/0.1565, allocations: 3.511 MB / 0.669 GB, free: 14.91 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002216/0.1588, allocations: 28 kB / 0.669 GB, free: 14.88 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001831/0.1606, allocations: 0.5654 MB / 0.6696 GB, free: 14.31 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005436/0.166, allocations: 1.589 MB / 0.6711 GB, free: 12.72 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004213/0.1702, allocations: 1.512 MB / 0.6726 GB, free: 11.23 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006176/0.1764, allocations: 3.777 MB / 0.6763 GB, free: 7.438 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001658/0.1781, allocations: 0.6162 MB / 0.6769 GB, free: 6.77 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002814/0.1809, allocations: 1.548 MB / 0.6784 GB, free: 5.215 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003169/0.1841, allocations: 2.011 MB / 0.6804 GB, free: 3.195 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001128/0.1852, allocations: 288 kB / 0.6807 GB, free: 2.914 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001523/0.1867, allocations: 447.8 kB / 0.6811 GB, free: 2.477 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001221/0.1879, allocations: 0.7779 MB / 0.6818 GB, free: 1.695 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002705/0.1906, allocations: 1.647 MB / 0.6835 GB, free: 40 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00677/0.1974, allocations: 4.041 MB / 0.6874 GB, free: 11.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1974, allocations: 0 / 0.6874 GB, free: 11.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1974, allocations: 0 / 0.6874 GB, free: 11.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001383/0.1975, allocations: 0 / 0.6874 GB, free: 11.98 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.02485/0.2224, allocations: 6.752 MB / 0.694 GB, free: 5.129 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.2224, allocations: 12.02 kB / 0.694 GB, free: 5.117 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01549/0.2379, allocations: 2.292 MB / 0.6962 GB, free: 2.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004884/0.2428, allocations: 1.92 MB / 0.6981 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2775/0.5203, allocations: 0.7289 MB / 0.6988 GB, free: 40.54 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001095/0.5214, allocations: 216 kB / 0.699 GB, free: 40.54 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009358/0.5307, allocations: 3.041 MB / 0.702 GB, free: 40.36 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.463e-05/0.5308, allocations: 0 / 0.702 GB, free: 40.36 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002909/0.5311, allocations: 87.73 kB / 0.7021 GB, free: 40.36 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.778e-05/0.5311, allocations: 49.34 kB / 0.7021 GB, free: 40.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007696/0.5388, allocations: 2.798 MB / 0.7049 GB, free: 39.48 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.02235/0.5612, allocations: 9.875 MB / 0.7145 GB, free: 34.46 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01054/0.5717, allocations: 3.991 MB / 0.7184 GB, free: 32.94 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004465/0.5762, allocations: 1.782 MB / 0.7202 GB, free: 32.28 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004236/0.5766, allocations: 45.78 kB / 0.7202 GB, free: 32.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005013/0.5816, allocations: 2.25 MB / 0.7224 GB, free: 31.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=249): time 5.55e-06/0.5816, allocations: 0 / 0.7224 GB, free: 31.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=249): time 0.1066/0.6882, allocations: 27.34 MB / 0.7491 GB, free: 11.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.6882, allocations: 192.2 kB / 0.7493 GB, free: 11.33 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003009/0.6912, allocations: 2.318 MB / 0.7515 GB, free: 9.012 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007118/0.692, allocations: 69.7 kB / 0.7516 GB, free: 8.938 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006211/0.6926, allocations: 1.196 MB / 0.7528 GB, free: 7.824 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00101/0.6936, allocations: 0.9193 MB / 0.7537 GB, free: 7.039 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00099/0.6946, allocations: 0.566 MB / 0.7542 GB, free: 6.465 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.947e-05/0.6946, allocations: 305.1 kB / 0.7545 GB, free: 6.164 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003686/0.6983, allocations: 1.97 MB / 0.7564 GB, free: 4.191 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003983/0.7023, allocations: 2.338 MB / 0.7587 GB, free: 1.762 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05888/0.7612, allocations: 14.23 MB / 0.7726 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.688e-05/0.7612, allocations: 4 kB / 0.7726 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04451/0.8057, allocations: 12.49 MB / 0.7848 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001418/0.8058, allocations: 114.8 kB / 0.7849 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.912e-05/0.8059, allocations: 8 kB / 0.7849 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01917/0.825, allocations: 5.264 MB / 0.7901 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003432/0.8285, allocations: 0.5812 MB / 0.7907 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06299/0.8915, allocations: 23.2 MB / 0.8133 GB, free: 9.426 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004716/0.8962, allocations: 0.4918 MB / 0.8138 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006759/0.8968, allocations: 121.5 kB / 0.8139 GB, free: 8.875 MB / 0.545 GB Warning: Assuming fixed start value for the following 7 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 Syn2.delta:VARIABLE(flow=false start = Syn2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Syn2.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 (334): * Single equations (assignments): 329 * 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): 1 system {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001597/0.8984, allocations: 0.5329 MB / 0.8144 GB, free: 8.328 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007757/0.8992, allocations: 314 kB / 0.8147 GB, free: 8.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04107/0.9403, allocations: 11.85 MB / 0.8263 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.763e-05/0.9403, allocations: 24 kB / 0.8263 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.631e-05/0.9404, allocations: 20 kB / 0.8263 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.328e-05/0.9404, allocations: 20.45 kB / 0.8264 GB, free: 12.02 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.04736/0.9878, allocations: 15.47 MB / 0.8415 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-05/0.9878, allocations: 4.062 kB / 0.8415 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/0.9895, allocations: 247.6 kB / 0.8417 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01869/1.008, allocations: 5.303 MB / 0.8469 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006264/1.009, allocations: 51.98 kB / 0.8469 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0633/1.072, allocations: 24.95 MB / 0.8713 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/1.072, allocations: 3.984 kB / 0.8713 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04717/1.119, allocations: 14.24 MB / 0.8852 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/1.12, allocations: 435.4 kB / 0.8856 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00108/1.121, allocations: 44 kB / 0.8857 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003694/1.125, allocations: 295.6 kB / 0.886 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002427/1.128, allocations: 0.588 MB / 0.8865 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000437/1.128, allocations: 64.92 kB / 0.8866 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002846/1.131, allocations: 1.527 MB / 0.8881 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/1.131, allocations: 0 / 0.8881 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004318/1.135, allocations: 1.19 MB / 0.8892 GB, free: 10.92 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,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 (158): * Single equations (assignments): 153 * 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 {(67,21,7.5%)} * 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.0004837/1.136, allocations: 174.9 kB / 0.8894 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01903/1.155, allocations: 6.351 MB / 0.8956 GB, free: 4.297 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.907e-05/1.155, allocations: 0.5 kB / 0.8956 GB, free: 4.297 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.01394/1.169, allocations: 4.273 MB / 0.8998 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/1.171, allocations: 265.4 kB / 0.9 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/1.182, allocations: 5.533 MB / 0.9054 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001685/1.184, allocations: 1.811 MB / 0.9072 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001252/1.185, allocations: 266.6 kB / 0.9075 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006413/1.186, allocations: 179.4 kB / 0.9076 GB, free: 7.848 MB / 0.6387 GB Notification: Performance of SimCode: time 1.433e-06/1.186, allocations: 0 / 0.9076 GB, free: 7.848 MB / 0.6387 GB Notification: Performance of Templates: time 0.3929/1.579, allocations: 66.27 MB / 0.9723 GB, free: 229.6 MB / 0.6856 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.533714288845658]