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.0009745/0.0009749, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.398/1.398, allocations: 223.3 MB / 239.4 MB, free: 5.504 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.001052/0.001052, allocations: 180.4 kB / 290.6 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5248/0.5248, allocations: 78.55 MB / 420.3 MB, free: 4.219 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003596, allocations: 8 kB / 0.4887 GB, free: 6.055 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1444, allocations: 69.36 MB / 0.5564 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.2609/0.4052, allocations: 4.747 MB / 0.561 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002831/0.4081, allocations: 1.625 MB / 0.5626 GB, free: 36.31 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003309/0.4085, allocations: 6.375 kB / 0.5626 GB, free: 36.31 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003433/0.4088, allocations: 126.3 kB / 0.5627 GB, free: 36.27 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.001272/0.4101, allocations: 0.5726 MB / 0.5633 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000733/0.4109, allocations: 385.3 kB / 0.5637 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009423/0.4118, allocations: 1.018 MB / 0.5647 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003005/0.4121, allocations: 184.6 kB / 0.5648 GB, free: 35.67 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004341/0.4126, allocations: 377.6 kB / 0.5652 GB, free: 35.56 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005068/0.4131, allocations: 0.4943 MB / 0.5657 GB, free: 35.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.132e-05/0.4132, allocations: 45.22 kB / 0.5657 GB, free: 35.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003471/0.4135, allocations: 176.9 kB / 0.5659 GB, free: 35.42 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.4137, allocations: 176 kB / 0.5661 GB, free: 35.37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000279/0.4139, allocations: 441 kB / 0.5665 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008426/0.4148, allocations: 1.182 MB / 0.5676 GB, free: 34.92 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.4148, allocations: 0 / 0.5676 GB, free: 34.92 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4148, allocations: 0 / 0.5676 GB, free: 34.92 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.4148, allocations: 4.906 kB / 0.5676 GB, free: 34.92 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.004674/0.4195, allocations: 1.621 MB / 0.5692 GB, free: 34.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.4196, allocations: 8.406 kB / 0.5692 GB, free: 34.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003178/0.4228, allocations: 0.5251 MB / 0.5697 GB, free: 34.17 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000807/0.4236, allocations: 0.6468 MB / 0.5704 GB, free: 33.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.4238, allocations: 148.6 kB / 0.5705 GB, free: 33.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.4239, allocations: 51.97 kB / 0.5706 GB, free: 33.74 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.4251, allocations: 0.6985 MB / 0.5712 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.4252, allocations: 0 / 0.5712 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.336e-05/0.4252, allocations: 21.72 kB / 0.5713 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.4253, allocations: 13.97 kB / 0.5713 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.4264, allocations: 0.6701 MB / 0.5719 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.003853/0.4303, allocations: 2.669 MB / 0.5745 GB, free: 32.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01278/0.4431, allocations: 3.772 MB / 0.5782 GB, free: 32.58 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.4442, allocations: 488.6 kB / 0.5787 GB, free: 32.56 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.569e-05/0.4443, allocations: 6.625 kB / 0.5787 GB, free: 32.56 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.4443, allocations: 42.28 kB / 0.5787 GB, free: 32.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 3.196e-06/0.4444, allocations: 0 / 0.5787 GB, free: 32.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01332/0.4577, allocations: 4.234 MB / 0.5829 GB, free: 31.94 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.4577, allocations: 58.03 kB / 0.5829 GB, free: 31.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.4589, allocations: 0.7731 MB / 0.5837 GB, free: 31.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001153/0.4591, allocations: 36.89 kB / 0.5837 GB, free: 31.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.4593, allocations: 352.4 kB / 0.5841 GB, free: 31.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.4595, allocations: 211.8 kB / 0.5843 GB, free: 31.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.4596, allocations: 84.64 kB / 0.5843 GB, free: 31.24 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.963e-05/0.4597, allocations: 398.5 kB / 0.5847 GB, free: 30.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.4607, allocations: 0.5322 MB / 0.5852 GB, free: 30.69 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.4618, allocations: 0.6358 MB / 0.5859 GB, free: 30.39 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01592/0.4777, allocations: 3.799 MB / 0.5896 GB, free: 29.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.4778, allocations: 1.562 kB / 0.5896 GB, free: 29.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.008073/0.4859, allocations: 2.748 MB / 0.5923 GB, free: 28.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.4859, allocations: 6.391 kB / 0.5923 GB, free: 28.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.486, allocations: 6.984 kB / 0.5923 GB, free: 28.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004332/0.4903, allocations: 1.196 MB / 0.5934 GB, free: 28.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008761/0.4912, allocations: 153.2 kB / 0.5936 GB, free: 28.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01057/0.5018, allocations: 5.106 MB / 0.5986 GB, free: 25.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.5031, allocations: 132 kB / 0.5987 GB, free: 25.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.733e-05/0.5032, allocations: 29.69 kB / 0.5987 GB, free: 25.6 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.0004482/0.5037, allocations: 220 kB / 0.5989 GB, free: 25.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.5038, allocations: 85.42 kB / 0.599 GB, free: 25.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006629/0.5105, allocations: 2.297 MB / 0.6013 GB, free: 24.74 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.5105, allocations: 5.938 kB / 0.6013 GB, free: 24.74 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.5105, allocations: 5.453 kB / 0.6013 GB, free: 24.74 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.5105, allocations: 2.297 kB / 0.6013 GB, free: 24.74 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.008015/0.5186, allocations: 3.386 MB / 0.6046 GB, free: 23.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.5186, allocations: 0 / 0.6046 GB, free: 23.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004523/0.5191, allocations: 68.95 kB / 0.6046 GB, free: 23.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003589/0.5227, allocations: 1.083 MB / 0.6057 GB, free: 23.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-05/0.5227, allocations: 12.89 kB / 0.6057 GB, free: 23.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008005/0.5308, allocations: 4.141 MB / 0.6098 GB, free: 20.96 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5308, allocations: 4 kB / 0.6098 GB, free: 20.96 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007298/0.5381, allocations: 2.91 MB / 0.6126 GB, free: 19.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003144/0.5384, allocations: 178.4 kB / 0.6128 GB, free: 19.19 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.5385, allocations: 12.61 kB / 0.6128 GB, free: 19.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007367/0.5393, allocations: 71.7 kB / 0.6128 GB, free: 19.12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003359/0.5396, allocations: 113.9 kB / 0.613 GB, free: 19.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.267e-05/0.5397, allocations: 19.73 kB / 0.613 GB, free: 19.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006226/0.5403, allocations: 0.5194 MB / 0.6135 GB, free: 18.6 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5403, allocations: 0 / 0.6135 GB, free: 18.6 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008943/0.5412, allocations: 300.5 kB / 0.6138 GB, free: 18.3 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.0002056/0.5414, allocations: 115 kB / 0.6139 GB, free: 18.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004245/0.5457, allocations: 1.912 MB / 0.6157 GB, free: 16.44 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5457, allocations: 0 / 0.6157 GB, free: 16.44 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002582/0.5483, allocations: 1.202 MB / 0.6169 GB, free: 15.29 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005795/0.5489, allocations: 59 kB / 0.617 GB, free: 15.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.551, allocations: 1.882 MB / 0.6188 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.5513, allocations: 0.946 MB / 0.6197 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002442/0.5516, allocations: 75.61 kB / 0.6198 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.5518, allocations: 43.42 kB / 0.6199 GB, free: 12.27 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5518, allocations: 4 kB / 0.6199 GB, free: 12.27 MB / 430.1 MB Notification: Performance of Templates: time 0.01646/0.5682, allocations: 12.99 MB / 0.6325 GB, free: 15.45 MB / 446.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: