Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 107 kB / 16.41 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 240.1 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 184.5 kB / 290.4 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5312/0.5312, allocations: 91.9 MB / 432.4 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 81.66 kB / 0.5735 GB, free: 33.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1429, allocations: 71.28 MB / 0.6431 GB, free: 3.355 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.02084/0.1638, allocations: 21.93 MB / 0.6645 GB, free: 13.34 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01287/0.1767, allocations: 4.888 MB / 0.6693 GB, free: 8.426 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005345/0.1821, allocations: 40 kB / 0.6693 GB, free: 8.387 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003843/0.1861, allocations: 0.8828 MB / 0.6702 GB, free: 7.496 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009616/0.1957, allocations: 2.044 MB / 0.6722 GB, free: 5.441 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006824/0.2026, allocations: 2.071 MB / 0.6742 GB, free: 3.402 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01099/0.2136, allocations: 5.767 MB / 0.6799 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003463/0.2171, allocations: 1.321 MB / 0.6812 GB, free: 12.24 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004674/0.2218, allocations: 2.349 MB / 0.6834 GB, free: 9.879 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005279/0.2271, allocations: 2.967 MB / 0.6863 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002258/0.2294, allocations: 444 kB / 0.6868 GB, free: 6.465 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003269/0.2327, allocations: 0.5859 MB / 0.6873 GB, free: 5.879 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002171/0.2349, allocations: 1.167 MB / 0.6885 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005189/0.2401, allocations: 2.629 MB / 0.691 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01046/0.2505, allocations: 6.258 MB / 0.6972 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2506, allocations: 0 / 0.6972 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.494e-06/0.2506, allocations: 0 / 0.6972 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002968/0.2509, allocations: 0 / 0.6972 GB, free: 11.78 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.03517/0.2861, allocations: 9.221 MB / 0.7062 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.2862, allocations: 15.97 kB / 0.7062 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02685/0.313, allocations: 4.005 MB / 0.7101 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007696/0.3208, allocations: 2.674 MB / 0.7127 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001365/0.3222, allocations: 0.9651 MB / 0.7136 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001898/0.3241, allocations: 348 kB / 0.714 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01537/0.3395, allocations: 4.735 MB / 0.7186 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001333/0.3397, allocations: 7.938 kB / 0.7186 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001198/0.3409, allocations: 144 kB / 0.7187 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.254e-05/0.341, allocations: 84 kB / 0.7188 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01175/0.3528, allocations: 4.252 MB / 0.723 GB, free: 0.9844 MB / 0.5137 GB 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.04227/0.3951, allocations: 18.26 MB / 0.7408 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01377/0.4089, allocations: 5.009 MB / 0.7457 GB, free: 8.449 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006712/0.4156, allocations: 2.79 MB / 0.7484 GB, free: 5.648 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008135/0.4165, allocations: 74.92 kB / 0.7485 GB, free: 5.574 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008301/0.4248, allocations: 3.187 MB / 0.7516 GB, free: 2.348 MB / 0.545 GB Notification: Performance of pre-optimization done (n=384): time 8.196e-06/0.4248, allocations: 3.938 kB / 0.7516 GB, free: 2.344 MB / 0.545 GB Notification: Performance of matching and sorting (n=384): time 0.7415/1.166, allocations: 67.76 MB / 0.8178 GB, free: 83.18 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.348e-05/1.167, allocations: 141.8 kB / 0.8179 GB, free: 83.01 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004219/1.171, allocations: 3.253 MB / 0.8211 GB, free: 80.62 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009135/1.172, allocations: 88.58 kB / 0.8212 GB, free: 80.58 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001477/1.173, allocations: 1.977 MB / 0.8231 GB, free: 79.25 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001242/1.174, allocations: 1.321 MB / 0.8244 GB, free: 77.94 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001253/1.176, allocations: 0.6822 MB / 0.8251 GB, free: 77.25 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.625e-05/1.176, allocations: 305.1 kB / 0.8254 GB, free: 76.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004855/1.181, allocations: 2.601 MB / 0.8279 GB, free: 74.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005142/1.186, allocations: 3.233 MB / 0.8311 GB, free: 70.88 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06631/1.252, allocations: 18.99 MB / 0.8496 GB, free: 51.63 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.235e-05/1.252, allocations: 8 kB / 0.8496 GB, free: 51.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.06007/1.312, allocations: 17.29 MB / 0.8665 GB, free: 34.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.489e-05/1.312, allocations: 72.02 kB / 0.8666 GB, free: 34.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.322e-05/1.312, allocations: 12 kB / 0.8666 GB, free: 34.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02565/1.338, allocations: 7.157 MB / 0.8736 GB, free: 27.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003653/1.342, allocations: 0.6826 MB / 0.8742 GB, free: 26.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08812/1.43, allocations: 33.3 MB / 0.9067 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006548/1.437, allocations: 0.6272 MB / 0.9074 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001227/1.438, allocations: 160 kB / 0.9075 GB, free: 8.094 MB / 0.5762 GB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (407): * Single equations (assignments): 404 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003443/1.441, allocations: 0.6608 MB / 0.9082 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001871/1.443, allocations: 462.2 kB / 0.9086 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06039/1.504, allocations: 16.87 MB / 0.9251 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.357e-05/1.504, allocations: 36 kB / 0.9251 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001207/1.504, allocations: 31.94 kB / 0.9251 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001133/1.504, allocations: 19.92 kB / 0.9252 GB, free: 5.93 MB / 0.5919 GB 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.06985/1.574, allocations: 21.88 MB / 0.9465 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.374e-05/1.574, allocations: 0 / 0.9465 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002569/1.576, allocations: 388.8 kB / 0.9469 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02804/1.605, allocations: 7.373 MB / 0.9541 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001347/1.606, allocations: 79.92 kB / 0.9542 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09291/1.699, allocations: 31.77 MB / 0.9852 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.699, allocations: 0 / 0.9852 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06999/1.769, allocations: 20.26 MB / 1.005 GB, free: 3.707 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001893/1.771, allocations: 0.5532 MB / 1.006 GB, free: 3.129 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001744/1.773, allocations: 71.94 kB / 1.006 GB, free: 3.059 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005539/1.778, allocations: 372.8 kB / 1.006 GB, free: 2.695 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003902/1.782, allocations: 0.7806 MB / 1.007 GB, free: 1.914 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000886/1.783, allocations: 111.7 kB / 1.007 GB, free: 1.809 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004402/1.787, allocations: 2.133 MB / 1.009 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.2e-07/1.787, allocations: 0 / 1.009 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.007449/1.795, allocations: 1.804 MB / 1.011 GB, free: 13.87 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (248): * Single equations (assignments): 245 * 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.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001162/1.796, allocations: 198.8 kB / 1.011 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.02896/1.825, allocations: 9.19 MB / 1.02 GB, free: 4.426 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/1.825, allocations: 0 / 1.02 GB, free: 4.426 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0219/1.847, allocations: 6.176 MB / 1.026 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005408/1.853, allocations: 399.9 kB / 1.026 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02066/1.873, allocations: 8.01 MB / 1.034 GB, free: 5.793 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003348/1.877, allocations: 2.451 MB / 1.036 GB, free: 3.305 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001883/1.879, allocations: 279.4 kB / 1.037 GB, free: 3.031 MB / 0.7012 GB Notification: Performance of SimCode: time 1.152e-06/1.879, allocations: 0 / 1.037 GB, free: 3.031 MB / 0.7012 GB Notification: Performance of Templates: time 0.4817/2.36, allocations: 89.62 MB / 1.124 GB, free: 178.2 MB / 0.7012 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)