Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.001284/0.001284, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.9448/0.9448, allocations: 177.2 MB / 201 MB, free: 5.723 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.001313/0.001313, allocations: 152.6 kB / 257.7 MB, free: 13 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2874/0.2874, allocations: 80.24 MB / 394.5 MB, free: 2.016 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 491.1 MB, free: 11.21 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.588e-05, allocations: 4.562 kB / 491.1 MB, free: 11.21 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01381/0.01384, allocations: 12.43 MB / 0.4917 GB, free: 14.73 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006999/0.02083, allocations: 3.473 MB / 0.4951 GB, free: 11.28 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.02212, allocations: 31.94 kB / 0.4951 GB, free: 11.25 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.02321, allocations: 0.5505 MB / 0.4957 GB, free: 10.69 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002838/0.02605, allocations: 1.626 MB / 0.4973 GB, free: 9.07 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002197/0.02824, allocations: 1.52 MB / 0.4988 GB, free: 7.59 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002689/0.03093, allocations: 3.728 MB / 0.5024 GB, free: 3.848 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006539/0.03159, allocations: 0.5815 MB / 0.503 GB, free: 3.203 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00163/0.03322, allocations: 2.147 MB / 0.5051 GB, free: 1.051 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001277/0.03449, allocations: 1.566 MB / 0.5066 GB, free: 15.48 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002958/0.03479, allocations: 288.5 kB / 0.5069 GB, free: 15.2 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005937/0.03538, allocations: 455.6 kB / 0.5073 GB, free: 14.75 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004685/0.03585, allocations: 0.7823 MB / 0.5081 GB, free: 13.97 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000725/0.03658, allocations: 1.082 MB / 0.5091 GB, free: 12.88 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002084/0.03866, allocations: 2.89 MB / 0.5119 GB, free: 9.98 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.03866, allocations: 0 / 0.5119 GB, free: 9.98 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.03866, allocations: 0 / 0.5119 GB, free: 9.98 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2e-05/0.03868, allocations: 0 / 0.5119 GB, free: 9.98 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.01188/0.05056, allocations: 7.65 MB / 0.5194 GB, free: 2.207 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.05061, allocations: 12.03 kB / 0.5194 GB, free: 2.195 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007899/0.05851, allocations: 2.725 MB / 0.5221 GB, free: 15.46 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/0.06041, allocations: 1.699 MB / 0.5237 GB, free: 13.7 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004609/0.06087, allocations: 0.8178 MB / 0.5245 GB, free: 12.75 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002948/0.06116, allocations: 212 kB / 0.5247 GB, free: 12.54 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002291/0.06345, allocations: 1.8 MB / 0.5265 GB, free: 10.64 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.217e-05/0.06349, allocations: 4 kB / 0.5265 GB, free: 10.64 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001837/0.06367, allocations: 84 kB / 0.5266 GB, free: 10.56 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.947e-05/0.0637, allocations: 48 kB / 0.5266 GB, free: 10.51 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001579/0.06528, allocations: 1.05 MB / 0.5277 GB, free: 9.406 MB / 458.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.009085/0.07436, allocations: 6.597 MB / 0.5341 GB, free: 2.648 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003351/0.07772, allocations: 1.944 MB / 0.536 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008524/0.07857, allocations: 0.7395 MB / 0.5367 GB, free: 15.91 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001861/0.07875, allocations: 57.97 kB / 0.5368 GB, free: 15.85 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00138/0.08013, allocations: 1.18 MB / 0.5379 GB, free: 14.63 MB / 474.7 MB Notification: Performance of pre-optimization done (n=247): time 5.53e-06/0.08014, allocations: 0 / 0.5379 GB, free: 14.63 MB / 474.7 MB Notification: Performance of matching and sorting (n=247): time 0.05309/0.1332, allocations: 21.69 MB / 0.5591 GB, free: 8.852 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.014e-05/0.1333, allocations: 188.2 kB / 0.5593 GB, free: 8.629 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002023/0.1353, allocations: 1.968 MB / 0.5612 GB, free: 6.648 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002587/0.1356, allocations: 77.7 kB / 0.5613 GB, free: 6.566 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007543/0.1364, allocations: 1.289 MB / 0.5625 GB, free: 5.266 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007893/0.1371, allocations: 0.914 MB / 0.5634 GB, free: 4.344 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008043/0.1379, allocations: 0.5842 MB / 0.564 GB, free: 3.746 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1381, allocations: 476.8 kB / 0.5645 GB, free: 3.277 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.1393, allocations: 0.8757 MB / 0.5653 GB, free: 2.375 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.1407, allocations: 1.343 MB / 0.5666 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004069/0.1448, allocations: 3.466 MB / 0.57 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/0.1448, allocations: 8 kB / 0.57 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=407) (initialization): time 0.01567/0.1604, allocations: 8.243 MB / 0.5781 GB, free: 4.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.999e-05/0.1605, allocations: 122.8 kB / 0.5782 GB, free: 4.695 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.1605, allocations: 4 kB / 0.5782 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01403/0.1746, allocations: 5.36 MB / 0.5834 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001977/0.1765, allocations: 0.5538 MB / 0.584 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01739/0.1939, allocations: 9.317 MB / 0.5931 GB, free: 5.336 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002501/0.1964, allocations: 406.1 kB / 0.5935 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002351/0.1967, allocations: 91.95 kB / 0.5935 GB, free: 4.848 MB / 0.5105 GB Warning: Assuming fixed start value for the following 6 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 order3_1.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 (319): * Single equations (assignments): 314 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0008866/0.1976, allocations: 373 kB / 0.5939 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005813/0.1981, allocations: 378 kB / 0.5943 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2286/0.4267, allocations: 7.458 MB / 0.6015 GB, free: 153.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.603e-05/0.4267, allocations: 27.61 kB / 0.6016 GB, free: 153.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.52e-05/0.4268, allocations: 18.5 kB / 0.6016 GB, free: 153.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.157e-05/0.4268, allocations: 19.64 kB / 0.6016 GB, free: 153.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01865/0.4455, allocations: 9.496 MB / 0.6109 GB, free: 152.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.4455, allocations: 1.281 kB / 0.6109 GB, free: 152.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007639/0.4462, allocations: 251.9 kB / 0.6111 GB, free: 152.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01358/0.4598, allocations: 5.247 MB / 0.6162 GB, free: 152.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002079/0.46, allocations: 49.59 kB / 0.6163 GB, free: 152.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01583/0.4759, allocations: 13.03 MB / 0.629 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4759, allocations: 0 / 0.629 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01426/0.4901, allocations: 8.237 MB / 0.6371 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004472/0.4906, allocations: 343 kB / 0.6374 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002696/0.4908, allocations: 46.75 kB / 0.6374 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.4919, allocations: 215.8 kB / 0.6376 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008537/0.4928, allocations: 0.5757 MB / 0.6382 GB, free: 144 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/0.4929, allocations: 53.73 kB / 0.6382 GB, free: 143.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007107/0.4936, allocations: 1.116 MB / 0.6393 GB, free: 143.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4936, allocations: 0 / 0.6393 GB, free: 143.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002008/0.4956, allocations: 1.169 MB / 0.6405 GB, free: 142.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (156): * Single equations (assignments): 151 * 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 {(66,22,7.7%)} * 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.0003377/0.496, allocations: 176.6 kB / 0.6406 GB, free: 142 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00589/0.5019, allocations: 4.261 MB / 0.6448 GB, free: 137.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.5019, allocations: 0 / 0.6448 GB, free: 137.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004241/0.5061, allocations: 3.173 MB / 0.6479 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009421/0.5071, allocations: 307.4 kB / 0.6482 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005081/0.5121, allocations: 4.86 MB / 0.6529 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.5125, allocations: 0.536 MB / 0.6535 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004798/0.513, allocations: 255.4 kB / 0.6537 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005544/0.5135, allocations: 378.1 kB / 0.6541 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of SimCode: time 9.31e-07/0.5135, allocations: 0 / 0.6541 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.06521/0.5787, allocations: 78.21 MB / 0.7305 GB, free: 50.23 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.621250634081662]