Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00632/0.00632, allocations: 167.2 kB / 15.13 MB, free: 6.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.64/1.64, allocations: 223.3 MB / 239.1 MB, free: 1.723 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007575/0.0007577, allocations: 99.28 kB / 290.3 MB, free: 13.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5163/0.5163, allocations: 78.61 MB / 420 MB, free: 44.14 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004162/0.0004162, allocations: 12 kB / 499.9 MB, free: 2.91 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4022, allocations: 69.34 MB / 0.5559 GB, free: 38.73 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR): time 0.004878/0.4071, allocations: 4.783 MB / 0.5606 GB, free: 38.21 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004101/0.4113, allocations: 1.679 MB / 0.5622 GB, free: 37.15 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.4124, allocations: 10.72 kB / 0.5622 GB, free: 37.15 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005112/0.4129, allocations: 126 kB / 0.5623 GB, free: 37.09 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation transformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.001781/0.4147, allocations: 0.5282 MB / 0.5629 GB, free: 36.75 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.4158, allocations: 378.9 kB / 0.5632 GB, free: 36.56 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001488/0.4173, allocations: 1.078 MB / 0.5643 GB, free: 35.99 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004049/0.4177, allocations: 191 kB / 0.5644 GB, free: 35.91 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007019/0.4184, allocations: 406 kB / 0.5648 GB, free: 35.73 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006685/0.4191, allocations: 0.5139 MB / 0.5653 GB, free: 35.52 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.4192, allocations: 50 kB / 0.5654 GB, free: 35.52 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005101/0.4197, allocations: 174.3 kB / 0.5655 GB, free: 35.48 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.4199, allocations: 189.2 kB / 0.5657 GB, free: 35.37 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.4201, allocations: 176.5 kB / 0.5659 GB, free: 35.25 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009853/0.4211, allocations: 1.054 MB / 0.5669 GB, free: 34.96 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.4211, allocations: 5.031 kB / 0.5669 GB, free: 34.96 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4211, allocations: 0 / 0.5669 GB, free: 34.96 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.667e-05/0.4211, allocations: 0 / 0.5669 GB, free: 34.96 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.005423/0.4266, allocations: 1.715 MB / 0.5686 GB, free: 34.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.4266, allocations: 8.594 kB / 0.5686 GB, free: 34.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003309/0.4299, allocations: 0.5323 MB / 0.5691 GB, free: 34.01 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.431, allocations: 0.6523 MB / 0.5698 GB, free: 33.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/0.4312, allocations: 164.3 kB / 0.5699 GB, free: 33.42 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.4313, allocations: 57.31 kB / 0.57 GB, free: 33.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.4327, allocations: 0.821 MB / 0.5708 GB, free: 33.08 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.4328, allocations: 3.938 kB / 0.5708 GB, free: 33.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.275e-05/0.4328, allocations: 28.48 kB / 0.5708 GB, free: 33.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.4329, allocations: 13.34 kB / 0.5708 GB, free: 33.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.4342, allocations: 0.7219 MB / 0.5715 GB, free: 32.81 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.004778/0.4389, allocations: 2.938 MB / 0.5744 GB, free: 31.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01331/0.4523, allocations: 3.954 MB / 0.5783 GB, free: 30.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0012/0.4535, allocations: 0.5146 MB / 0.5788 GB, free: 30.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/0.4537, allocations: 9.438 kB / 0.5788 GB, free: 30.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.4537, allocations: 45.25 kB / 0.5788 GB, free: 30.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=64): time 2.495e-06/0.4537, allocations: 0 / 0.5788 GB, free: 30.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=64): time 0.01323/0.4669, allocations: 4.234 MB / 0.583 GB, free: 29.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.467, allocations: 90.59 kB / 0.583 GB, free: 28.99 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/0.4684, allocations: 0.7828 MB / 0.5838 GB, free: 28.63 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001757/0.4686, allocations: 40.77 kB / 0.5838 GB, free: 28.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000283/0.4689, allocations: 367.3 kB / 0.5842 GB, free: 28.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003317/0.4693, allocations: 242.7 kB / 0.5844 GB, free: 28.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.9e-05/0.4694, allocations: 19.94 kB / 0.5844 GB, free: 28.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.966e-05/0.4695, allocations: 352.5 kB / 0.5848 GB, free: 27.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.4707, allocations: 0.584 MB / 0.5854 GB, free: 27.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/0.4719, allocations: 0.6956 MB / 0.586 GB, free: 27.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.4733, allocations: 0.6355 MB / 0.5867 GB, free: 26.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.4733, allocations: 0.8125 kB / 0.5867 GB, free: 26.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00832/0.4816, allocations: 2.858 MB / 0.5894 GB, free: 26.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.4817, allocations: 142.8 kB / 0.5896 GB, free: 25.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.4818, allocations: 2.25 kB / 0.5896 GB, free: 25.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004786/0.4866, allocations: 1.205 MB / 0.5908 GB, free: 25.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.4876, allocations: 171.3 kB / 0.5909 GB, free: 25.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/0.4994, allocations: 5.117 MB / 0.5959 GB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/0.5012, allocations: 140 kB / 0.5961 GB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002681/0.5015, allocations: 35.56 kB / 0.5961 GB, free: 22.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.5015, allocations: 7.906 kB / 0.5961 GB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008428/0.5099, allocations: 2.726 MB / 0.5988 GB, free: 22.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.51, allocations: 1.062 kB / 0.5988 GB, free: 22.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004521/0.5145, allocations: 1.202 MB / 0.5999 GB, free: 21.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009749/0.5155, allocations: 166 kB / 0.6001 GB, free: 21.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01053/0.5261, allocations: 5.107 MB / 0.6051 GB, free: 19.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.5275, allocations: 124.8 kB / 0.6052 GB, free: 19.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001772/0.5277, allocations: 35.8 kB / 0.6052 GB, free: 19.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,59.2%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005564/0.5282, allocations: 294 kB / 0.6055 GB, free: 18.94 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002455/0.5285, allocations: 91.69 kB / 0.6056 GB, free: 18.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007204/0.5357, allocations: 2.393 MB / 0.6079 GB, free: 18.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.5358, allocations: 14.5 kB / 0.6079 GB, free: 18.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.132e-05/0.5358, allocations: 4.391 kB / 0.6079 GB, free: 18.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.5358, allocations: 2.719 kB / 0.608 GB, free: 18.23 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.009004/0.5448, allocations: 3.669 MB / 0.6115 GB, free: 16.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.5448, allocations: 4.578 kB / 0.6115 GB, free: 16.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005972/0.5455, allocations: 83.52 kB / 0.6116 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003437/0.5489, allocations: 1.082 MB / 0.6127 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.549, allocations: 16.75 kB / 0.6127 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008429/0.5575, allocations: 4.137 MB / 0.6167 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.5575, allocations: 0 / 0.6167 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007809/0.5654, allocations: 3.052 MB / 0.6197 GB, free: 8.148 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004193/0.5658, allocations: 191.8 kB / 0.6199 GB, free: 7.941 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002785/0.5661, allocations: 12 kB / 0.6199 GB, free: 7.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009843/0.5671, allocations: 83.92 kB / 0.62 GB, free: 7.848 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003763/0.5675, allocations: 120.3 kB / 0.6201 GB, free: 7.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.913e-05/0.5676, allocations: 20 kB / 0.6201 GB, free: 7.711 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006929/0.5683, allocations: 0.5342 MB / 0.6206 GB, free: 7.184 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5683, allocations: 0 / 0.6206 GB, free: 7.184 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001898/0.5702, allocations: 0.5189 MB / 0.6211 GB, free: 6.664 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d,G1.avr.vm,G1.avr.vr,G1.avr.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002663/0.5704, allocations: 140.3 kB / 0.6213 GB, free: 6.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007975/0.5784, allocations: 3.528 MB / 0.6247 GB, free: 2.887 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.5785, allocations: 0 / 0.6247 GB, free: 2.887 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002771/0.5812, allocations: 1.26 MB / 0.626 GB, free: 1.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008768/0.5821, allocations: 68.11 kB / 0.626 GB, free: 1.504 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003926/0.5861, allocations: 2.145 MB / 0.6281 GB, free: 15.33 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005938/0.5867, allocations: 0.9796 MB / 0.6291 GB, free: 14.32 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005347/0.5873, allocations: 89.47 kB / 0.6292 GB, free: 14.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.5875, allocations: 51.42 kB / 0.6292 GB, free: 14.18 MB / 442.7 MB Notification: Performance of SimCode: time 6.31e-07/0.5875, allocations: 3.938 kB / 0.6292 GB, free: 14.18 MB / 442.7 MB Notification: Performance of Templates: time 0.03472/0.6222, allocations: 17.74 MB / 0.6465 GB, free: 12.48 MB / 458.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.sim & ./OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1)