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.001422/0.001422, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 239.2 MB, free: 4.621 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.001604/0.001604, allocations: 188.5 kB / 289.5 MB, free: 2.344 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.469/0.469, allocations: 78.52 MB / 418.2 MB, free: 3.176 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 83.88 kB / 497.4 MB, free: 6.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.15, allocations: 68.18 MB / 0.5524 GB, free: 2.238 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.2479/0.3979, allocations: 4.896 MB / 0.5571 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003023/0.401, allocations: 1.598 MB / 0.5587 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004073/0.4014, allocations: 7.625 kB / 0.5587 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004366/0.4019, allocations: 159.1 kB / 0.5589 GB, free: 36.62 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.001425/0.4034, allocations: 0.6388 MB / 0.5595 GB, free: 36.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007838/0.4042, allocations: 419.2 kB / 0.5599 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009368/0.4051, allocations: 1.078 MB / 0.5609 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003294/0.4054, allocations: 208.5 kB / 0.5611 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004163/0.4059, allocations: 450.5 kB / 0.5616 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005069/0.4064, allocations: 0.5551 MB / 0.5621 GB, free: 36.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.4065, allocations: 97.97 kB / 0.5622 GB, free: 36.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004202/0.407, allocations: 237.4 kB / 0.5624 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001654/0.4071, allocations: 233.1 kB / 0.5626 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000309/0.4074, allocations: 475.4 kB / 0.5631 GB, free: 35.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000948/0.4084, allocations: 1.241 MB / 0.5643 GB, free: 35.69 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4084, allocations: 0 / 0.5643 GB, free: 35.69 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4084, allocations: 4.594 kB / 0.5643 GB, free: 35.69 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.4084, allocations: 0 / 0.5643 GB, free: 35.69 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.004995/0.4134, allocations: 1.76 MB / 0.566 GB, free: 34.97 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.4135, allocations: 7.906 kB / 0.566 GB, free: 34.97 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003165/0.4167, allocations: 0.5184 MB / 0.5666 GB, free: 34.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008168/0.4175, allocations: 0.6499 MB / 0.5672 GB, free: 34.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.4177, allocations: 141.7 kB / 0.5673 GB, free: 34.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.4178, allocations: 49.44 kB / 0.5674 GB, free: 34.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.419, allocations: 0.6546 MB / 0.568 GB, free: 34.45 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.419, allocations: 0.8906 kB / 0.568 GB, free: 34.45 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.615e-05/0.4191, allocations: 19.75 kB / 0.568 GB, free: 34.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.4191, allocations: 12.5 kB / 0.568 GB, free: 34.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.4202, allocations: 0.6346 MB / 0.5687 GB, free: 34.45 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.003933/0.4241, allocations: 2.637 MB / 0.5712 GB, free: 33.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01172/0.4359, allocations: 2.817 MB / 0.574 GB, free: 33.49 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009861/0.4369, allocations: 449.1 kB / 0.5744 GB, free: 33.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.338e-05/0.437, allocations: 12.72 kB / 0.5744 GB, free: 33.47 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.437, allocations: 35.44 kB / 0.5745 GB, free: 33.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.605e-06/0.437, allocations: 0 / 0.5745 GB, free: 33.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01189/0.4489, allocations: 3.526 MB / 0.5779 GB, free: 32.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.449, allocations: 64.12 kB / 0.578 GB, free: 32.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.4501, allocations: 0.7669 MB / 0.5787 GB, free: 32.51 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001226/0.4503, allocations: 39.81 kB / 0.5788 GB, free: 32.47 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/0.4505, allocations: 349.9 kB / 0.5791 GB, free: 32.19 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002379/0.4508, allocations: 213 kB / 0.5793 GB, free: 32.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003151/0.4511, allocations: 169 kB / 0.5794 GB, free: 31.94 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.4512, allocations: 398.6 kB / 0.5798 GB, free: 31.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.4522, allocations: 0.496 MB / 0.5803 GB, free: 31.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.4532, allocations: 0.5946 MB / 0.5809 GB, free: 31.1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01531/0.4686, allocations: 3.566 MB / 0.5844 GB, free: 30.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.4686, allocations: 4 kB / 0.5844 GB, free: 30.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007252/0.4759, allocations: 2.391 MB / 0.5867 GB, free: 29.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.4759, allocations: 5.938 kB / 0.5867 GB, free: 29.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.4759, allocations: 4.469 kB / 0.5867 GB, free: 29.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004329/0.4803, allocations: 1.049 MB / 0.5877 GB, free: 29.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000876/0.4811, allocations: 150.9 kB / 0.5879 GB, free: 29.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/0.4917, allocations: 5.07 MB / 0.5928 GB, free: 26.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.493, allocations: 109 kB / 0.5929 GB, free: 26.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.967e-05/0.4931, allocations: 31.98 kB / 0.593 GB, free: 26.25 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.0004253/0.4935, allocations: 215 kB / 0.5932 GB, free: 26.08 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.4937, allocations: 82.17 kB / 0.5933 GB, free: 26.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006132/0.4998, allocations: 1.944 MB / 0.5952 GB, free: 25.47 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.4999, allocations: 5.406 kB / 0.5952 GB, free: 25.47 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.4999, allocations: 5.344 kB / 0.5952 GB, free: 25.47 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.4999, allocations: 2.531 kB / 0.5952 GB, free: 25.47 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.007381/0.5073, allocations: 3.044 MB / 0.5981 GB, free: 24.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.5073, allocations: 3.938 kB / 0.5981 GB, free: 24.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005233/0.5079, allocations: 59.58 kB / 0.5982 GB, free: 24.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003595/0.5115, allocations: 0.9417 MB / 0.5991 GB, free: 24.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/0.5116, allocations: 13.11 kB / 0.5991 GB, free: 24.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008243/0.5199, allocations: 4.113 MB / 0.6032 GB, free: 21.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5199, allocations: 0 / 0.6032 GB, free: 21.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007248/0.5271, allocations: 2.514 MB / 0.6056 GB, free: 20.71 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003476/0.5275, allocations: 182.9 kB / 0.6058 GB, free: 20.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.5277, allocations: 10.53 kB / 0.6058 GB, free: 20.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007343/0.5284, allocations: 51.88 kB / 0.6058 GB, free: 20.53 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003863/0.5288, allocations: 121.1 kB / 0.606 GB, free: 20.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.706e-05/0.5289, allocations: 13.03 kB / 0.606 GB, free: 20.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007008/0.5296, allocations: 0.5175 MB / 0.6065 GB, free: 20.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5296, allocations: 0 / 0.6065 GB, free: 20.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001061/0.5306, allocations: 303.9 kB / 0.6068 GB, free: 20.22 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.0002236/0.5309, allocations: 117.7 kB / 0.6069 GB, free: 20.12 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0046/0.5355, allocations: 1.756 MB / 0.6086 GB, free: 19.29 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.5355, allocations: 4.125 kB / 0.6086 GB, free: 19.29 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002695/0.5382, allocations: 1.075 MB / 0.6096 GB, free: 18.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007521/0.539, allocations: 65.83 kB / 0.6097 GB, free: 18.56 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/0.5416, allocations: 1.523 MB / 0.6112 GB, free: 17.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.5419, allocations: 0.9456 MB / 0.6121 GB, free: 16.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002946/0.5422, allocations: 67.77 kB / 0.6122 GB, free: 16.72 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.5424, allocations: 52.55 kB / 0.6122 GB, free: 16.71 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5424, allocations: 0 / 0.6122 GB, free: 16.71 MB / 430.1 MB Notification: Performance of Templates: time 0.01895/0.5613, allocations: 14.34 MB / 0.6262 GB, free: 3.129 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)