Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007755/0.0007754, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.445/1.445, allocations: 223.2 MB / 239 MB, free: 5.441 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.001911/0.001911, allocations: 180.5 kB / 290.3 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4789/0.4789, allocations: 78.56 MB / 419.9 MB, free: 4.277 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004187/0.0004188, allocations: 19.94 kB / 499.8 MB, free: 6.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1541, allocations: 69.36 MB / 0.5558 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.2955/0.4496, allocations: 4.477 MB / 0.5602 GB, free: 37.31 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003695/0.4534, allocations: 1.537 MB / 0.5617 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.4545, allocations: 6.938 kB / 0.5617 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007498/0.4553, allocations: 115.9 kB / 0.5618 GB, free: 37.06 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.002292/0.4576, allocations: 0.5154 MB / 0.5623 GB, free: 36.92 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.4586, allocations: 333.5 kB / 0.5626 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001653/0.4603, allocations: 0.9664 MB / 0.5636 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000495/0.4608, allocations: 177.5 kB / 0.5637 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007631/0.4616, allocations: 368.4 kB / 0.5641 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005804/0.4622, allocations: 490.7 kB / 0.5646 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.092e-05/0.4623, allocations: 45.94 kB / 0.5646 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004346/0.4627, allocations: 173.6 kB / 0.5648 GB, free: 36.44 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.4629, allocations: 168.9 kB / 0.5649 GB, free: 36.4 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.463, allocations: 162.5 kB / 0.5651 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008596/0.4639, allocations: 0.9492 MB / 0.566 GB, free: 36.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4639, allocations: 1.875 kB / 0.566 GB, free: 36.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4639, allocations: 0 / 0.566 GB, free: 36.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.4639, allocations: 0 / 0.566 GB, free: 36.25 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.004497/0.4684, allocations: 1.633 MB / 0.5676 GB, free: 35.58 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.4685, allocations: 9.625 kB / 0.5676 GB, free: 35.58 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003123/0.4716, allocations: 0.518 MB / 0.5681 GB, free: 35.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.4726, allocations: 0.6154 MB / 0.5687 GB, free: 35.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001621/0.4728, allocations: 150.7 kB / 0.5689 GB, free: 35.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.4729, allocations: 47.75 kB / 0.5689 GB, free: 35.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.4742, allocations: 0.6902 MB / 0.5696 GB, free: 35.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.4742, allocations: 6.891 kB / 0.5696 GB, free: 35.11 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.116e-05/0.4743, allocations: 19.41 kB / 0.5696 GB, free: 35.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.4743, allocations: 12.09 kB / 0.5696 GB, free: 35.11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.4754, allocations: 0.6695 MB / 0.5703 GB, free: 35.09 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.004213/0.4796, allocations: 2.667 MB / 0.5729 GB, free: 34.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01106/0.4907, allocations: 3.772 MB / 0.5766 GB, free: 34.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/0.4918, allocations: 478.6 kB / 0.577 GB, free: 33.9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.709e-05/0.4919, allocations: 9.156 kB / 0.577 GB, free: 33.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.4919, allocations: 43.83 kB / 0.5771 GB, free: 33.85 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 3.086e-06/0.4919, allocations: 6.781 kB / 0.5771 GB, free: 33.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01184/0.5038, allocations: 4.223 MB / 0.5812 GB, free: 32.78 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.5039, allocations: 59.22 kB / 0.5813 GB, free: 32.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.5051, allocations: 0.7519 MB / 0.582 GB, free: 32.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001491/0.5053, allocations: 43.7 kB / 0.582 GB, free: 32.33 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/0.5055, allocations: 349.2 kB / 0.5824 GB, free: 32.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/0.5057, allocations: 216.9 kB / 0.5826 GB, free: 31.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.829e-05/0.5058, allocations: 19.38 kB / 0.5826 GB, free: 31.87 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.5059, allocations: 391.5 kB / 0.583 GB, free: 31.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.5069, allocations: 0.5267 MB / 0.5835 GB, free: 31.33 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.508, allocations: 0.6357 MB / 0.5841 GB, free: 31.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.5091, allocations: 0.5694 MB / 0.5847 GB, free: 30.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.5091, allocations: 1.031 kB / 0.5847 GB, free: 30.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007308/0.5164, allocations: 2.733 MB / 0.5873 GB, free: 29.99 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.5165, allocations: 6.25 kB / 0.5873 GB, free: 29.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.5165, allocations: 2.344 kB / 0.5873 GB, free: 29.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004406/0.5209, allocations: 1.211 MB / 0.5885 GB, free: 29.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00094/0.5219, allocations: 155.7 kB / 0.5887 GB, free: 29.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/0.5337, allocations: 6.33 MB / 0.5948 GB, free: 25.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/0.5356, allocations: 123 kB / 0.595 GB, free: 25.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002664/0.5359, allocations: 33.77 kB / 0.595 GB, free: 25.76 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real G1.machine.e2d:VARIABLE(start = G1.machine.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real 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 (94): * Single equations (assignments): 90 * 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: 2 * 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 {(1,100.0%) 1} * Non-linear torn systems: 1 {7 11} Notification: Performance of prepare postOptimizeDAE: time 0.0007792/0.5367, allocations: 230 kB / 0.5952 GB, free: 25.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004451/0.5371, allocations: 77.69 kB / 0.5953 GB, free: 25.53 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007179/0.5443, allocations: 2.291 MB / 0.5975 GB, free: 24.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.5444, allocations: 8.375 kB / 0.5975 GB, free: 24.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.473e-05/0.5444, allocations: 4.969 kB / 0.5975 GB, free: 24.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.776e-05/0.5444, allocations: 2.625 kB / 0.5975 GB, free: 24.91 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.009157/0.5536, allocations: 3.386 MB / 0.6008 GB, free: 23.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.5536, allocations: 0 / 0.6008 GB, free: 23.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005166/0.5542, allocations: 64.64 kB / 0.6009 GB, free: 23.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003715/0.5579, allocations: 1.087 MB / 0.602 GB, free: 23.4 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/0.5581, allocations: 12.38 kB / 0.602 GB, free: 23.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008883/0.567, allocations: 4.136 MB / 0.606 GB, free: 21.12 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.567, allocations: 0.8438 kB / 0.606 GB, free: 21.12 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008189/0.5752, allocations: 2.892 MB / 0.6088 GB, free: 20.19 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004645/0.5757, allocations: 179.5 kB / 0.609 GB, free: 20.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003246/0.5761, allocations: 16.62 kB / 0.609 GB, free: 20.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009403/0.577, allocations: 73.19 kB / 0.6091 GB, free: 20 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004825/0.5775, allocations: 123.5 kB / 0.6092 GB, free: 19.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.591e-05/0.5776, allocations: 11.06 kB / 0.6092 GB, free: 19.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009947/0.5786, allocations: 0.5132 MB / 0.6097 GB, free: 19.74 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5786, allocations: 6.094 kB / 0.6097 GB, free: 19.74 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001546/0.5802, allocations: 301.2 kB / 0.61 GB, free: 19.7 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d) * 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 (40): * Single equations (assignments): 37 * 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.0003067/0.5805, allocations: 125.9 kB / 0.6101 GB, free: 19.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004915/0.5854, allocations: 1.995 MB / 0.6121 GB, free: 18.67 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.5854, allocations: 0 / 0.6121 GB, free: 18.67 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002755/0.5882, allocations: 1.207 MB / 0.6133 GB, free: 17.56 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.5893, allocations: 63.7 kB / 0.6133 GB, free: 17.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003145/0.5924, allocations: 1.82 MB / 0.6151 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005665/0.593, allocations: 0.9413 MB / 0.616 GB, free: 14.98 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003899/0.5934, allocations: 67.91 kB / 0.6161 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/0.5937, allocations: 50.44 kB / 0.6161 GB, free: 14.89 MB / 430.1 MB Notification: Performance of SimCode: time 1.703e-06/0.5937, allocations: 0 / 0.6161 GB, free: 14.89 MB / 430.1 MB Notification: Performance of Templates: time 0.02305/0.6167, allocations: 13.21 MB / 0.629 GB, free: 2.336 MB / 430.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.sim & ./OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1) Environment - environmentSimulation: