Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1353/0.1353, allocations: 12.6 MB / 28.86 MB, free: 400 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 111.5 kB / 32.46 MB, free: 3.453 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.358/1.358, allocations: 205.1 MB / 241.1 MB, free: 12.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 187.5 kB / 291.3 MB, free: 13.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4288/0.4288, allocations: 78.51 MB / 419.9 MB, free: 11.29 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002556/0.002556, allocations: 143.8 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3608, allocations: 68.11 MB / 0.556 GB, free: 32.91 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.006012/0.3669, allocations: 4.949 MB / 0.5608 GB, free: 29.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004045/0.3709, allocations: 1.565 MB / 0.5624 GB, free: 28.03 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006024/0.3716, allocations: 6.844 kB / 0.5624 GB, free: 28.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005072/0.3721, allocations: 161 kB / 0.5625 GB, free: 27.89 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.001608/0.3738, allocations: 0.6459 MB / 0.5631 GB, free: 27.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008291/0.3746, allocations: 421.6 kB / 0.5636 GB, free: 27.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001084/0.3757, allocations: 1.079 MB / 0.5646 GB, free: 26.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003338/0.376, allocations: 216.1 kB / 0.5648 GB, free: 26.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004852/0.3765, allocations: 449.3 kB / 0.5652 GB, free: 25.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000562/0.3771, allocations: 0.559 MB / 0.5658 GB, free: 25.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.3773, allocations: 102.2 kB / 0.5659 GB, free: 25.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004703/0.3777, allocations: 233.8 kB / 0.5661 GB, free: 25.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.3779, allocations: 229.8 kB / 0.5663 GB, free: 25.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003443/0.3783, allocations: 472.5 kB / 0.5668 GB, free: 24.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.3793, allocations: 1.262 MB / 0.568 GB, free: 24.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.3793, allocations: 1.062 kB / 0.568 GB, free: 24.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3793, allocations: 3.938 kB / 0.568 GB, free: 24.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.834e-05/0.3794, allocations: 0 / 0.568 GB, free: 24.02 MB / 398.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.005116/0.3845, allocations: 1.745 MB / 0.5697 GB, free: 22.85 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.3845, allocations: 12.55 kB / 0.5697 GB, free: 22.85 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003306/0.3879, allocations: 0.5224 MB / 0.5702 GB, free: 22.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009628/0.3888, allocations: 0.6438 MB / 0.5709 GB, free: 22.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001778/0.389, allocations: 147.2 kB / 0.571 GB, free: 21.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.3891, allocations: 49.41 kB / 0.5711 GB, free: 21.94 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.3904, allocations: 0.6561 MB / 0.5717 GB, free: 21.56 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.3905, allocations: 4 kB / 0.5717 GB, free: 21.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-05/0.3905, allocations: 18.09 kB / 0.5717 GB, free: 21.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.3906, allocations: 12.44 kB / 0.5717 GB, free: 21.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.3919, allocations: 0.6332 MB / 0.5723 GB, free: 21.23 MB / 398.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.004562/0.3965, allocations: 2.616 MB / 0.5749 GB, free: 19.15 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01127/0.4077, allocations: 2.817 MB / 0.5777 GB, free: 16.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009101/0.4087, allocations: 450.3 kB / 0.5781 GB, free: 16.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-05/0.4088, allocations: 4.562 kB / 0.5781 GB, free: 16.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.4088, allocations: 43.12 kB / 0.5781 GB, free: 16.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=57): time 3.076e-06/0.4088, allocations: 0 / 0.5781 GB, free: 16.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.01131/0.4201, allocations: 3.527 MB / 0.5816 GB, free: 12.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.4202, allocations: 67.91 kB / 0.5816 GB, free: 12.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009987/0.4212, allocations: 0.7584 MB / 0.5824 GB, free: 11.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.308e-05/0.4213, allocations: 37.7 kB / 0.5824 GB, free: 11.94 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.4215, allocations: 352.6 kB / 0.5828 GB, free: 11.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/0.4217, allocations: 217 kB / 0.583 GB, free: 11.37 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002873/0.422, allocations: 170.4 kB / 0.5831 GB, free: 11.2 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.4221, allocations: 398.7 kB / 0.5835 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008541/0.423, allocations: 0.4978 MB / 0.584 GB, free: 10.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008993/0.4239, allocations: 0.5992 MB / 0.5846 GB, free: 9.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01386/0.4377, allocations: 3.553 MB / 0.588 GB, free: 6.105 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.4378, allocations: 0 / 0.588 GB, free: 6.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.006585/0.4444, allocations: 2.388 MB / 0.5904 GB, free: 3.703 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.4444, allocations: 7.984 kB / 0.5904 GB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.4445, allocations: 4 kB / 0.5904 GB, free: 3.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004062/0.4485, allocations: 1.053 MB / 0.5914 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007384/0.4493, allocations: 143.8 kB / 0.5916 GB, free: 2.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009996/0.4593, allocations: 5.068 MB / 0.5965 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.4606, allocations: 111.2 kB / 0.5966 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.4608, allocations: 27.98 kB / 0.5966 GB, free: 13.13 MB / 414.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.0005586/0.4613, allocations: 216.1 kB / 0.5968 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002687/0.4616, allocations: 82.95 kB / 0.5969 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005902/0.4675, allocations: 1.945 MB / 0.5988 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.4676, allocations: 8 kB / 0.5988 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/0.4676, allocations: 8 kB / 0.5988 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.4676, allocations: 0 / 0.5988 GB, free: 10.85 MB / 414.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.007511/0.4751, allocations: 3.04 MB / 0.6018 GB, free: 7.719 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.4751, allocations: 3.938 kB / 0.6018 GB, free: 7.715 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004432/0.4756, allocations: 63.91 kB / 0.6019 GB, free: 7.652 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003167/0.4788, allocations: 0.9377 MB / 0.6028 GB, free: 6.707 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.806e-05/0.4789, allocations: 15.98 kB / 0.6028 GB, free: 6.691 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008381/0.4873, allocations: 4.097 MB / 0.6068 GB, free: 2.453 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.4873, allocations: 0 / 0.6068 GB, free: 2.453 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007601/0.4949, allocations: 2.535 MB / 0.6093 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007111/0.4956, allocations: 176 kB / 0.6094 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003859/0.4961, allocations: 15.98 kB / 0.6095 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/0.4972, allocations: 51.95 kB / 0.6095 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004618/0.4977, allocations: 116.4 kB / 0.6096 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.633e-05/0.4978, allocations: 16 kB / 0.6096 GB, free: 15.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000993/0.4988, allocations: 0.5225 MB / 0.6101 GB, free: 14.98 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4988, allocations: 0 / 0.6101 GB, free: 14.98 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001523/0.5003, allocations: 295.7 kB / 0.6104 GB, free: 14.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 (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.0004023/0.5008, allocations: 123.2 kB / 0.6105 GB, free: 14.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004897/0.5057, allocations: 1.734 MB / 0.6122 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.5057, allocations: 0 / 0.6122 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002815/0.5085, allocations: 1.08 MB / 0.6133 GB, free: 11.64 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007716/0.5093, allocations: 65.31 kB / 0.6134 GB, free: 11.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/0.5126, allocations: 1.505 MB / 0.6148 GB, free: 10.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007228/0.5134, allocations: 0.946 MB / 0.6157 GB, free: 9.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003533/0.5137, allocations: 69.12 kB / 0.6158 GB, free: 9.004 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/0.5139, allocations: 51.42 kB / 0.6159 GB, free: 8.953 MB / 430.1 MB Notification: Performance of SimCode: time 2.806e-06/0.5139, allocations: 0 / 0.6159 GB, free: 8.953 MB / 430.1 MB Notification: Performance of Templates: time 0.02731/0.5413, allocations: 14.32 MB / 0.6298 GB, free: 10.66 MB / 446.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)