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.001096/0.001096, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.448/1.448, allocations: 223.3 MB / 239.4 MB, free: 5.43 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.001242/0.001242, allocations: 180.4 kB / 290.6 MB, free: 2.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5772/0.5772, allocations: 78.55 MB / 420.3 MB, free: 4.195 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005704/0.0005704, allocations: 12 kB / 0.4887 GB, free: 6.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1757, allocations: 69.36 MB / 0.5564 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR): time 0.253/0.4288, allocations: 5.081 MB / 0.5614 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003076/0.4319, allocations: 1.763 MB / 0.5631 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000481/0.4324, allocations: 6.781 kB / 0.5631 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004152/0.4328, allocations: 134.9 kB / 0.5632 GB, free: 36.4 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.001324/0.4341, allocations: 0.5708 MB / 0.5638 GB, free: 36.15 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008652/0.435, allocations: 478.4 kB / 0.5642 GB, free: 36.06 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009613/0.436, allocations: 1.129 MB / 0.5653 GB, free: 35.81 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003152/0.4363, allocations: 206.4 kB / 0.5655 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000415/0.4367, allocations: 415.5 kB / 0.5659 GB, free: 35.65 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005532/0.4373, allocations: 0.5304 MB / 0.5664 GB, free: 35.51 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.4374, allocations: 50.47 kB / 0.5665 GB, free: 35.51 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003932/0.4378, allocations: 177.8 kB / 0.5667 GB, free: 35.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.438, allocations: 194.7 kB / 0.5668 GB, free: 35.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003396/0.4383, allocations: 474.4 kB / 0.5673 GB, free: 35.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.4395, allocations: 1.299 MB / 0.5686 GB, free: 34.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4395, allocations: 0 / 0.5686 GB, free: 34.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.4395, allocations: 0 / 0.5686 GB, free: 34.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.737e-05/0.4395, allocations: 2.375 kB / 0.5686 GB, free: 34.98 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.005056/0.4446, allocations: 1.718 MB / 0.5702 GB, free: 34.26 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.4446, allocations: 9.969 kB / 0.5703 GB, free: 34.26 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003101/0.4477, allocations: 0.5294 MB / 0.5708 GB, free: 34.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008905/0.4486, allocations: 0.6895 MB / 0.5714 GB, free: 33.85 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001674/0.4488, allocations: 157.3 kB / 0.5716 GB, free: 33.76 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.4489, allocations: 59.25 kB / 0.5717 GB, free: 33.76 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.4504, allocations: 0.8274 MB / 0.5725 GB, free: 33.69 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.4504, allocations: 0 / 0.5725 GB, free: 33.69 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-05/0.4505, allocations: 21.09 kB / 0.5725 GB, free: 33.69 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.4505, allocations: 11.8 kB / 0.5725 GB, free: 33.69 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.4518, allocations: 0.7438 MB / 0.5732 GB, free: 33.68 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.004583/0.4564, allocations: 2.943 MB / 0.5761 GB, free: 32.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01274/0.4692, allocations: 3.942 MB / 0.5799 GB, free: 32.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/0.4704, allocations: 0.5273 MB / 0.5805 GB, free: 32.46 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.552e-05/0.4705, allocations: 6.5 kB / 0.5805 GB, free: 32.46 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.4705, allocations: 40.88 kB / 0.5805 GB, free: 32.42 MB / 430.1 MB Notification: Performance of pre-optimization done (n=64): time 3.185e-06/0.4705, allocations: 0 / 0.5805 GB, free: 32.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=64): time 0.0134/0.4839, allocations: 4.241 MB / 0.5846 GB, free: 31.56 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.484, allocations: 84.33 kB / 0.5847 GB, free: 31.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/0.4854, allocations: 0.8007 MB / 0.5855 GB, free: 31.1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001192/0.4855, allocations: 36.11 kB / 0.5855 GB, free: 31.06 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000263/0.4858, allocations: 372 kB / 0.5859 GB, free: 30.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002347/0.4861, allocations: 241.6 kB / 0.5861 GB, free: 30.58 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.4862, allocations: 90.98 kB / 0.5862 GB, free: 30.54 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.974e-05/0.4863, allocations: 344.6 kB / 0.5865 GB, free: 30.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/0.4876, allocations: 0.5914 MB / 0.5871 GB, free: 29.99 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/0.4889, allocations: 0.7069 MB / 0.5878 GB, free: 29.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002433/0.4914, allocations: 1.232 MB / 0.589 GB, free: 29.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.4914, allocations: 0 / 0.589 GB, free: 29.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008505/0.4999, allocations: 2.873 MB / 0.5918 GB, free: 28.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.053e-05/0.5, allocations: 142.9 kB / 0.592 GB, free: 28.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.5, allocations: 1.969 kB / 0.592 GB, free: 28.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004707/0.5047, allocations: 1.21 MB / 0.5931 GB, free: 27.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009331/0.5057, allocations: 169.6 kB / 0.5933 GB, free: 27.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01091/0.5166, allocations: 5.112 MB / 0.5983 GB, free: 25.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.518, allocations: 141.4 kB / 0.5984 GB, free: 25.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/0.5182, allocations: 34.09 kB / 0.5985 GB, free: 25.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/0.5182, allocations: 5.594 kB / 0.5985 GB, free: 25.1 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008422/0.5266, allocations: 2.741 MB / 0.6011 GB, free: 24.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.5267, allocations: 1.922 kB / 0.6011 GB, free: 24.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004664/0.5313, allocations: 1.202 MB / 0.6023 GB, free: 24.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008585/0.5322, allocations: 171.2 kB / 0.6025 GB, free: 24.08 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01079/0.543, allocations: 5.099 MB / 0.6075 GB, free: 21.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.5443, allocations: 130 kB / 0.6076 GB, free: 21.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/0.5445, allocations: 37.8 kB / 0.6076 GB, free: 21.35 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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000524/0.545, allocations: 295.1 kB / 0.6079 GB, free: 21.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/0.5452, allocations: 85.58 kB / 0.608 GB, free: 21.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007038/0.5523, allocations: 2.399 MB / 0.6103 GB, free: 20.39 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.5523, allocations: 7.891 kB / 0.6103 GB, free: 20.39 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-05/0.5524, allocations: 8.25 kB / 0.6103 GB, free: 20.39 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.582e-05/0.5524, allocations: 7.375 kB / 0.6103 GB, free: 20.38 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.008788/0.5612, allocations: 3.675 MB / 0.6139 GB, free: 18.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.249e-06/0.5612, allocations: 0 / 0.6139 GB, free: 18.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005763/0.5618, allocations: 88.61 kB / 0.614 GB, free: 18.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003508/0.5653, allocations: 1.084 MB / 0.6151 GB, free: 17.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.843e-05/0.5654, allocations: 16 kB / 0.6151 GB, free: 17.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007498/0.5729, allocations: 4.141 MB / 0.6191 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.5729, allocations: 5.594 kB / 0.6191 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007023/0.58, allocations: 3.064 MB / 0.6221 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003773/0.5804, allocations: 179.9 kB / 0.6223 GB, free: 9.633 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/0.5806, allocations: 19.98 kB / 0.6223 GB, free: 9.613 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009048/0.5815, allocations: 80.69 kB / 0.6224 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003336/0.5818, allocations: 120.3 kB / 0.6225 GB, free: 9.418 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.255e-05/0.5819, allocations: 16.81 kB / 0.6225 GB, free: 9.402 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006992/0.5826, allocations: 0.5381 MB / 0.6231 GB, free: 8.871 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5826, allocations: 0 / 0.6231 GB, free: 8.871 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001798/0.5844, allocations: 0.5228 MB / 0.6236 GB, free: 8.348 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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,9,48.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002622/0.5847, allocations: 127.2 kB / 0.6237 GB, free: 8.215 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00801/0.5927, allocations: 3.541 MB / 0.6271 GB, free: 4.566 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5927, allocations: 0 / 0.6271 GB, free: 4.566 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002754/0.5955, allocations: 1.268 MB / 0.6284 GB, free: 3.242 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008895/0.5964, allocations: 70.02 kB / 0.6285 GB, free: 3.176 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/0.5998, allocations: 2.223 MB / 0.6306 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.6002, allocations: 0.9797 MB / 0.6316 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005074/0.6008, allocations: 95.47 kB / 0.6317 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.601, allocations: 47.44 kB / 0.6317 GB, free: 15.81 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.601, allocations: 0 / 0.6317 GB, free: 15.81 MB / 446.1 MB Notification: Performance of Templates: time 0.03252/0.6335, allocations: 18.24 MB / 0.6495 GB, free: 13.79 MB / 462.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: