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/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/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/package.mo): time 0.08266/0.08266, allocations: 12.19 MB / 27.15 MB, free: 1.535 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008417/0.0008417, allocations: 104.1 kB / 30.66 MB, free: 4.883 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.383/1.383, allocations: 205.4 MB / 239.5 MB, free: 13.62 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.001821/0.001821, allocations: 183.8 kB / 290.6 MB, free: 14.05 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4493/0.4493, allocations: 78.49 MB / 420.1 MB, free: 12.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.0008188/0.0008189, allocations: 32 kB / 0.4894 GB, free: 11.19 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3387, allocations: 69.22 MB / 0.557 GB, free: 21.15 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.003455/0.3422, allocations: 4.301 MB / 0.5612 GB, free: 16.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.3443, allocations: 1.535 MB / 0.5627 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002349/0.3446, allocations: 8 kB / 0.5627 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.3449, allocations: 115.2 kB / 0.5628 GB, free: 15.17 MB / 382.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.001063/0.3459, allocations: 0.5651 MB / 0.5634 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000537/0.3465, allocations: 331.3 kB / 0.5637 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005857/0.3471, allocations: 0.6709 MB / 0.5643 GB, free: 13.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002397/0.3473, allocations: 173.4 kB / 0.5645 GB, free: 13.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002964/0.3476, allocations: 370.6 kB / 0.5649 GB, free: 13.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003948/0.348, allocations: 482 kB / 0.5653 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.541e-05/0.3481, allocations: 44 kB / 0.5654 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002434/0.3484, allocations: 159.8 kB / 0.5655 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.3485, allocations: 163.3 kB / 0.5657 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.981e-05/0.3486, allocations: 169.2 kB / 0.5658 GB, free: 12.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005688/0.3491, allocations: 0.9219 MB / 0.5667 GB, free: 11.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.3492, allocations: 0 / 0.5667 GB, free: 11.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3492, allocations: 0 / 0.5667 GB, free: 11.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.3492, allocations: 0 / 0.5667 GB, free: 11.14 MB / 382.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.004282/0.3535, allocations: 1.628 MB / 0.5683 GB, free: 9.457 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.3535, allocations: 15.98 kB / 0.5683 GB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003042/0.3566, allocations: 0.5296 MB / 0.5689 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008187/0.3574, allocations: 0.6203 MB / 0.5695 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001658/0.3576, allocations: 150.1 kB / 0.5696 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.3577, allocations: 55.94 kB / 0.5697 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.3588, allocations: 0.6857 MB / 0.5703 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.3589, allocations: 0 / 0.5703 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.748e-05/0.3589, allocations: 20 kB / 0.5703 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.3589, allocations: 12 kB / 0.5704 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.36, allocations: 0.6676 MB / 0.571 GB, free: 6.637 MB / 382.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.003617/0.3636, allocations: 2.767 MB / 0.5737 GB, free: 3.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01184/0.3754, allocations: 3.762 MB / 0.5774 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/0.3756, allocations: 20.55 kB / 0.5774 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.3756, allocations: 39.12 kB / 0.5774 GB, free: 15.85 MB / 398.1 MB Notification: Performance of pre-optimization done (n=57): time 3.466e-06/0.3756, allocations: 0 / 0.5774 GB, free: 15.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.0136/0.3892, allocations: 4.213 MB / 0.5816 GB, free: 11.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/0.3894, allocations: 59.97 kB / 0.5816 GB, free: 11.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.3907, allocations: 0.7583 MB / 0.5824 GB, free: 10.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.3909, allocations: 37.7 kB / 0.5824 GB, free: 10.69 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003732/0.3913, allocations: 352.6 kB / 0.5827 GB, free: 10.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002955/0.3916, allocations: 213 kB / 0.5829 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.167e-05/0.3916, allocations: 24 kB / 0.583 GB, free: 10.1 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002573/0.3919, allocations: 390.7 kB / 0.5833 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.3929, allocations: 0.5329 MB / 0.5838 GB, free: 9.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.3942, allocations: 0.6227 MB / 0.5845 GB, free: 8.531 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.3953, allocations: 0.5741 MB / 0.585 GB, free: 7.961 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.3953, allocations: 0 / 0.585 GB, free: 7.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007458/0.4028, allocations: 2.724 MB / 0.5877 GB, free: 5.211 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.4029, allocations: 10.66 kB / 0.5877 GB, free: 5.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.4029, allocations: 7.891 kB / 0.5877 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004616/0.4075, allocations: 1.217 MB / 0.5889 GB, free: 3.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000935/0.4085, allocations: 155.7 kB / 0.589 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/0.421, allocations: 6.537 MB / 0.5954 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.4222, allocations: 127.2 kB / 0.5955 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.936e-05/0.4223, allocations: 44.08 kB / 0.5956 GB, free: 12.85 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.e2d:VARIABLE(start = G1.machine.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" 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 (94): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {7 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003929/0.4227, allocations: 213.6 kB / 0.5958 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.4228, allocations: 75.06 kB / 0.5959 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006003/0.4288, allocations: 2.301 MB / 0.5981 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.4289, allocations: 4 kB / 0.5981 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.4289, allocations: 4 kB / 0.5981 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.4289, allocations: 3.984 kB / 0.5981 GB, free: 10.22 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.007167/0.4361, allocations: 3.384 MB / 0.6014 GB, free: 6.746 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4361, allocations: 0 / 0.6014 GB, free: 6.746 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004198/0.4365, allocations: 63.91 kB / 0.6015 GB, free: 6.684 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003356/0.4399, allocations: 1.087 MB / 0.6025 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.154e-05/0.4399, allocations: 11.94 kB / 0.6025 GB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008087/0.448, allocations: 4.304 MB / 0.6068 GB, free: 1.133 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.448, allocations: 0 / 0.6068 GB, free: 1.133 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007007/0.4551, allocations: 2.913 MB / 0.6096 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00034/0.4554, allocations: 176 kB / 0.6098 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.4555, allocations: 15.98 kB / 0.6098 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000716/0.4563, allocations: 68.08 kB / 0.6098 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002815/0.4566, allocations: 116.3 kB / 0.61 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.435e-05/0.4566, allocations: 19.98 kB / 0.61 GB, free: 13.79 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006223/0.4572, allocations: 0.5147 MB / 0.6105 GB, free: 13.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4572, allocations: 0 / 0.6105 GB, free: 13.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009015/0.4581, allocations: 303.7 kB / 0.6108 GB, free: 12.98 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002286/0.4584, allocations: 123.1 kB / 0.6109 GB, free: 12.85 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004444/0.4628, allocations: 1.999 MB / 0.6128 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.4629, allocations: 448 / 0.6128 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002713/0.4656, allocations: 1.205 MB / 0.614 GB, free: 9.523 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004937/0.4661, allocations: 47 kB / 0.6141 GB, free: 9.477 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.4688, allocations: 1.826 MB / 0.6158 GB, free: 7.629 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006538/0.4695, allocations: 0.9616 MB / 0.6168 GB, free: 6.641 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002932/0.4698, allocations: 69.12 kB / 0.6168 GB, free: 6.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.47, allocations: 43.44 kB / 0.6169 GB, free: 6.527 MB / 430.1 MB Notification: Performance of SimCode: time 1.964e-06/0.47, allocations: 0 / 0.6169 GB, free: 6.527 MB / 430.1 MB Notification: Performance of Templates: time 0.0204/0.4904, allocations: 13.19 MB / 0.6298 GB, free: 9.371 MB / 446.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1) Environment - environmentSimulation: