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.001044/0.001044, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.207/1.207, allocations: 222.9 MB / 238.8 MB, free: 4.785 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.001138/0.001138, allocations: 196.2 kB / 289.1 MB, free: 2.52 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4186/0.4186, allocations: 78.52 MB / 417.8 MB, free: 3.375 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 75.89 kB / 496.8 MB, free: 6.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1113, allocations: 68.17 MB / 0.5517 GB, free: 2.621 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.2023/0.3136, allocations: 5.167 MB / 0.5567 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002468/0.3162, allocations: 1.645 MB / 0.5583 GB, free: 36.4 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002854/0.3165, allocations: 6.969 kB / 0.5583 GB, free: 36.4 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003479/0.3168, allocations: 125.7 kB / 0.5585 GB, free: 36.39 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.001134/0.318, allocations: 0.5859 MB / 0.559 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000645/0.3186, allocations: 389.3 kB / 0.5594 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008475/0.3195, allocations: 1.011 MB / 0.5604 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002764/0.3198, allocations: 186.7 kB / 0.5606 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004986/0.3203, allocations: 402.2 kB / 0.561 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004483/0.3208, allocations: 0.5083 MB / 0.5615 GB, free: 35.9 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.3209, allocations: 55.84 kB / 0.5615 GB, free: 35.9 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003516/0.3212, allocations: 189.7 kB / 0.5617 GB, free: 35.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.3214, allocations: 185.7 kB / 0.5619 GB, free: 35.85 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002878/0.3217, allocations: 427.2 kB / 0.5623 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007839/0.3224, allocations: 1.207 MB / 0.5635 GB, free: 35.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3225, allocations: 3.844 kB / 0.5635 GB, free: 35.46 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.3225, allocations: 1 kB / 0.5635 GB, free: 35.46 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.395e-06/0.3225, allocations: 0 / 0.5635 GB, free: 35.46 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.004702/0.3272, allocations: 1.748 MB / 0.5652 GB, free: 34.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.3272, allocations: 11.12 kB / 0.5652 GB, free: 34.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003015/0.3302, allocations: 0.5249 MB / 0.5657 GB, free: 34.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006883/0.3309, allocations: 0.648 MB / 0.5663 GB, free: 34.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.3311, allocations: 144.6 kB / 0.5665 GB, free: 34.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.3312, allocations: 48.69 kB / 0.5665 GB, free: 34.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.3323, allocations: 0.6542 MB / 0.5671 GB, free: 34.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.3323, allocations: 1.969 kB / 0.5671 GB, free: 34.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.048e-05/0.3324, allocations: 22.44 kB / 0.5672 GB, free: 34.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.3324, allocations: 13.5 kB / 0.5672 GB, free: 34.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.3335, allocations: 0.6324 MB / 0.5678 GB, free: 34.21 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.003572/0.337, allocations: 2.633 MB / 0.5704 GB, free: 33.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01096/0.348, allocations: 2.815 MB / 0.5731 GB, free: 33.26 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008042/0.3488, allocations: 447.7 kB / 0.5735 GB, free: 33.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.585e-05/0.3489, allocations: 13.55 kB / 0.5736 GB, free: 33.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.349, allocations: 37.47 kB / 0.5736 GB, free: 33.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.565e-06/0.349, allocations: 0 / 0.5736 GB, free: 33.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01105/0.36, allocations: 3.523 MB / 0.577 GB, free: 32.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.3601, allocations: 60.94 kB / 0.5771 GB, free: 32.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008818/0.361, allocations: 0.7698 MB / 0.5778 GB, free: 32.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.913e-05/0.3611, allocations: 38.05 kB / 0.5779 GB, free: 32.49 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.3612, allocations: 348.7 kB / 0.5782 GB, free: 32.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/0.3614, allocations: 214.3 kB / 0.5784 GB, free: 32.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003015/0.3617, allocations: 172.3 kB / 0.5786 GB, free: 31.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.89e-05/0.3618, allocations: 396.5 kB / 0.579 GB, free: 31.63 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009309/0.3628, allocations: 0.4996 MB / 0.5794 GB, free: 31.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009697/0.3637, allocations: 0.5956 MB / 0.58 GB, free: 31.15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01435/0.3781, allocations: 3.56 MB / 0.5835 GB, free: 30.14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.3782, allocations: 0 / 0.5835 GB, free: 30.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.006673/0.3848, allocations: 2.386 MB / 0.5858 GB, free: 29.42 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.3849, allocations: 5.75 kB / 0.5858 GB, free: 29.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.3849, allocations: 3.625 kB / 0.5858 GB, free: 29.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003915/0.3888, allocations: 1.049 MB / 0.5869 GB, free: 29.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008397/0.3897, allocations: 150 kB / 0.587 GB, free: 29.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009205/0.3989, allocations: 4.701 MB / 0.5916 GB, free: 26.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.4001, allocations: 107.5 kB / 0.5917 GB, free: 26.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.4002, allocations: 32.28 kB / 0.5917 GB, free: 26.54 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.delta:VARIABLE(flow=false start = G1.machine.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (93): * Single equations (assignments): 90 * 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.0004369/0.4007, allocations: 216.8 kB / 0.5919 GB, free: 26.37 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/0.4009, allocations: 78.8 kB / 0.592 GB, free: 26.33 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005596/0.4065, allocations: 1.947 MB / 0.5939 GB, free: 25.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.4065, allocations: 5.312 kB / 0.5939 GB, free: 25.76 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/0.4065, allocations: 4.406 kB / 0.5939 GB, free: 25.76 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.4065, allocations: 3 kB / 0.5939 GB, free: 25.76 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.006802/0.4133, allocations: 3.047 MB / 0.5969 GB, free: 24.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.4134, allocations: 1.094 kB / 0.5969 GB, free: 24.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004332/0.4138, allocations: 59.89 kB / 0.597 GB, free: 24.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003147/0.417, allocations: 0.9334 MB / 0.5979 GB, free: 24.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.669e-05/0.4171, allocations: 12.12 kB / 0.5979 GB, free: 24.31 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007128/0.4242, allocations: 3.784 MB / 0.6016 GB, free: 22.1 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.4242, allocations: 7.094 kB / 0.6016 GB, free: 22.09 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006965/0.4312, allocations: 2.506 MB / 0.604 GB, free: 21.22 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000311/0.4315, allocations: 174.7 kB / 0.6042 GB, free: 21.06 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/0.4317, allocations: 15.27 kB / 0.6042 GB, free: 21.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007551/0.4325, allocations: 51.45 kB / 0.6043 GB, free: 21.04 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003584/0.4328, allocations: 118 kB / 0.6044 GB, free: 21.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.062e-05/0.4329, allocations: 15.23 kB / 0.6044 GB, free: 21.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007265/0.4336, allocations: 0.5171 MB / 0.6049 GB, free: 20.79 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4336, allocations: 3.094 kB / 0.6049 GB, free: 20.79 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001045/0.4347, allocations: 302.6 kB / 0.6052 GB, free: 20.74 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 (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.0002232/0.4349, allocations: 117.1 kB / 0.6053 GB, free: 20.64 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004164/0.4391, allocations: 1.735 MB / 0.607 GB, free: 19.85 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.4391, allocations: 5.156 kB / 0.607 GB, free: 19.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002514/0.4416, allocations: 1.079 MB / 0.6081 GB, free: 19.29 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006594/0.4423, allocations: 59.08 kB / 0.6081 GB, free: 19.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/0.4449, allocations: 1.785 MB / 0.6099 GB, free: 18.08 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.4453, allocations: 0.9518 MB / 0.6108 GB, free: 17.28 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002801/0.4455, allocations: 68.3 kB / 0.6109 GB, free: 17.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.4457, allocations: 45.83 kB / 0.6109 GB, free: 17.23 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4457, allocations: 1.094 kB / 0.6109 GB, free: 17.23 MB / 430.1 MB Notification: Performance of Templates: time 0.01685/0.4626, allocations: 13.18 MB / 0.6238 GB, free: 5.289 MB / 430.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.makefile (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)