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.00135/0.001349, allocations: 109.1 kB / 16.36 MB, free: 6.004 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.511/1.511, allocations: 222.9 MB / 240 MB, free: 4.539 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.001247/0.001247, allocations: 192.5 kB / 290.3 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4625/0.4625, allocations: 78.53 MB / 419 MB, free: 3.199 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 75.88 kB / 498.9 MB, free: 5.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1344, allocations: 68.18 MB / 0.5538 GB, free: 1.434 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.2433/0.3778, allocations: 4.899 MB / 0.5586 GB, free: 37.61 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002539/0.3803, allocations: 1.596 MB / 0.5601 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003113/0.3807, allocations: 8.281 kB / 0.5601 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003951/0.3811, allocations: 161.7 kB / 0.5603 GB, free: 37.11 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.001282/0.3824, allocations: 0.6338 MB / 0.5609 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007168/0.3831, allocations: 425.4 kB / 0.5613 GB, free: 36.92 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000899/0.384, allocations: 1.08 MB / 0.5624 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002947/0.3843, allocations: 211.1 kB / 0.5626 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004066/0.3847, allocations: 446.1 kB / 0.563 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004843/0.3852, allocations: 0.5562 MB / 0.5635 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.3854, allocations: 100 kB / 0.5636 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003374/0.3857, allocations: 239 kB / 0.5639 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.3858, allocations: 228.5 kB / 0.5641 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003004/0.3862, allocations: 477.9 kB / 0.5645 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008883/0.387, allocations: 1.256 MB / 0.5658 GB, free: 36.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3871, allocations: 4.062 kB / 0.5658 GB, free: 36.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3871, allocations: 0 / 0.5658 GB, free: 36.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.3871, allocations: 0 / 0.5658 GB, free: 36.18 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.004666/0.3918, allocations: 1.749 MB / 0.5675 GB, free: 35.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3918, allocations: 11.25 kB / 0.5675 GB, free: 35.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003171/0.395, allocations: 0.5212 MB / 0.568 GB, free: 35.4 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007716/0.3958, allocations: 0.6475 MB / 0.5686 GB, free: 35.08 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/0.3959, allocations: 145.6 kB / 0.5688 GB, free: 34.99 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.847e-05/0.396, allocations: 49.78 kB / 0.5688 GB, free: 34.99 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.3971, allocations: 0.6546 MB / 0.5695 GB, free: 34.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.3972, allocations: 1.969 kB / 0.5695 GB, free: 34.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.886e-05/0.3972, allocations: 21.27 kB / 0.5695 GB, free: 34.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.3972, allocations: 14.03 kB / 0.5695 GB, free: 34.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.3983, allocations: 0.6294 MB / 0.5701 GB, free: 34.94 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.003818/0.4022, allocations: 2.624 MB / 0.5727 GB, free: 34.24 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01127/0.4134, allocations: 2.814 MB / 0.5754 GB, free: 33.99 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000878/0.4144, allocations: 441.6 kB / 0.5758 GB, free: 33.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.634e-05/0.4144, allocations: 8.656 kB / 0.5758 GB, free: 33.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.4145, allocations: 42.58 kB / 0.5759 GB, free: 33.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.435e-06/0.4145, allocations: 5 kB / 0.5759 GB, free: 33.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01146/0.426, allocations: 3.521 MB / 0.5793 GB, free: 33.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.426, allocations: 60.09 kB / 0.5794 GB, free: 32.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/0.4276, allocations: 0.7639 MB / 0.5801 GB, free: 32.61 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001985/0.4278, allocations: 35.92 kB / 0.5802 GB, free: 32.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003095/0.4281, allocations: 352.8 kB / 0.5805 GB, free: 32.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000293/0.4284, allocations: 216.9 kB / 0.5807 GB, free: 32.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004223/0.4288, allocations: 169 kB / 0.5809 GB, free: 32.03 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.429, allocations: 399.5 kB / 0.5813 GB, free: 31.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/0.4302, allocations: 0.4937 MB / 0.5817 GB, free: 31.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.4313, allocations: 0.5994 MB / 0.5823 GB, free: 31.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01485/0.4462, allocations: 3.557 MB / 0.5858 GB, free: 30.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.4462, allocations: 0 / 0.5858 GB, free: 30.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007064/0.4533, allocations: 2.394 MB / 0.5881 GB, free: 29.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.4533, allocations: 6.281 kB / 0.5881 GB, free: 29.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.4534, allocations: 1.734 kB / 0.5881 GB, free: 29.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00425/0.4576, allocations: 1.046 MB / 0.5892 GB, free: 29.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008988/0.4585, allocations: 146.8 kB / 0.5893 GB, free: 29.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0108/0.4693, allocations: 5.078 MB / 0.5943 GB, free: 26.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.4707, allocations: 112.1 kB / 0.5944 GB, free: 26.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.893e-05/0.4708, allocations: 34.03 kB / 0.5944 GB, free: 26.32 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.0004257/0.4712, allocations: 215.3 kB / 0.5946 GB, free: 26.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.4714, allocations: 80.8 kB / 0.5947 GB, free: 26.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005838/0.4772, allocations: 1.941 MB / 0.5966 GB, free: 25.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.4773, allocations: 6.359 kB / 0.5966 GB, free: 25.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.4773, allocations: 4.5 kB / 0.5966 GB, free: 25.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.4773, allocations: 7.141 kB / 0.5966 GB, free: 25.52 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.007243/0.4845, allocations: 3.03 MB / 0.5995 GB, free: 24.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.4846, allocations: 5.062 kB / 0.5996 GB, free: 24.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004818/0.4851, allocations: 70.61 kB / 0.5996 GB, free: 24.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003313/0.4884, allocations: 0.9395 MB / 0.6005 GB, free: 24.05 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.34e-05/0.4885, allocations: 11.17 kB / 0.6006 GB, free: 24.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007942/0.4964, allocations: 4.106 MB / 0.6046 GB, free: 21.63 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4965, allocations: 0 / 0.6046 GB, free: 21.63 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006785/0.5033, allocations: 2.52 MB / 0.607 GB, free: 20.73 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003438/0.5036, allocations: 181.9 kB / 0.6072 GB, free: 20.56 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001814/0.5038, allocations: 13.44 kB / 0.6072 GB, free: 20.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008146/0.5047, allocations: 50.48 kB / 0.6073 GB, free: 20.55 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003752/0.505, allocations: 115.8 kB / 0.6074 GB, free: 20.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/0.5051, allocations: 17.3 kB / 0.6074 GB, free: 20.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007984/0.5059, allocations: 0.5265 MB / 0.6079 GB, free: 20.28 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5059, allocations: 0 / 0.6079 GB, free: 20.28 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001107/0.507, allocations: 295.9 kB / 0.6082 GB, free: 20.24 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.0002243/0.5073, allocations: 115.2 kB / 0.6083 GB, free: 20.14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004155/0.5114, allocations: 1.749 MB / 0.61 GB, free: 19.15 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5115, allocations: 0 / 0.61 GB, free: 19.15 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002488/0.5139, allocations: 1.068 MB / 0.611 GB, free: 18.45 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006135/0.5146, allocations: 70.72 kB / 0.6111 GB, free: 18.39 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/0.5172, allocations: 1.5 MB / 0.6126 GB, free: 17.42 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.5176, allocations: 0.9426 MB / 0.6135 GB, free: 16.61 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002704/0.5179, allocations: 70.62 kB / 0.6136 GB, free: 16.58 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.5181, allocations: 48.09 kB / 0.6136 GB, free: 16.57 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5181, allocations: 4 kB / 0.6136 GB, free: 16.57 MB / 430.1 MB Notification: Performance of Templates: time 0.01987/0.538, allocations: 14.32 MB / 0.6276 GB, free: 2.773 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 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)