Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 182.5 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.223/1.223, allocations: 222.9 MB / 239.7 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009858/0.0009857, allocations: 114.2 kB / 289.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4144/0.4144, allocations: 78.48 MB / 418.5 MB, free: 8.816 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 67.89 kB / 497.4 MB, free: 10.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2484, allocations: 68.12 MB / 0.5523 GB, free: 20.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.004045/0.2525, allocations: 5.168 MB / 0.5574 GB, free: 15.03 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.2543, allocations: 1.642 MB / 0.559 GB, free: 13.38 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.2546, allocations: 11.94 kB / 0.559 GB, free: 13.37 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.2549, allocations: 111.3 kB / 0.5591 GB, free: 13.26 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.2559, allocations: 0.6023 MB / 0.5597 GB, free: 12.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005465/0.2564, allocations: 382.1 kB / 0.56 GB, free: 12.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005948/0.257, allocations: 1.028 MB / 0.561 GB, free: 11.26 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002212/0.2573, allocations: 190.4 kB / 0.5612 GB, free: 11.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002894/0.2576, allocations: 402.2 kB / 0.5616 GB, free: 10.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003899/0.258, allocations: 0.5171 MB / 0.5621 GB, free: 10.14 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.706e-05/0.2581, allocations: 52 kB / 0.5621 GB, free: 10.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002832/0.2584, allocations: 179.9 kB / 0.5623 GB, free: 9.914 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.2585, allocations: 179.2 kB / 0.5625 GB, free: 9.738 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002388/0.2587, allocations: 433.3 kB / 0.5629 GB, free: 9.312 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006839/0.2594, allocations: 1.213 MB / 0.5641 GB, free: 8.098 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2594, allocations: 0 / 0.5641 GB, free: 8.098 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.2594, allocations: 0 / 0.5641 GB, free: 8.098 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.2595, allocations: 0 / 0.5641 GB, free: 8.098 MB / 378.7 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.004749/0.2642, allocations: 1.757 MB / 0.5658 GB, free: 6.289 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.2643, allocations: 8.031 kB / 0.5658 GB, free: 6.281 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003015/0.2673, allocations: 0.5264 MB / 0.5663 GB, free: 5.754 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006696/0.268, allocations: 0.647 MB / 0.567 GB, free: 5.066 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/0.2681, allocations: 138.1 kB / 0.5671 GB, free: 4.914 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.03e-05/0.2682, allocations: 59.98 kB / 0.5671 GB, free: 4.855 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.2693, allocations: 0.6545 MB / 0.5678 GB, free: 4.195 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.2693, allocations: 0 / 0.5678 GB, free: 4.195 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-05/0.2694, allocations: 20 kB / 0.5678 GB, free: 4.176 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.2694, allocations: 12 kB / 0.5678 GB, free: 4.164 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.2705, allocations: 0.6363 MB / 0.5684 GB, free: 3.523 MB / 378.7 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.003605/0.2741, allocations: 2.639 MB / 0.571 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01285/0.287, allocations: 2.809 MB / 0.5738 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009144/0.2879, allocations: 444.6 kB / 0.5742 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.639e-05/0.288, allocations: 12.56 kB / 0.5742 GB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.2881, allocations: 35.12 kB / 0.5742 GB, free: 13.42 MB / 394.7 MB Notification: Performance of pre-optimization done (n=57): time 2.274e-06/0.2881, allocations: 4 kB / 0.5742 GB, free: 13.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.01323/0.3013, allocations: 3.531 MB / 0.5777 GB, free: 9.812 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.3014, allocations: 55.97 kB / 0.5777 GB, free: 9.746 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.3024, allocations: 0.7738 MB / 0.5785 GB, free: 8.965 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.923e-05/0.3025, allocations: 37.7 kB / 0.5785 GB, free: 8.922 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/0.3028, allocations: 348.6 kB / 0.5789 GB, free: 8.574 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002246/0.3031, allocations: 213 kB / 0.5791 GB, free: 8.363 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000336/0.3034, allocations: 170.5 kB / 0.5792 GB, free: 8.191 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.3036, allocations: 394.7 kB / 0.5796 GB, free: 7.797 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.3046, allocations: 0.4978 MB / 0.5801 GB, free: 7.297 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/0.3057, allocations: 0.5875 MB / 0.5807 GB, free: 6.688 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01572/0.3214, allocations: 3.559 MB / 0.5841 GB, free: 3.102 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3215, allocations: 3.938 kB / 0.5841 GB, free: 3.098 MB / 394.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007173/0.3287, allocations: 2.399 MB / 0.5865 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.3287, allocations: 8 kB / 0.5865 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.3287, allocations: 4 kB / 0.5865 GB, free: 0.668 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004213/0.3329, allocations: 1.047 MB / 0.5875 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007344/0.3337, allocations: 147.8 kB / 0.5877 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009883/0.3436, allocations: 4.695 MB / 0.5922 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.3446, allocations: 115.2 kB / 0.5924 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.153e-05/0.3447, allocations: 31.98 kB / 0.5924 GB, free: 10.49 MB / 410.7 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.000386/0.3451, allocations: 213.6 kB / 0.5926 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.3453, allocations: 79.06 kB / 0.5927 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006094/0.3514, allocations: 1.953 MB / 0.5946 GB, free: 8.215 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3514, allocations: 4 kB / 0.5946 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.3514, allocations: 4 kB / 0.5946 GB, free: 8.207 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.3514, allocations: 3.984 kB / 0.5946 GB, free: 8.203 MB / 410.7 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.00715/0.3586, allocations: 3.036 MB / 0.5975 GB, free: 5.078 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.3586, allocations: 4 kB / 0.5975 GB, free: 5.074 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004288/0.359, allocations: 59.91 kB / 0.5976 GB, free: 5.016 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003289/0.3623, allocations: 0.9337 MB / 0.5985 GB, free: 4.074 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.367e-05/0.3624, allocations: 19.92 kB / 0.5985 GB, free: 4.055 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007737/0.3701, allocations: 3.778 MB / 0.6022 GB, free: 148 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3702, allocations: 3.984 kB / 0.6022 GB, free: 144 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03779/0.408, allocations: 14.77 MB / 0.6167 GB, free: 1.062 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001938/0.4082, allocations: 183.9 kB / 0.6168 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.4083, allocations: 15.98 kB / 0.6168 GB, free: 0.8477 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007775/0.4091, allocations: 59.88 kB / 0.6169 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003377/0.4094, allocations: 112.4 kB / 0.617 GB, free: 0.6758 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.996e-05/0.4095, allocations: 16 kB / 0.617 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006094/0.4101, allocations: 0.5186 MB / 0.6175 GB, free: 148 kB / 426.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4101, allocations: 0 / 0.6175 GB, free: 148 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0011/0.4112, allocations: 403.7 kB / 0.6179 GB, free: 15.75 MB / 442.7 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.0002115/0.4115, allocations: 127.1 kB / 0.618 GB, free: 15.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004327/0.4158, allocations: 1.73 MB / 0.6197 GB, free: 13.83 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4158, allocations: 0 / 0.6197 GB, free: 13.83 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002703/0.4185, allocations: 1.083 MB / 0.6208 GB, free: 12.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005306/0.4191, allocations: 62.09 kB / 0.6208 GB, free: 12.63 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004267/0.4233, allocations: 2.561 MB / 0.6233 GB, free: 10.02 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004705/0.4238, allocations: 0.962 MB / 0.6243 GB, free: 9.023 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002929/0.4241, allocations: 77.11 kB / 0.6244 GB, free: 8.949 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/0.4243, allocations: 51.42 kB / 0.6244 GB, free: 8.902 MB / 442.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4243, allocations: 0 / 0.6244 GB, free: 8.902 MB / 442.7 MB Notification: Performance of Templates: time 0.02525/0.4496, allocations: 18.04 MB / 0.642 GB, free: 6.887 MB / 458.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.sim & ./OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)