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.09238/0.09238, allocations: 12.2 MB / 27.17 MB, free: 1.926 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.0009219/0.000922, allocations: 105.8 kB / 30.68 MB, free: 5 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.553/1.553, allocations: 205.4 MB / 239.5 MB, free: 12.18 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.00109/0.00109, allocations: 177.7 kB / 290.6 MB, free: 13.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5288/0.5288, allocations: 78.54 MB / 420.1 MB, free: 48.88 MB / 334.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.0008824/0.0008825, allocations: 32.22 kB / 0.4894 GB, free: 2.652 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3982, allocations: 69.23 MB / 0.557 GB, free: 42.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.00463/0.4029, allocations: 4.526 MB / 0.5615 GB, free: 41.85 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00339/0.4064, allocations: 1.503 MB / 0.5629 GB, free: 40.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006016/0.407, allocations: 6.875 kB / 0.5629 GB, free: 40.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004208/0.4074, allocations: 117.4 kB / 0.563 GB, free: 40.93 MB / 430.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.001537/0.409, allocations: 0.5216 MB / 0.5636 GB, free: 40.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008299/0.4098, allocations: 343 kB / 0.5639 GB, free: 40.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00116/0.411, allocations: 0.9627 MB / 0.5648 GB, free: 39.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003281/0.4113, allocations: 178.3 kB / 0.565 GB, free: 39.83 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005335/0.4119, allocations: 367 kB / 0.5653 GB, free: 39.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000633/0.4125, allocations: 492.8 kB / 0.5658 GB, free: 39.47 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.4126, allocations: 49.78 kB / 0.5659 GB, free: 39.46 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004725/0.4131, allocations: 165.9 kB / 0.566 GB, free: 39.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.4133, allocations: 169.4 kB / 0.5662 GB, free: 39.33 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.4134, allocations: 160.2 kB / 0.5663 GB, free: 39.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000794/0.4142, allocations: 0.9541 MB / 0.5673 GB, free: 38.95 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.4143, allocations: 0 / 0.5673 GB, free: 38.95 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4143, allocations: 1.156 kB / 0.5673 GB, free: 38.95 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.4143, allocations: 0 / 0.5673 GB, free: 38.95 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.004597/0.4189, allocations: 1.637 MB / 0.5689 GB, free: 38.14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.4189, allocations: 18 kB / 0.5689 GB, free: 38.13 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00328/0.4222, allocations: 0.5234 MB / 0.5694 GB, free: 38.03 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.4233, allocations: 0.6154 MB / 0.57 GB, free: 37.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/0.4235, allocations: 147.1 kB / 0.5701 GB, free: 37.47 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.542e-05/0.4236, allocations: 58.34 kB / 0.5702 GB, free: 37.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.4248, allocations: 0.687 MB / 0.5709 GB, free: 37.19 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.4248, allocations: 3.062 kB / 0.5709 GB, free: 37.19 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.923e-05/0.4249, allocations: 23.12 kB / 0.5709 GB, free: 37.17 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.4249, allocations: 10.75 kB / 0.5709 GB, free: 37.17 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.426, allocations: 0.6693 MB / 0.5716 GB, free: 36.94 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.003936/0.43, allocations: 2.667 MB / 0.5742 GB, free: 35.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01251/0.4425, allocations: 3.765 MB / 0.5778 GB, free: 34.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001358/0.4439, allocations: 484.8 kB / 0.5783 GB, free: 34.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.4441, allocations: 9.828 kB / 0.5783 GB, free: 34.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.4441, allocations: 41.34 kB / 0.5783 GB, free: 34.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 3.937e-06/0.4441, allocations: 4 kB / 0.5783 GB, free: 34.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.0168/0.4609, allocations: 4.227 MB / 0.5825 GB, free: 33.46 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.461, allocations: 56.97 kB / 0.5825 GB, free: 33.4 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/0.4625, allocations: 0.7553 MB / 0.5833 GB, free: 33.06 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001732/0.4627, allocations: 36.33 kB / 0.5833 GB, free: 33.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/0.463, allocations: 355 kB / 0.5836 GB, free: 32.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002575/0.4632, allocations: 213 kB / 0.5838 GB, free: 32.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.412e-05/0.4633, allocations: 22.56 kB / 0.5839 GB, free: 32.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.4635, allocations: 391.7 kB / 0.5842 GB, free: 32.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.4648, allocations: 0.5275 MB / 0.5848 GB, free: 32.01 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/0.4662, allocations: 0.6294 MB / 0.5854 GB, free: 31.72 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.4677, allocations: 0.5818 MB / 0.5859 GB, free: 31.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.4677, allocations: 0 / 0.5859 GB, free: 31.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.009668/0.4774, allocations: 2.718 MB / 0.5886 GB, free: 30.67 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.4774, allocations: 6.156 kB / 0.5886 GB, free: 30.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.4775, allocations: 2.531 kB / 0.5886 GB, free: 30.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005862/0.4833, allocations: 1.221 MB / 0.5898 GB, free: 30.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.4846, allocations: 156.4 kB / 0.5899 GB, free: 30.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01441/0.499, allocations: 6.33 MB / 0.5961 GB, free: 26.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.5004, allocations: 131 kB / 0.5962 GB, free: 26.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.192e-05/0.5005, allocations: 34.59 kB / 0.5963 GB, free: 26.41 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.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.0003961/0.5009, allocations: 215.4 kB / 0.5965 GB, free: 26.22 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.501, allocations: 85.64 kB / 0.5966 GB, free: 26.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005984/0.507, allocations: 2.291 MB / 0.5988 GB, free: 25.56 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.5071, allocations: 5.531 kB / 0.5988 GB, free: 25.56 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.711e-05/0.5071, allocations: 4.312 kB / 0.5988 GB, free: 25.56 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.046e-05/0.5071, allocations: 3.422 kB / 0.5988 GB, free: 25.56 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.007757/0.5149, allocations: 3.386 MB / 0.6021 GB, free: 24.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.5149, allocations: 0.75 kB / 0.6021 GB, free: 24.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004792/0.5154, allocations: 66 kB / 0.6022 GB, free: 24.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003389/0.5188, allocations: 1.083 MB / 0.6032 GB, free: 24.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.519, allocations: 12.02 kB / 0.6033 GB, free: 24.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007887/0.5268, allocations: 4.132 MB / 0.6073 GB, free: 21.76 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.5269, allocations: 1.281 kB / 0.6073 GB, free: 21.76 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007126/0.534, allocations: 2.898 MB / 0.6101 GB, free: 20.73 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004992/0.5346, allocations: 185 kB / 0.6103 GB, free: 20.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.5347, allocations: 10.91 kB / 0.6103 GB, free: 20.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000721/0.5354, allocations: 69.34 kB / 0.6104 GB, free: 20.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004027/0.5359, allocations: 118.3 kB / 0.6105 GB, free: 20.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.992e-05/0.5359, allocations: 18.48 kB / 0.6105 GB, free: 20.44 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007113/0.5366, allocations: 0.5191 MB / 0.611 GB, free: 20.13 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5366, allocations: 0 / 0.611 GB, free: 20.13 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001119/0.5378, allocations: 295.7 kB / 0.6113 GB, free: 19.99 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.0002208/0.538, allocations: 122.1 kB / 0.6114 GB, free: 19.86 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00388/0.5419, allocations: 2.007 MB / 0.6134 GB, free: 17.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5419, allocations: 3.938 kB / 0.6134 GB, free: 17.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002369/0.5443, allocations: 1.203 MB / 0.6146 GB, free: 16.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007693/0.5451, allocations: 59.84 kB / 0.6146 GB, free: 16.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/0.5475, allocations: 1.819 MB / 0.6164 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.5478, allocations: 0.9421 MB / 0.6173 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002967/0.5481, allocations: 69.12 kB / 0.6174 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.5483, allocations: 51.42 kB / 0.6174 GB, free: 13.54 MB / 430.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5483, allocations: 0 / 0.6174 GB, free: 13.54 MB / 430.1 MB Notification: Performance of Templates: time 0.01972/0.5681, allocations: 13.21 MB / 0.6303 GB, free: 376 kB / 430.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: