Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001701/0.001701, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.364/1.364, allocations: 205.1 MB / 221.8 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009979/0.0009979, allocations: 93.06 kB / 269.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0781/0.0781, allocations: 12.59 MB / 329.1 MB, free: 12.39 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2963/0.2963, allocations: 78.52 MB / 457.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.002356/0.002356, allocations: 102.3 kB / 0.5254 GB, free: 19.72 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1487, allocations: 68.12 MB / 0.592 GB, free: 15.67 MB / 394.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.00808/0.1568, allocations: 7.058 MB / 0.5989 GB, free: 8.566 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004724/0.1616, allocations: 2.022 MB / 0.6008 GB, free: 6.535 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001562/0.1632, allocations: 8 kB / 0.6008 GB, free: 6.527 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008299/0.164, allocations: 194.8 kB / 0.601 GB, free: 6.336 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002245/0.1663, allocations: 0.7412 MB / 0.6018 GB, free: 5.598 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.1676, allocations: 0.6039 MB / 0.6023 GB, free: 5 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001982/0.1696, allocations: 1.597 MB / 0.6039 GB, free: 3.398 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004651/0.1701, allocations: 293.3 kB / 0.6042 GB, free: 3.102 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008139/0.1709, allocations: 0.6221 MB / 0.6048 GB, free: 2.477 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008854/0.1718, allocations: 0.8244 MB / 0.6056 GB, free: 1.648 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001511/0.172, allocations: 76 kB / 0.6057 GB, free: 1.574 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005138/0.1725, allocations: 211.8 kB / 0.6059 GB, free: 1.367 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002803/0.1728, allocations: 294.6 kB / 0.6062 GB, free: 1.078 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005677/0.1734, allocations: 0.6444 MB / 0.6068 GB, free: 440 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.1749, allocations: 1.658 MB / 0.6084 GB, free: 14.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1749, allocations: 7.875 kB / 0.6084 GB, free: 14.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1749, allocations: 0 / 0.6084 GB, free: 14.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.1749, allocations: 0 / 0.6084 GB, free: 14.76 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.009226/0.1841, allocations: 2.782 MB / 0.6111 GB, free: 11.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.1842, allocations: 15.98 kB / 0.6111 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004607/0.1888, allocations: 0.7787 MB / 0.6119 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/0.1905, allocations: 0.9218 MB / 0.6128 GB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002867/0.1908, allocations: 260.2 kB / 0.613 GB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/0.191, allocations: 87.91 kB / 0.6131 GB, free: 9.758 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/0.1932, allocations: 1.11 MB / 0.6142 GB, free: 8.637 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.1932, allocations: 0 / 0.6142 GB, free: 8.637 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.444e-05/0.1933, allocations: 32 kB / 0.6142 GB, free: 8.605 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.1934, allocations: 16 kB / 0.6143 GB, free: 8.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00201/0.1954, allocations: 1.007 MB / 0.6152 GB, free: 7.582 MB / 410.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.00684/0.2022, allocations: 3.91 MB / 0.6191 GB, free: 3.492 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007377/0.2096, allocations: 2.407 MB / 0.6214 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001523/0.2112, allocations: 0.6918 MB / 0.6221 GB, free: 304 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.2113, allocations: 28.95 kB / 0.6221 GB, free: 276 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001612/0.213, allocations: 0.8295 MB / 0.6229 GB, free: 15.42 MB / 426.7 MB Notification: Performance of pre-optimization done (n=98): time 4.188e-06/0.213, allocations: 4 kB / 0.6229 GB, free: 15.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=98): time 0.02889/0.2419, allocations: 7.089 MB / 0.6299 GB, free: 8.266 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.339e-05/0.242, allocations: 115.8 kB / 0.63 GB, free: 8.129 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001854/0.2439, allocations: 1.143 MB / 0.6311 GB, free: 6.973 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002935/0.2442, allocations: 45.7 kB / 0.6311 GB, free: 6.922 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004145/0.2446, allocations: 0.4969 MB / 0.6316 GB, free: 6.418 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004289/0.245, allocations: 362.9 kB / 0.632 GB, free: 6.059 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005667/0.2456, allocations: 303.3 kB / 0.6322 GB, free: 5.758 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.2458, allocations: 309.1 kB / 0.6325 GB, free: 5.453 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/0.2474, allocations: 0.7925 MB / 0.6333 GB, free: 4.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001855/0.2492, allocations: 0.9694 MB / 0.6343 GB, free: 3.648 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3424/0.5917, allocations: 5.925 MB / 0.64 GB, free: 49.22 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/0.5918, allocations: 0.8438 kB / 0.64 GB, free: 49.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01651/0.6083, allocations: 4.504 MB / 0.6444 GB, free: 48.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.731e-05/0.6084, allocations: 60.09 kB / 0.6445 GB, free: 48.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/0.6085, allocations: 4.547 kB / 0.6445 GB, free: 48.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007133/0.6156, allocations: 1.666 MB / 0.6461 GB, free: 47.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/0.6174, allocations: 300.1 kB / 0.6464 GB, free: 47.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02081/0.6382, allocations: 7.945 MB / 0.6542 GB, free: 44.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002312/0.6406, allocations: 207 kB / 0.6544 GB, free: 44.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/0.6408, allocations: 61.66 kB / 0.6544 GB, free: 44.25 MB / 426.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (171): * Single equations (assignments): 168 * 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): 1 system {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006944/0.6415, allocations: 306.9 kB / 0.6547 GB, free: 44 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002664/0.6417, allocations: 130.1 kB / 0.6549 GB, free: 43.94 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01338/0.6551, allocations: 3.918 MB / 0.6587 GB, free: 42.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.213e-05/0.6552, allocations: 13.36 kB / 0.6587 GB, free: 42.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.021e-05/0.6552, allocations: 8.219 kB / 0.6587 GB, free: 42.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.236e-05/0.6552, allocations: 3.844 kB / 0.6587 GB, free: 42.98 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 postOpt removeSimpleEquations (simulation): time 0.01457/0.6698, allocations: 5.562 MB / 0.6641 GB, free: 39.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.6699, allocations: 0 / 0.6641 GB, free: 39.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007013/0.6706, allocations: 103.5 kB / 0.6642 GB, free: 39.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005209/0.6758, allocations: 1.601 MB / 0.6658 GB, free: 39.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001812/0.676, allocations: 27.3 kB / 0.6658 GB, free: 39.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01703/0.693, allocations: 8.774 MB / 0.6744 GB, free: 31.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.6931, allocations: 4 kB / 0.6744 GB, free: 31.15 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08752/0.7806, allocations: 33.47 MB / 0.7071 GB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004126/0.7811, allocations: 228.2 kB / 0.7073 GB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/0.7813, allocations: 20 kB / 0.7073 GB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/0.7825, allocations: 119 kB / 0.7074 GB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006602/0.7832, allocations: 188.6 kB / 0.7076 GB, free: 12.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.372e-05/0.7833, allocations: 31.98 kB / 0.7076 GB, free: 12.64 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001113/0.7844, allocations: 0.7673 MB / 0.7084 GB, free: 11.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.7844, allocations: 3.938 kB / 0.7084 GB, free: 11.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002121/0.7866, allocations: 0.6822 MB / 0.7091 GB, free: 11.18 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,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 (66): * Single equations (assignments): 63 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002871/0.7868, allocations: 131.2 kB / 0.7092 GB, free: 11.04 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006855/0.7937, allocations: 2.624 MB / 0.7117 GB, free: 8.375 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.7937, allocations: 0.9375 kB / 0.7117 GB, free: 8.375 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004261/0.798, allocations: 1.616 MB / 0.7133 GB, free: 6.723 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.7991, allocations: 104.6 kB / 0.7134 GB, free: 6.617 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008698/0.8078, allocations: 4.337 MB / 0.7177 GB, free: 2.223 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007315/0.8086, allocations: 1.164 MB / 0.7188 GB, free: 1.027 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00062/0.8092, allocations: 136.3 kB / 0.7189 GB, free: 0.8906 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/0.8095, allocations: 83.41 kB / 0.719 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of SimCode: time 1.052e-06/0.8095, allocations: 0 / 0.719 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of Templates: time 0.05638/0.8659, allocations: 33.02 MB / 0.7513 GB, free: 15.85 MB / 490.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)