Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 99 kB / 15.05 MB, free: 1.105 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.225/1.225, allocations: 223.2 MB / 238.9 MB, free: 5.648 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.001074/0.001074, allocations: 179.9 kB / 290.2 MB, free: 2.348 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4137/0.4137, allocations: 78.52 MB / 419.8 MB, free: 4.406 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003482, allocations: 12 kB / 499.7 MB, free: 6.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1173, allocations: 69.36 MB / 0.5557 GB, free: 1.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR): time 0.193/0.3103, allocations: 4.55 MB / 0.5601 GB, free: 37.58 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002671/0.313, allocations: 1.697 MB / 0.5618 GB, free: 37.37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004731/0.3135, allocations: 8.375 kB / 0.5618 GB, free: 37.37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003241/0.3139, allocations: 121.3 kB / 0.5619 GB, free: 37.32 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.00125/0.3151, allocations: 0.5664 MB / 0.5625 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007487/0.3159, allocations: 385.3 kB / 0.5628 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008617/0.3168, allocations: 0.729 MB / 0.5635 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002743/0.317, allocations: 185.5 kB / 0.5637 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004125/0.3175, allocations: 409.5 kB / 0.5641 GB, free: 37.08 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005069/0.318, allocations: 0.5074 MB / 0.5646 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.838e-05/0.3181, allocations: 48.16 kB / 0.5646 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003238/0.3184, allocations: 161.1 kB / 0.5648 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.3186, allocations: 183.7 kB / 0.565 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.3187, allocations: 174.4 kB / 0.5651 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007185/0.3194, allocations: 1.035 MB / 0.5662 GB, free: 36.81 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.3194, allocations: 0 / 0.5662 GB, free: 36.81 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3194, allocations: 0 / 0.5662 GB, free: 36.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.3194, allocations: 0 / 0.5662 GB, free: 36.81 MB / 430.1 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.004631/0.3241, allocations: 1.718 MB / 0.5678 GB, free: 36.12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.3241, allocations: 10.62 kB / 0.5678 GB, free: 36.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003092/0.3272, allocations: 0.5327 MB / 0.5684 GB, free: 36.06 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008032/0.328, allocations: 0.6572 MB / 0.569 GB, free: 35.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.3282, allocations: 152.6 kB / 0.5691 GB, free: 35.67 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.3283, allocations: 59.41 kB / 0.5692 GB, free: 35.67 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.3297, allocations: 0.8265 MB / 0.57 GB, free: 35.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.3297, allocations: 6.219 kB / 0.57 GB, free: 35.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.51e-05/0.3298, allocations: 19.38 kB / 0.57 GB, free: 35.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.3298, allocations: 11.47 kB / 0.57 GB, free: 35.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.331, allocations: 0.7271 MB / 0.5708 GB, free: 35.59 MB / 430.1 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.004139/0.3351, allocations: 3.054 MB / 0.5737 GB, free: 34.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0121/0.3472, allocations: 3.939 MB / 0.5776 GB, free: 33.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.184e-05/0.3474, allocations: 6.578 kB / 0.5776 GB, free: 33.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.3474, allocations: 48.25 kB / 0.5776 GB, free: 33.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=64): time 2.945e-06/0.3474, allocations: 0 / 0.5776 GB, free: 33.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=64): time 0.0119/0.3593, allocations: 4.221 MB / 0.5818 GB, free: 32.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.3594, allocations: 89.17 kB / 0.5818 GB, free: 32.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009612/0.3603, allocations: 0.7821 MB / 0.5826 GB, free: 32.1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.3605, allocations: 44.05 kB / 0.5826 GB, free: 32.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.3607, allocations: 372.7 kB / 0.583 GB, free: 31.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/0.3609, allocations: 241.5 kB / 0.5832 GB, free: 31.58 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.51e-05/0.361, allocations: 20.03 kB / 0.5833 GB, free: 31.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.263e-05/0.361, allocations: 340.2 kB / 0.5836 GB, free: 31.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.3621, allocations: 0.586 MB / 0.5842 GB, free: 31.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/0.3632, allocations: 0.6922 MB / 0.5848 GB, free: 30.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.3643, allocations: 0.64 MB / 0.5855 GB, free: 30.42 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.3643, allocations: 1.438 kB / 0.5855 GB, free: 30.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007258/0.3716, allocations: 2.857 MB / 0.5882 GB, free: 29.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.3717, allocations: 0.7031 MB / 0.5889 GB, free: 28.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.3718, allocations: 6.922 kB / 0.5889 GB, free: 28.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00414/0.3759, allocations: 1.202 MB / 0.5901 GB, free: 28.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008755/0.3768, allocations: 167 kB / 0.5903 GB, free: 28.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00971/0.3865, allocations: 5.31 MB / 0.5955 GB, free: 25.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.3877, allocations: 141.9 kB / 0.5956 GB, free: 25.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.694e-05/0.3879, allocations: 34.38 kB / 0.5956 GB, free: 25.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.3879, allocations: 5.125 kB / 0.5956 GB, free: 25.8 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007142/0.395, allocations: 2.725 MB / 0.5983 GB, free: 25.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.3951, allocations: 3.328 kB / 0.5983 GB, free: 25.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004126/0.3992, allocations: 1.209 MB / 0.5995 GB, free: 24.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008276/0.4, allocations: 166.4 kB / 0.5996 GB, free: 24.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009933/0.41, allocations: 5.303 MB / 0.6048 GB, free: 22.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.4111, allocations: 126.8 kB / 0.6049 GB, free: 22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.809e-05/0.4112, allocations: 35.5 kB / 0.605 GB, free: 21.99 MB / 430.1 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.0004166/0.4117, allocations: 296.2 kB / 0.6052 GB, free: 21.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.4118, allocations: 88.09 kB / 0.6053 GB, free: 21.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006177/0.418, allocations: 2.396 MB / 0.6077 GB, free: 21.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.418, allocations: 6.812 kB / 0.6077 GB, free: 21.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.4181, allocations: 4.094 kB / 0.6077 GB, free: 21.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.4181, allocations: 4.312 kB / 0.6077 GB, free: 21.02 MB / 430.1 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.007714/0.4258, allocations: 3.67 MB / 0.6113 GB, free: 19.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.4258, allocations: 1.406 kB / 0.6113 GB, free: 19.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005396/0.4264, allocations: 82.33 kB / 0.6114 GB, free: 19.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003169/0.4295, allocations: 1.093 MB / 0.6124 GB, free: 18.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-05/0.4297, allocations: 13.47 kB / 0.6124 GB, free: 18.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007243/0.4369, allocations: 4.311 MB / 0.6166 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4369, allocations: 0 / 0.6166 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006384/0.4433, allocations: 3.084 MB / 0.6197 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002321/0.4436, allocations: 187.8 kB / 0.6198 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.4437, allocations: 12 kB / 0.6198 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007307/0.4445, allocations: 88.88 kB / 0.6199 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002694/0.4447, allocations: 131.9 kB / 0.6201 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.506e-05/0.4448, allocations: 16 kB / 0.6201 GB, free: 11.37 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005274/0.4453, allocations: 0.5342 MB / 0.6206 GB, free: 10.84 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4453, allocations: 0 / 0.6206 GB, free: 10.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001346/0.4467, allocations: 0.5189 MB / 0.6211 GB, free: 10.32 MB / 430.1 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.0002019/0.4469, allocations: 123.2 kB / 0.6212 GB, free: 10.19 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006765/0.4537, allocations: 3.532 MB / 0.6247 GB, free: 6.562 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4537, allocations: 0 / 0.6247 GB, free: 6.562 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002444/0.4561, allocations: 1.26 MB / 0.6259 GB, free: 5.246 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.4566, allocations: 63.27 kB / 0.626 GB, free: 5.184 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002753/0.4594, allocations: 2.133 MB / 0.628 GB, free: 3.055 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.4597, allocations: 1.001 MB / 0.629 GB, free: 2.027 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003986/0.4601, allocations: 89.75 kB / 0.6291 GB, free: 1.941 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.4603, allocations: 55.42 kB / 0.6292 GB, free: 1.887 MB / 430.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4603, allocations: 0 / 0.6292 GB, free: 1.887 MB / 430.1 MB Notification: Performance of Templates: time 0.02412/0.4844, allocations: 17.72 MB / 0.6465 GB, free: 388 kB / 446.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.sim & ./OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1) Environment - environmentSimulation: