Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.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.0009873/0.0009873, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.9591/0.9591, allocations: 177.2 MB / 200.3 MB, free: 5.355 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.001135/0.001135, allocations: 159.3 kB / 256.9 MB, free: 12.81 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.2674/0.2674, allocations: 80.25 MB / 393.7 MB, free: 1.973 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.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 490.4 MB, free: 11.16 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.625e-05, allocations: 2.312 kB / 490.4 MB, free: 11.15 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01443/0.01446, allocations: 19.83 MB / 0.4982 GB, free: 7.254 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01039/0.02485, allocations: 4.878 MB / 0.503 GB, free: 2.406 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002054/0.02691, allocations: 45.75 kB / 0.5031 GB, free: 2.363 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.02833, allocations: 0.8711 MB / 0.5039 GB, free: 1.484 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003685/0.03201, allocations: 2.402 MB / 0.5063 GB, free: 15.08 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00305/0.03507, allocations: 2.043 MB / 0.5082 GB, free: 13.04 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003853/0.03892, allocations: 5.846 MB / 0.514 GB, free: 7.168 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009797/0.0399, allocations: 0.8649 MB / 0.5148 GB, free: 6.25 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002713/0.04261, allocations: 3.346 MB / 0.5181 GB, free: 2.895 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001669/0.04428, allocations: 2.289 MB / 0.5203 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004199/0.0447, allocations: 436 kB / 0.5207 GB, free: 176 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008063/0.04551, allocations: 0.5974 MB / 0.5213 GB, free: 15.57 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006/0.04611, allocations: 1.174 MB / 0.5225 GB, free: 14.39 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.0472, allocations: 1.729 MB / 0.5241 GB, free: 12.66 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003131/0.05033, allocations: 4.485 MB / 0.5285 GB, free: 8.156 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.05034, allocations: 0 / 0.5285 GB, free: 8.156 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.05034, allocations: 3.938 kB / 0.5285 GB, free: 8.152 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.843e-05/0.05037, allocations: 0 / 0.5285 GB, free: 8.152 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01384/0.06421, allocations: 10.24 MB / 0.5385 GB, free: 13.81 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.06426, allocations: 12.03 kB / 0.5385 GB, free: 13.8 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01791/0.08217, allocations: 4.792 MB / 0.5432 GB, free: 9 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003369/0.08554, allocations: 2.504 MB / 0.5457 GB, free: 6.406 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006541/0.08619, allocations: 1.009 MB / 0.5466 GB, free: 5.242 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004978/0.08669, allocations: 348 kB / 0.547 GB, free: 4.902 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004095/0.09078, allocations: 2.803 MB / 0.5497 GB, free: 2.059 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.17e-05/0.09084, allocations: 7.938 kB / 0.5497 GB, free: 2.051 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003142/0.09115, allocations: 140 kB / 0.5499 GB, free: 1.914 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.969e-05/0.09121, allocations: 87.94 kB / 0.5499 GB, free: 1.828 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002819/0.09403, allocations: 1.591 MB / 0.5515 GB, free: 224 kB / 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.01739/0.1114, allocations: 11.73 MB / 0.5629 GB, free: 4.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003455/0.1149, allocations: 2.297 MB / 0.5652 GB, free: 1.746 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/0.116, allocations: 0.9844 MB / 0.5661 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002808/0.1162, allocations: 94.94 kB / 0.5662 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001604/0.1179, allocations: 1.631 MB / 0.5678 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=382): time 5.46e-06/0.1179, allocations: 4 kB / 0.5678 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=382): time 0.3238/0.4417, allocations: 55.47 MB / 0.622 GB, free: 151.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.4417, allocations: 148 kB / 0.6221 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002158/0.4439, allocations: 2.879 MB / 0.625 GB, free: 150.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002336/0.4441, allocations: 89.55 kB / 0.625 GB, free: 150.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009151/0.445, allocations: 2.139 MB / 0.6271 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008698/0.4459, allocations: 1.38 MB / 0.6285 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008388/0.4467, allocations: 0.7025 MB / 0.6292 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.607e-05/0.4468, allocations: 484.6 kB / 0.6296 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/0.4482, allocations: 1.009 MB / 0.6306 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001633/0.4498, allocations: 1.855 MB / 0.6324 GB, free: 147.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004627/0.4544, allocations: 4.5 MB / 0.6368 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.655e-05/0.4544, allocations: 3.594 kB / 0.6368 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=529) (initialization): time 0.01905/0.4735, allocations: 11.29 MB / 0.6478 GB, free: 134.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.28e-05/0.4735, allocations: 63.41 kB / 0.6479 GB, free: 134.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.734e-05/0.4736, allocations: 19.94 kB / 0.6479 GB, free: 134.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01774/0.4913, allocations: 7.487 MB / 0.6552 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/0.4932, allocations: 0.6553 MB / 0.6559 GB, free: 126.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02325/0.5164, allocations: 13.43 MB / 0.669 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003017/0.5194, allocations: 0.528 MB / 0.6695 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000209/0.5196, allocations: 116 kB / 0.6696 GB, free: 112.6 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 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 (393): * Single equations (assignments): 390 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,45)} Notification: Performance of prepare postOptimizeDAE: time 0.0009781/0.5206, allocations: 404.8 kB / 0.67 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006372/0.5213, allocations: 0.5907 MB / 0.6706 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01771/0.539, allocations: 10.65 MB / 0.681 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.539, allocations: 39.94 kB / 0.681 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.089e-05/0.539, allocations: 28 kB / 0.6811 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.49e-05/0.539, allocations: 19.92 kB / 0.6811 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02089/0.5599, allocations: 13.34 MB / 0.6941 GB, free: 87.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.5599, allocations: 7.891 kB / 0.6941 GB, free: 87.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.5609, allocations: 383.5 kB / 0.6945 GB, free: 87.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01735/0.5783, allocations: 7.558 MB / 0.7019 GB, free: 79.48 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003107/0.5786, allocations: 75.92 kB / 0.7019 GB, free: 79.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02097/0.5996, allocations: 14.57 MB / 0.7162 GB, free: 64.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5996, allocations: 0 / 0.7162 GB, free: 64.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02025/0.6198, allocations: 11.64 MB / 0.7275 GB, free: 52.86 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/0.6209, allocations: 0.4987 MB / 0.728 GB, free: 52.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000365/0.6213, allocations: 64 kB / 0.7281 GB, free: 52.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001609/0.6229, allocations: 287.7 kB / 0.7283 GB, free: 52.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001558/0.6245, allocations: 0.7839 MB / 0.7291 GB, free: 51.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001819/0.6247, allocations: 67.98 kB / 0.7292 GB, free: 51.22 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009985/0.6257, allocations: 1.608 MB / 0.7307 GB, free: 49.61 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.6257, allocations: 0 / 0.7307 GB, free: 49.61 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003147/0.6288, allocations: 1.798 MB / 0.7325 GB, free: 47.87 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (246): * Single equations (assignments): 243 * 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.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003956/0.6292, allocations: 202.7 kB / 0.7327 GB, free: 47.67 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008391/0.6376, allocations: 5.749 MB / 0.7383 GB, free: 41.83 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6376, allocations: 0 / 0.7383 GB, free: 41.83 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006059/0.6437, allocations: 4.305 MB / 0.7425 GB, free: 37.46 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.645, allocations: 451 kB / 0.7429 GB, free: 37.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008387/0.6534, allocations: 7.302 MB / 0.7501 GB, free: 29.69 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005097/0.6539, allocations: 0.802 MB / 0.7509 GB, free: 28.86 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006462/0.6546, allocations: 363.1 kB / 0.7512 GB, free: 28.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007433/0.6553, allocations: 0.5057 MB / 0.7517 GB, free: 28 MB / 0.5105 GB Notification: Performance of SimCode: time 2.464e-06/0.6553, allocations: 0 / 0.7517 GB, free: 28 MB / 0.5105 GB Notification: Performance of Templates: time 0.2619/0.9172, allocations: 106.2 MB / 0.8554 GB, free: 129.7 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.941694979090244]