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.07652/0.07652, allocations: 12.2 MB / 27.47 MB, free: 1.418 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.0007162/0.0007163, allocations: 101.7 kB / 31 MB, free: 4.77 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.398/1.398, allocations: 205.4 MB / 239.8 MB, free: 13.54 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.001448/0.001448, allocations: 186.5 kB / 291 MB, free: 11.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4499/0.4499, allocations: 78.53 MB / 420.5 MB, free: 11.5 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.0008739/0.0008741, allocations: 33.17 kB / 0.4901 GB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3144, allocations: 69.23 MB / 0.5577 GB, free: 21.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.003702/0.3182, allocations: 4.804 MB / 0.5624 GB, free: 16.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002869/0.3211, allocations: 1.584 MB / 0.5639 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007275/0.3218, allocations: 8 kB / 0.564 GB, free: 14.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000518/0.3224, allocations: 127.2 kB / 0.5641 GB, free: 14.47 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.001735/0.3241, allocations: 0.5762 MB / 0.5646 GB, free: 13.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007909/0.3249, allocations: 390.2 kB / 0.565 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.3261, allocations: 1.012 MB / 0.566 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003511/0.3264, allocations: 189 kB / 0.5662 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006394/0.3271, allocations: 382.2 kB / 0.5665 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007093/0.3278, allocations: 0.4937 MB / 0.567 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002146/0.328, allocations: 44 kB / 0.5671 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005256/0.3286, allocations: 183.8 kB / 0.5672 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.3287, allocations: 175.1 kB / 0.5674 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004217/0.3292, allocations: 443.1 kB / 0.5678 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009884/0.3302, allocations: 1.164 MB / 0.569 GB, free: 9.434 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3302, allocations: 3.938 kB / 0.569 GB, free: 9.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3302, allocations: 4 kB / 0.569 GB, free: 9.426 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.799e-05/0.3302, allocations: 0 / 0.569 GB, free: 9.426 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.004974/0.3352, allocations: 1.621 MB / 0.5706 GB, free: 7.754 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.3353, allocations: 11.98 kB / 0.5706 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003269/0.3385, allocations: 0.5303 MB / 0.5711 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.3396, allocations: 0.6431 MB / 0.5717 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/0.3398, allocations: 150.1 kB / 0.5719 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/0.34, allocations: 59.89 kB / 0.5719 GB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.3413, allocations: 0.6936 MB / 0.5726 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.3413, allocations: 0 / 0.5726 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.185e-05/0.3414, allocations: 20 kB / 0.5726 GB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.3414, allocations: 12 kB / 0.5726 GB, free: 5.574 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.3426, allocations: 0.6715 MB / 0.5733 GB, free: 4.898 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.004125/0.3467, allocations: 2.663 MB / 0.5759 GB, free: 2.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01321/0.3599, allocations: 3.77 MB / 0.5796 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009435/0.3609, allocations: 486.3 kB / 0.58 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.075e-05/0.361, allocations: 8.562 kB / 0.58 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.361, allocations: 39.12 kB / 0.5801 GB, free: 13.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=57): time 2.946e-06/0.361, allocations: 0 / 0.5801 GB, free: 13.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.01372/0.3747, allocations: 4.23 MB / 0.5842 GB, free: 9.461 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.3748, allocations: 59.97 kB / 0.5843 GB, free: 9.391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.376, allocations: 0.7739 MB / 0.585 GB, free: 8.609 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.236e-05/0.3761, allocations: 37.7 kB / 0.5851 GB, free: 8.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00029/0.3764, allocations: 352.6 kB / 0.5854 GB, free: 8.215 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/0.3767, allocations: 205 kB / 0.5856 GB, free: 8.012 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.3768, allocations: 89.66 kB / 0.5857 GB, free: 7.918 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.377, allocations: 398.7 kB / 0.586 GB, free: 7.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.3781, allocations: 0.533 MB / 0.5866 GB, free: 6.988 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.3792, allocations: 0.6342 MB / 0.5872 GB, free: 6.328 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0161/0.3953, allocations: 3.805 MB / 0.5909 GB, free: 2.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.3954, allocations: 0 / 0.5909 GB, free: 2.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.008059/0.4034, allocations: 2.751 MB / 0.5936 GB, free: 15.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.4035, allocations: 8 kB / 0.5936 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.4035, allocations: 4 kB / 0.5936 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004585/0.4081, allocations: 1.2 MB / 0.5948 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008559/0.409, allocations: 151.7 kB / 0.5949 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/0.4198, allocations: 5.115 MB / 0.5999 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.4211, allocations: 127.2 kB / 0.6 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/0.4213, allocations: 31.98 kB / 0.6001 GB, free: 8.949 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.0005417/0.4218, allocations: 217.6 kB / 0.6003 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002196/0.422, allocations: 82.97 kB / 0.6004 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006624/0.4287, allocations: 2.293 MB / 0.6026 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.4287, allocations: 8 kB / 0.6026 GB, free: 6.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/0.4287, allocations: 4 kB / 0.6026 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.4287, allocations: 0 / 0.6026 GB, free: 6.316 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.007884/0.4366, allocations: 3.399 MB / 0.6059 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.4367, allocations: 0 / 0.6059 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004569/0.4371, allocations: 63.91 kB / 0.606 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003521/0.4407, allocations: 1.086 MB / 0.607 GB, free: 1.668 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-05/0.4407, allocations: 15.98 kB / 0.6071 GB, free: 1.652 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008282/0.449, allocations: 4.134 MB / 0.6111 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4491, allocations: 4 kB / 0.6111 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007683/0.4567, allocations: 2.905 MB / 0.6139 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000305/0.4571, allocations: 180 kB / 0.6141 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.4572, allocations: 12 kB / 0.6141 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008115/0.4581, allocations: 71.94 kB / 0.6142 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000334/0.4584, allocations: 116.3 kB / 0.6143 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-05/0.4585, allocations: 16 kB / 0.6143 GB, free: 10.04 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006961/0.4592, allocations: 0.5264 MB / 0.6148 GB, free: 9.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4592, allocations: 0 / 0.6148 GB, free: 9.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009638/0.4601, allocations: 295.7 kB / 0.6151 GB, free: 9.23 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.0002453/0.4604, allocations: 117.6 kB / 0.6152 GB, free: 9.109 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004673/0.4651, allocations: 1.91 MB / 0.6171 GB, free: 7.141 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4651, allocations: 0 / 0.6171 GB, free: 7.141 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002949/0.468, allocations: 1.201 MB / 0.6183 GB, free: 5.883 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006722/0.4687, allocations: 66.09 kB / 0.6183 GB, free: 5.824 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/0.4714, allocations: 1.882 MB / 0.6202 GB, free: 3.918 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004752/0.4719, allocations: 0.946 MB / 0.6211 GB, free: 2.941 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002823/0.4722, allocations: 65.14 kB / 0.6211 GB, free: 2.875 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.4724, allocations: 47.42 kB / 0.6212 GB, free: 2.828 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4724, allocations: 0 / 0.6212 GB, free: 2.828 MB / 430.1 MB Notification: Performance of Templates: time 0.03056/0.503, allocations: 13 MB / 0.6339 GB, free: 5.852 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: