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.1027/0.1027, allocations: 12.6 MB / 28.1 MB, free: 0.832 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.0016/0.0016, allocations: 107.5 kB / 31.69 MB, free: 3.965 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.526/1.526, allocations: 205.1 MB / 240.3 MB, free: 12.44 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.001611/0.001611, allocations: 188.5 kB / 290.5 MB, free: 13.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4456/0.4456, allocations: 78.51 MB / 419.2 MB, free: 11.37 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.002734/0.002734, allocations: 127.8 kB / 499.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.359, allocations: 68.11 MB / 0.5546 GB, free: 32.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.006785/0.3659, allocations: 4.944 MB / 0.5594 GB, free: 29.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003927/0.3698, allocations: 1.57 MB / 0.5609 GB, free: 27.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005963/0.3705, allocations: 6.875 kB / 0.5609 GB, free: 27.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004822/0.371, allocations: 158.2 kB / 0.5611 GB, free: 27.76 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.001592/0.3726, allocations: 0.6416 MB / 0.5617 GB, free: 27.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009076/0.3735, allocations: 426.5 kB / 0.5621 GB, free: 26.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001152/0.3747, allocations: 1.077 MB / 0.5632 GB, free: 26.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003899/0.3751, allocations: 211.1 kB / 0.5634 GB, free: 26.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005596/0.3756, allocations: 454.6 kB / 0.5638 GB, free: 25.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006148/0.3763, allocations: 0.5556 MB / 0.5643 GB, free: 25.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001808/0.3765, allocations: 99.09 kB / 0.5644 GB, free: 25.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004984/0.377, allocations: 233.6 kB / 0.5647 GB, free: 25.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.3771, allocations: 229.8 kB / 0.5649 GB, free: 25.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003652/0.3775, allocations: 484 kB / 0.5653 GB, free: 24.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.3787, allocations: 1.236 MB / 0.5666 GB, free: 23.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3787, allocations: 0 / 0.5666 GB, free: 23.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3788, allocations: 0 / 0.5666 GB, free: 23.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.3788, allocations: 0 / 0.5666 GB, free: 23.91 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.005362/0.3841, allocations: 1.753 MB / 0.5683 GB, free: 22.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.3842, allocations: 14.02 kB / 0.5683 GB, free: 22.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003326/0.3875, allocations: 0.5255 MB / 0.5688 GB, free: 22.51 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009545/0.3885, allocations: 0.6477 MB / 0.5694 GB, free: 21.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001773/0.3887, allocations: 139.8 kB / 0.5696 GB, free: 21.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.3888, allocations: 49.09 kB / 0.5696 GB, free: 21.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.3902, allocations: 0.6667 MB / 0.5703 GB, free: 21.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.3902, allocations: 0 / 0.5703 GB, free: 21.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.368e-05/0.3903, allocations: 15.31 kB / 0.5703 GB, free: 21.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.3903, allocations: 12.84 kB / 0.5703 GB, free: 21.42 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.3916, allocations: 0.6291 MB / 0.5709 GB, free: 21.11 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.004501/0.3961, allocations: 2.643 MB / 0.5735 GB, free: 19.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0118/0.4079, allocations: 2.813 MB / 0.5762 GB, free: 17.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009233/0.4089, allocations: 450.2 kB / 0.5767 GB, free: 16.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.458e-05/0.409, allocations: 4.562 kB / 0.5767 GB, free: 16.61 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.409, allocations: 43.12 kB / 0.5767 GB, free: 16.55 MB / 398.1 MB Notification: Performance of pre-optimization done (n=57): time 3.206e-06/0.409, allocations: 0 / 0.5767 GB, free: 16.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.01168/0.4207, allocations: 3.527 MB / 0.5801 GB, free: 12.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.4208, allocations: 63.95 kB / 0.5802 GB, free: 12.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.4218, allocations: 0.7584 MB / 0.5809 GB, free: 12.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.716e-05/0.4219, allocations: 41.7 kB / 0.581 GB, free: 12.06 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/0.4221, allocations: 352.6 kB / 0.5813 GB, free: 11.71 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.4222, allocations: 209 kB / 0.5815 GB, free: 11.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002845/0.4225, allocations: 170.5 kB / 0.5817 GB, free: 11.33 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.657e-05/0.4226, allocations: 398.7 kB / 0.5821 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008318/0.4235, allocations: 0.4939 MB / 0.5825 GB, free: 10.44 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008853/0.4244, allocations: 0.5914 MB / 0.5831 GB, free: 9.824 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01439/0.4388, allocations: 3.571 MB / 0.5866 GB, free: 6.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.4388, allocations: 0 / 0.5866 GB, free: 6.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.006722/0.4456, allocations: 2.391 MB / 0.5889 GB, free: 3.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.4456, allocations: 8 kB / 0.589 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.4457, allocations: 4 kB / 0.589 GB, free: 3.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003883/0.4495, allocations: 1.05 MB / 0.59 GB, free: 2.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007873/0.4504, allocations: 151.7 kB / 0.5901 GB, free: 2.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/0.4607, allocations: 5.069 MB / 0.5951 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.4622, allocations: 111.2 kB / 0.5952 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001861/0.4624, allocations: 35.92 kB / 0.5952 GB, free: 13.24 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.0006247/0.4631, allocations: 216.1 kB / 0.5954 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002956/0.4634, allocations: 78.97 kB / 0.5955 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005972/0.4694, allocations: 1.941 MB / 0.5974 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.4694, allocations: 8 kB / 0.5974 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/0.4694, allocations: 8 kB / 0.5974 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.4694, allocations: 7.984 kB / 0.5974 GB, free: 10.96 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.007585/0.477, allocations: 3.037 MB / 0.6004 GB, free: 7.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.4771, allocations: 3.938 kB / 0.6004 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000482/0.4776, allocations: 63.91 kB / 0.6004 GB, free: 7.766 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003348/0.4809, allocations: 0.9493 MB / 0.6014 GB, free: 6.809 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.637e-05/0.481, allocations: 8 kB / 0.6014 GB, free: 6.801 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008348/0.4894, allocations: 4.104 MB / 0.6054 GB, free: 2.555 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4894, allocations: 0 / 0.6054 GB, free: 2.555 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007093/0.4965, allocations: 2.53 MB / 0.6079 GB, free: 0 / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004524/0.497, allocations: 176 kB / 0.608 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002467/0.4973, allocations: 12 kB / 0.608 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008882/0.4982, allocations: 51.94 kB / 0.6081 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000386/0.4985, allocations: 112.4 kB / 0.6082 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.643e-05/0.4986, allocations: 20 kB / 0.6082 GB, free: 15.62 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007659/0.4994, allocations: 0.5263 MB / 0.6087 GB, free: 15.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4994, allocations: 0 / 0.6087 GB, free: 15.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001185/0.5006, allocations: 299.7 kB / 0.609 GB, free: 14.8 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.0002892/0.5009, allocations: 115.2 kB / 0.6091 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004674/0.5056, allocations: 1.754 MB / 0.6108 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.5056, allocations: 0 / 0.6108 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00276/0.5084, allocations: 1.076 MB / 0.6119 GB, free: 11.73 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007913/0.5092, allocations: 61.28 kB / 0.6119 GB, free: 11.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003069/0.5123, allocations: 1.533 MB / 0.6134 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005872/0.5129, allocations: 0.9421 MB / 0.6144 GB, free: 9.148 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003296/0.5132, allocations: 69.14 kB / 0.6144 GB, free: 9.078 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.5134, allocations: 47.42 kB / 0.6145 GB, free: 9.031 MB / 430.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5134, allocations: 4 kB / 0.6145 GB, free: 9.027 MB / 430.1 MB Notification: Performance of Templates: time 0.02576/0.5392, allocations: 14.32 MB / 0.6285 GB, free: 10.73 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 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)