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.001098/0.001098, allocations: 92.22 kB / 19.65 MB, free: 280 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 0.949/0.949, allocations: 177.1 MB / 200 MB, free: 5.496 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.00141/0.00141, allocations: 172.5 kB / 256.6 MB, free: 12.97 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.2824/0.2824, allocations: 80.24 MB / 393.4 MB, free: 3.199 MB / 362.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 2.294e-06/2.294e-06, allocations: 1.094 kB / 489.9 MB, free: 63.02 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.479e-05, allocations: 6.219 kB / 489.9 MB, free: 63.01 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01726/0.01729, allocations: 20.45 MB / 0.4984 GB, free: 42.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01228/0.02956, allocations: 4.869 MB / 0.5032 GB, free: 37.67 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00334/0.0329, allocations: 44 kB / 0.5032 GB, free: 37.63 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001861/0.03476, allocations: 0.875 MB / 0.5041 GB, free: 36.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004908/0.03967, allocations: 2.361 MB / 0.5064 GB, free: 34.38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002901/0.04257, allocations: 2.044 MB / 0.5084 GB, free: 32.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003789/0.04636, allocations: 5.846 MB / 0.5141 GB, free: 26.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009751/0.04734, allocations: 0.874 MB / 0.5149 GB, free: 25.59 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002423/0.04976, allocations: 3.307 MB / 0.5181 GB, free: 22.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001624/0.05138, allocations: 2.301 MB / 0.5204 GB, free: 19.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004901/0.05187, allocations: 436.8 kB / 0.5208 GB, free: 19.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007211/0.05259, allocations: 0.5974 MB / 0.5214 GB, free: 18.94 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004828/0.05308, allocations: 1.179 MB / 0.5225 GB, free: 17.76 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009143/0.05399, allocations: 1.721 MB / 0.5242 GB, free: 16.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002887/0.05688, allocations: 4.494 MB / 0.5286 GB, free: 11.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.05688, allocations: 0 / 0.5286 GB, free: 11.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.05688, allocations: 0 / 0.5286 GB, free: 11.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.735e-05/0.05692, allocations: 1.312 kB / 0.5286 GB, free: 11.52 MB / 410.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.01357/0.07049, allocations: 10.13 MB / 0.5385 GB, free: 1.305 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.07053, allocations: 8.031 kB / 0.5385 GB, free: 1.297 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01331/0.08384, allocations: 4.796 MB / 0.5432 GB, free: 12.49 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003025/0.08686, allocations: 2.562 MB / 0.5457 GB, free: 9.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005265/0.08739, allocations: 1.013 MB / 0.5467 GB, free: 8.672 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004018/0.08779, allocations: 348 kB / 0.547 GB, free: 8.332 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004067/0.09186, allocations: 3.136 MB / 0.5501 GB, free: 5.156 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.438e-05/0.0919, allocations: 0 / 0.5501 GB, free: 5.156 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000263/0.09216, allocations: 140 kB / 0.5502 GB, free: 5.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.821e-05/0.09221, allocations: 87.94 kB / 0.5503 GB, free: 4.934 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003282/0.09549, allocations: 2.033 MB / 0.5523 GB, free: 2.883 MB / 426.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.0163/0.1118, allocations: 12.24 MB / 0.5642 GB, free: 6.203 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004426/0.1162, allocations: 2.562 MB / 0.5668 GB, free: 3.617 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001721/0.1179, allocations: 1.212 MB / 0.5679 GB, free: 2.387 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003131/0.1183, allocations: 78.95 kB / 0.568 GB, free: 2.309 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002307/0.1206, allocations: 1.847 MB / 0.5698 GB, free: 416 kB / 442.7 MB Notification: Performance of pre-optimization done (n=382): time 5.431e-06/0.1206, allocations: 0 / 0.5698 GB, free: 416 kB / 442.7 MB Notification: Performance of matching and sorting (n=382): time 0.349/0.4696, allocations: 56.28 MB / 0.6248 GB, free: 135.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.4696, allocations: 146.2 kB / 0.6249 GB, free: 135.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003248/0.4729, allocations: 2.99 MB / 0.6278 GB, free: 134.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004392/0.4733, allocations: 92.33 kB / 0.6279 GB, free: 134.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009134/0.4742, allocations: 2.066 MB / 0.6299 GB, free: 134.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008905/0.4751, allocations: 1.376 MB / 0.6313 GB, free: 134 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008863/0.476, allocations: 0.6907 MB / 0.632 GB, free: 134 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.237e-05/0.4761, allocations: 480.7 kB / 0.6324 GB, free: 133.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/0.4778, allocations: 1.135 MB / 0.6335 GB, free: 133.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001914/0.4797, allocations: 1.962 MB / 0.6354 GB, free: 132.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00532/0.485, allocations: 4.851 MB / 0.6402 GB, free: 128.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.33e-05/0.485, allocations: 7.719 kB / 0.6402 GB, free: 128.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=529) (initialization): time 0.02071/0.5057, allocations: 11.67 MB / 0.6516 GB, free: 116.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.153e-05/0.5058, allocations: 63.41 kB / 0.6516 GB, free: 116.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/0.5058, allocations: 16 kB / 0.6517 GB, free: 116.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0195/0.5253, allocations: 7.583 MB / 0.6591 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/0.5273, allocations: 0.6669 MB / 0.6597 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02683/0.5541, allocations: 14.01 MB / 0.6734 GB, free: 94.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003079/0.5572, allocations: 0.5311 MB / 0.6739 GB, free: 93.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002294/0.5574, allocations: 148 kB / 0.6741 GB, free: 93.69 MB / 490.7 MB 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.0009772/0.5584, allocations: 405.7 kB / 0.6744 GB, free: 93.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006902/0.5591, allocations: 0.5829 MB / 0.675 GB, free: 92.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0207/0.5798, allocations: 11.23 MB / 0.686 GB, free: 81.39 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/0.5798, allocations: 37.83 kB / 0.686 GB, free: 81.36 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.466e-05/0.5798, allocations: 34.11 kB / 0.686 GB, free: 81.33 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.134e-05/0.5799, allocations: 19.92 kB / 0.6861 GB, free: 81.31 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02405/0.6039, allocations: 14.38 MB / 0.7001 GB, free: 66.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.6039, allocations: 3.984 kB / 0.7001 GB, free: 66.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.6049, allocations: 383.5 kB / 0.7005 GB, free: 66.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01923/0.6242, allocations: 7.683 MB / 0.708 GB, free: 58.89 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003111/0.6245, allocations: 67.98 kB / 0.708 GB, free: 58.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02499/0.6495, allocations: 15.01 MB / 0.7227 GB, free: 43.59 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6495, allocations: 0.9844 kB / 0.7227 GB, free: 43.59 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02346/0.6729, allocations: 12.51 MB / 0.7349 GB, free: 30.99 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/0.6741, allocations: 0.4949 MB / 0.7354 GB, free: 30.54 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000387/0.6745, allocations: 64 kB / 0.7355 GB, free: 30.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001805/0.6763, allocations: 295.7 kB / 0.7357 GB, free: 30.19 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001639/0.6779, allocations: 0.7723 MB / 0.7365 GB, free: 29.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001964/0.6781, allocations: 91.98 kB / 0.7366 GB, free: 29.32 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001439/0.6796, allocations: 1.773 MB / 0.7383 GB, free: 27.55 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6796, allocations: 0 / 0.7383 GB, free: 27.55 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00321/0.6828, allocations: 1.801 MB / 0.7401 GB, free: 25.81 MB / 490.7 MB 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.0004077/0.6832, allocations: 203.5 kB / 0.7403 GB, free: 25.61 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009707/0.6929, allocations: 6.095 MB / 0.7462 GB, free: 19.41 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.6929, allocations: 0 / 0.7462 GB, free: 19.41 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00748/0.7004, allocations: 4.525 MB / 0.7506 GB, free: 14.81 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001831/0.7022, allocations: 448.1 kB / 0.7511 GB, free: 14.38 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008983/0.7112, allocations: 7.325 MB / 0.7582 GB, free: 7.004 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/0.7117, allocations: 0.7981 MB / 0.759 GB, free: 6.176 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006544/0.7123, allocations: 371.1 kB / 0.7594 GB, free: 5.809 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005468/0.7129, allocations: 256.4 kB / 0.7596 GB, free: 5.559 MB / 490.7 MB Notification: Performance of SimCode: time 1.934e-06/0.7129, allocations: 0 / 0.7596 GB, free: 5.559 MB / 490.7 MB Notification: Performance of Templates: time 0.2547/0.9676, allocations: 103.1 MB / 0.8603 GB, free: 138.9 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: 6.693554732017219]