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/ModelicaServices 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/Complex 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 239 MB, free: 4.75 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 188.5 kB / 289.3 MB, free: 2.492 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4908/0.4908, allocations: 91.9 MB / 431.3 MB, free: 9.438 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 79.88 kB / 0.5014 GB, free: 8.109 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3343, allocations: 71.26 MB / 0.571 GB, free: 36.35 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.004843/0.3392, allocations: 5.184 MB / 0.576 GB, free: 33.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003455/0.3426, allocations: 1.628 MB / 0.5776 GB, free: 32.61 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004866/0.3432, allocations: 11.72 kB / 0.5776 GB, free: 32.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004096/0.3436, allocations: 129.6 kB / 0.5778 GB, free: 32.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.345, allocations: 0.5815 MB / 0.5783 GB, free: 32.17 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007303/0.3458, allocations: 382.2 kB / 0.5787 GB, free: 31.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008473/0.3466, allocations: 1.078 MB / 0.5797 GB, free: 31.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003608/0.347, allocations: 219.4 kB / 0.5799 GB, free: 31.31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004359/0.3474, allocations: 446.2 kB / 0.5804 GB, free: 31.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004634/0.3479, allocations: 0.5583 MB / 0.5809 GB, free: 30.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.348, allocations: 98.75 kB / 0.581 GB, free: 30.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003517/0.3484, allocations: 242.9 kB / 0.5812 GB, free: 30.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.3485, allocations: 228.4 kB / 0.5815 GB, free: 30.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000294/0.3488, allocations: 478 kB / 0.5819 GB, free: 30.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009323/0.3498, allocations: 1.243 MB / 0.5831 GB, free: 29.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3498, allocations: 3.734 kB / 0.5831 GB, free: 29.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3498, allocations: 1.844 kB / 0.5831 GB, free: 29.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.3498, allocations: 0 / 0.5831 GB, free: 29.75 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.005209/0.355, allocations: 1.754 MB / 0.5848 GB, free: 28.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.3551, allocations: 13.69 kB / 0.5849 GB, free: 28.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003156/0.3583, allocations: 0.5195 MB / 0.5854 GB, free: 28.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007868/0.3591, allocations: 0.6469 MB / 0.586 GB, free: 28.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001658/0.3592, allocations: 137.3 kB / 0.5861 GB, free: 28.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.3594, allocations: 54 kB / 0.5862 GB, free: 28.14 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.3606, allocations: 0.6541 MB / 0.5868 GB, free: 27.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.3606, allocations: 1.219 kB / 0.5868 GB, free: 27.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.166e-05/0.3607, allocations: 19.75 kB / 0.5868 GB, free: 27.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.3607, allocations: 11.41 kB / 0.5869 GB, free: 27.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.3618, allocations: 0.6389 MB / 0.5875 GB, free: 27.64 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.003951/0.3658, allocations: 2.636 MB / 0.59 GB, free: 26.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01237/0.3782, allocations: 2.814 MB / 0.5928 GB, free: 25.58 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/0.3793, allocations: 448 kB / 0.5932 GB, free: 25.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.144e-05/0.3794, allocations: 7.125 kB / 0.5932 GB, free: 25.4 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.3794, allocations: 41.31 kB / 0.5933 GB, free: 25.36 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.645e-06/0.3794, allocations: 0 / 0.5933 GB, free: 25.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01351/0.393, allocations: 3.531 MB / 0.5967 GB, free: 24.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.393, allocations: 57.41 kB / 0.5968 GB, free: 24.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.3944, allocations: 0.7624 MB / 0.5975 GB, free: 23.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001339/0.3945, allocations: 40.42 kB / 0.5976 GB, free: 23.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/0.3947, allocations: 358.9 kB / 0.5979 GB, free: 23.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000216/0.395, allocations: 213.3 kB / 0.5981 GB, free: 23.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003517/0.3953, allocations: 170.6 kB / 0.5983 GB, free: 23.37 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.3955, allocations: 395.7 kB / 0.5986 GB, free: 23.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.3965, allocations: 0.4994 MB / 0.5991 GB, free: 22.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/0.3976, allocations: 0.5923 MB / 0.5997 GB, free: 22.53 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01684/0.4145, allocations: 3.566 MB / 0.6032 GB, free: 21.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.4145, allocations: 1.344 kB / 0.6032 GB, free: 21.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007547/0.4221, allocations: 2.392 MB / 0.6055 GB, free: 20.76 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.4221, allocations: 5.812 kB / 0.6055 GB, free: 20.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.4222, allocations: 2.547 kB / 0.6055 GB, free: 20.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004491/0.4267, allocations: 1.051 MB / 0.6066 GB, free: 20.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009916/0.4277, allocations: 147.5 kB / 0.6067 GB, free: 20.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/0.439, allocations: 5.076 MB / 0.6117 GB, free: 17.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/0.4406, allocations: 117.7 kB / 0.6118 GB, free: 17.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.186e-05/0.4407, allocations: 32.67 kB / 0.6118 GB, free: 17.62 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.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.0004737/0.4412, allocations: 210.5 kB / 0.612 GB, free: 17.44 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.4413, allocations: 81.95 kB / 0.6121 GB, free: 17.4 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006144/0.4475, allocations: 1.944 MB / 0.614 GB, free: 16.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.4475, allocations: 6.5 kB / 0.614 GB, free: 16.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.4475, allocations: 4.5 kB / 0.614 GB, free: 16.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/0.4475, allocations: 3.328 kB / 0.614 GB, free: 16.82 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.007171/0.4547, allocations: 3.037 MB / 0.617 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.4548, allocations: 7.875 kB / 0.617 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004978/0.4553, allocations: 69.56 kB / 0.617 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003102/0.4584, allocations: 0.9367 MB / 0.6179 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.479e-05/0.4585, allocations: 11.98 kB / 0.618 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007512/0.466, allocations: 4.108 MB / 0.622 GB, free: 9.812 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.4661, allocations: 0 / 0.622 GB, free: 9.812 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006594/0.4727, allocations: 2.514 MB / 0.6244 GB, free: 7.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000363/0.4731, allocations: 179.9 kB / 0.6246 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002577/0.4733, allocations: 15.98 kB / 0.6246 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009008/0.4743, allocations: 60.06 kB / 0.6247 GB, free: 7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000356/0.4746, allocations: 116.4 kB / 0.6248 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.968e-05/0.4747, allocations: 12 kB / 0.6248 GB, free: 6.875 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006337/0.4753, allocations: 0.5225 MB / 0.6253 GB, free: 6.355 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4753, allocations: 0 / 0.6253 GB, free: 6.355 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001073/0.4764, allocations: 299.7 kB / 0.6256 GB, free: 6.062 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.0002431/0.4767, allocations: 123.2 kB / 0.6257 GB, free: 5.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004189/0.4809, allocations: 1.754 MB / 0.6274 GB, free: 4.121 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4809, allocations: 0 / 0.6274 GB, free: 4.121 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002501/0.4834, allocations: 1.08 MB / 0.6285 GB, free: 2.984 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008097/0.4842, allocations: 62.92 kB / 0.6285 GB, free: 2.926 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.4868, allocations: 1.783 MB / 0.6303 GB, free: 1.113 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.4872, allocations: 0.9421 MB / 0.6312 GB, free: 144 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003122/0.4875, allocations: 77.11 kB / 0.6313 GB, free: 64 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.4877, allocations: 47.44 kB / 0.6313 GB, free: 16 kB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4877, allocations: 0 / 0.6313 GB, free: 16 kB / 430.1 MB Notification: Performance of Templates: time 0.02321/0.5109, allocations: 13.92 MB / 0.6449 GB, free: 2.125 MB / 446.1 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)