Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001301/0.001301, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.9493/0.9493, allocations: 177.2 MB / 200.5 MB, free: 5.559 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.001307/0.001307, allocations: 160.6 kB / 257 MB, free: 13.06 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.2938/0.2938, allocations: 80.36 MB / 393.8 MB, free: 2.176 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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 0 / 490.1 MB, free: 11.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.151e-05/3.385e-05, allocations: 2.312 kB / 490.1 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01615/0.01618, allocations: 20.38 MB / 0.4985 GB, free: 7.281 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01129/0.02747, allocations: 4.874 MB / 0.5033 GB, free: 2.438 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003281/0.03076, allocations: 44.62 kB / 0.5033 GB, free: 2.395 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001715/0.03247, allocations: 0.8711 MB / 0.5042 GB, free: 1.516 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00506/0.03753, allocations: 2.358 MB / 0.5065 GB, free: 15.15 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003409/0.04094, allocations: 2.044 MB / 0.5085 GB, free: 13.11 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.005519/0.04646, allocations: 5.846 MB / 0.5142 GB, free: 7.234 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.04752, allocations: 0.861 MB / 0.515 GB, free: 6.32 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003143/0.05066, allocations: 3.311 MB / 0.5182 GB, free: 3 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00174/0.0524, allocations: 2.286 MB / 0.5205 GB, free: 0.707 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004105/0.05281, allocations: 436 kB / 0.5209 GB, free: 288 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008348/0.05365, allocations: 0.5974 MB / 0.5215 GB, free: 15.68 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006623/0.05431, allocations: 1.178 MB / 0.5226 GB, free: 14.5 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.05552, allocations: 1.729 MB / 0.5243 GB, free: 12.77 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003649/0.05917, allocations: 4.485 MB / 0.5287 GB, free: 8.262 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.05917, allocations: 0 / 0.5287 GB, free: 8.262 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.05917, allocations: 0 / 0.5287 GB, free: 8.262 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.178e-05/0.05922, allocations: 0 / 0.5287 GB, free: 8.262 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.0162/0.07541, allocations: 10.14 MB / 0.5386 GB, free: 14.03 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.307e-05/0.07548, allocations: 8.031 kB / 0.5386 GB, free: 14.02 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02295/0.09843, allocations: 4.788 MB / 0.5433 GB, free: 9.223 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004515/0.1029, allocations: 2.57 MB / 0.5458 GB, free: 6.562 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007389/0.1037, allocations: 1.013 MB / 0.5468 GB, free: 5.395 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005594/0.1042, allocations: 344 kB / 0.5471 GB, free: 5.059 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005717/0.11, allocations: 3.14 MB / 0.5502 GB, free: 1.879 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-05/0.11, allocations: 0 / 0.5502 GB, free: 1.879 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003509/0.1104, allocations: 140 kB / 0.5503 GB, free: 1.742 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.568e-05/0.1104, allocations: 87.94 kB / 0.5504 GB, free: 1.656 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004623/0.1151, allocations: 2.029 MB / 0.5524 GB, free: 15.61 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.02076/0.1358, allocations: 12.25 MB / 0.5643 GB, free: 2.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005546/0.1414, allocations: 2.566 MB / 0.5668 GB, free: 344 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001722/0.1431, allocations: 1.216 MB / 0.568 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002863/0.1434, allocations: 82.95 kB / 0.5681 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002375/0.1458, allocations: 1.847 MB / 0.5699 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=382): time 6.202e-06/0.1458, allocations: 0 / 0.5699 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=382): time 0.3577/0.5034, allocations: 56.27 MB / 0.6249 GB, free: 153.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.5035, allocations: 144 kB / 0.625 GB, free: 153.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002847/0.5063, allocations: 2.993 MB / 0.6279 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004843/0.5068, allocations: 93.8 kB / 0.628 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00104/0.5079, allocations: 2.073 MB / 0.63 GB, free: 152 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001072/0.5089, allocations: 1.372 MB / 0.6314 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009592/0.5099, allocations: 0.6851 MB / 0.632 GB, free: 150.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.9e-05/0.51, allocations: 476.8 kB / 0.6325 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001888/0.5119, allocations: 1.141 MB / 0.6336 GB, free: 150 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002162/0.514, allocations: 1.956 MB / 0.6355 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005861/0.5199, allocations: 4.846 MB / 0.6403 GB, free: 143.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.879e-05/0.5199, allocations: 8 kB / 0.6403 GB, free: 143.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=529) (initialization): time 0.02184/0.5417, allocations: 11.66 MB / 0.6517 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.922e-05/0.5418, allocations: 63.41 kB / 0.6517 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.448e-05/0.5419, allocations: 16 kB / 0.6517 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02066/0.5625, allocations: 7.598 MB / 0.6592 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002416/0.5649, allocations: 0.6553 MB / 0.6598 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02821/0.5931, allocations: 14.01 MB / 0.6735 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003604/0.5967, allocations: 0.5229 MB / 0.674 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002558/0.597, allocations: 148 kB / 0.6741 GB, free: 109.1 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.001161/0.5982, allocations: 413.1 kB / 0.6745 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000774/0.5989, allocations: 0.5829 MB / 0.6751 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02123/0.6202, allocations: 11.23 MB / 0.6861 GB, free: 96.85 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.192e-05/0.6202, allocations: 40 kB / 0.6861 GB, free: 96.81 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.96e-05/0.6202, allocations: 31.94 kB / 0.6861 GB, free: 96.78 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.142e-05/0.6203, allocations: 19.92 kB / 0.6861 GB, free: 96.76 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02617/0.6465, allocations: 14.39 MB / 0.7002 GB, free: 82.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.88e-05/0.6465, allocations: 0 / 0.7002 GB, free: 82.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/0.6479, allocations: 387.5 kB / 0.7006 GB, free: 82.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02071/0.6686, allocations: 7.68 MB / 0.7081 GB, free: 74.32 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000894/0.6695, allocations: 75.42 kB / 0.7081 GB, free: 74.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02728/0.6968, allocations: 15.01 MB / 0.7228 GB, free: 59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6968, allocations: 0 / 0.7228 GB, free: 59 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0242/0.721, allocations: 12.5 MB / 0.735 GB, free: 46.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/0.7222, allocations: 0.4974 MB / 0.7355 GB, free: 45.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004396/0.7226, allocations: 63.94 kB / 0.7355 GB, free: 45.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001821/0.7244, allocations: 287.7 kB / 0.7358 GB, free: 45.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001764/0.7262, allocations: 0.7839 MB / 0.7366 GB, free: 44.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002019/0.7264, allocations: 91.98 kB / 0.7367 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001525/0.7279, allocations: 1.773 MB / 0.7384 GB, free: 42.96 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.41e-07/0.7279, allocations: 0 / 0.7384 GB, free: 42.96 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003642/0.7316, allocations: 1.797 MB / 0.7402 GB, free: 41.23 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.0004693/0.732, allocations: 197.9 kB / 0.7404 GB, free: 41.03 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01/0.742, allocations: 6.098 MB / 0.7463 GB, free: 34.85 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.742, allocations: 0 / 0.7463 GB, free: 34.85 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007587/0.7496, allocations: 4.535 MB / 0.7507 GB, free: 30.25 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001943/0.7516, allocations: 451.5 kB / 0.7512 GB, free: 29.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009803/0.7614, allocations: 7.305 MB / 0.7583 GB, free: 22.48 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005409/0.7619, allocations: 0.7981 MB / 0.7591 GB, free: 21.65 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007601/0.7627, allocations: 371.1 kB / 0.7594 GB, free: 21.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005135/0.7632, allocations: 264.4 kB / 0.7597 GB, free: 21.03 MB / 0.5105 GB Notification: Performance of SimCode: time 1.793e-06/0.7632, allocations: 0 / 0.7597 GB, free: 21.03 MB / 0.5105 GB Notification: Performance of Templates: time 0.2683/1.031, allocations: 103.2 MB / 0.8604 GB, free: 127.8 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.417256335960701]