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.001245/0.001245, allocations: 102.2 kB / 16.27 MB, free: 6 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.35/1.35, allocations: 222.9 MB / 239.9 MB, free: 4.648 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.001417/0.001417, allocations: 196.5 kB / 290.2 MB, free: 2.363 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5221/0.5221, allocations: 91.89 MB / 432.3 MB, free: 9.309 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 75.88 kB / 0.5025 GB, free: 7.785 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3765, allocations: 71.27 MB / 0.5721 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.004819/0.3813, allocations: 4.914 MB / 0.5769 GB, free: 33.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002807/0.3842, allocations: 1.607 MB / 0.5785 GB, free: 33.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003411/0.3845, allocations: 5.781 kB / 0.5785 GB, free: 33.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003952/0.3849, allocations: 162.8 kB / 0.5787 GB, free: 32.96 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.3863, allocations: 0.6353 MB / 0.5793 GB, free: 32.55 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007349/0.387, allocations: 425.1 kB / 0.5797 GB, free: 32.32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008258/0.3878, allocations: 1.074 MB / 0.5807 GB, free: 31.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002908/0.3881, allocations: 213.8 kB / 0.5809 GB, free: 31.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003815/0.3885, allocations: 458.4 kB / 0.5814 GB, free: 31.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004881/0.389, allocations: 0.5494 MB / 0.5819 GB, free: 31.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.3891, allocations: 98.72 kB / 0.582 GB, free: 31.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003993/0.3895, allocations: 237.4 kB / 0.5822 GB, free: 31.14 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.3897, allocations: 228.3 kB / 0.5824 GB, free: 30.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000319/0.39, allocations: 482.5 kB / 0.5829 GB, free: 30.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009128/0.391, allocations: 1.246 MB / 0.5841 GB, free: 30.12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.391, allocations: 0 / 0.5841 GB, free: 30.12 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.391, allocations: 4.812 kB / 0.5841 GB, free: 30.12 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.391, allocations: 3.328 kB / 0.5841 GB, free: 30.12 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.004931/0.3959, allocations: 1.751 MB / 0.5858 GB, free: 29.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.396, allocations: 10.19 kB / 0.5858 GB, free: 29.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003172/0.3992, allocations: 0.5153 MB / 0.5863 GB, free: 29.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008666/0.4, allocations: 0.6484 MB / 0.587 GB, free: 28.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001739/0.4002, allocations: 149.7 kB / 0.5871 GB, free: 28.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.4004, allocations: 49.88 kB / 0.5872 GB, free: 28.51 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.4017, allocations: 0.6567 MB / 0.5878 GB, free: 28.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.4017, allocations: 7.938 kB / 0.5878 GB, free: 28.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.436e-05/0.4018, allocations: 23.28 kB / 0.5878 GB, free: 28.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.4018, allocations: 12.53 kB / 0.5879 GB, free: 28.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.4029, allocations: 0.629 MB / 0.5885 GB, free: 28 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.003991/0.4069, allocations: 2.631 MB / 0.591 GB, free: 26.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01198/0.4189, allocations: 2.811 MB / 0.5938 GB, free: 25.94 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/0.42, allocations: 454.6 kB / 0.5942 GB, free: 25.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.157e-05/0.4201, allocations: 7.531 kB / 0.5942 GB, free: 25.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.4201, allocations: 38.08 kB / 0.5943 GB, free: 25.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 3.256e-06/0.4201, allocations: 5.719 kB / 0.5943 GB, free: 25.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.0131/0.4333, allocations: 3.526 MB / 0.5977 GB, free: 24.72 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.4333, allocations: 64.84 kB / 0.5978 GB, free: 24.65 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.4346, allocations: 0.7629 MB / 0.5985 GB, free: 24.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.4347, allocations: 36.42 kB / 0.5986 GB, free: 24.26 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.4349, allocations: 358.6 kB / 0.5989 GB, free: 23.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/0.4352, allocations: 207 kB / 0.5991 GB, free: 23.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003369/0.4355, allocations: 172.1 kB / 0.5993 GB, free: 23.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.4356, allocations: 396.6 kB / 0.5996 GB, free: 23.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.4367, allocations: 0.4925 MB / 0.6001 GB, free: 23.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.4378, allocations: 0.5955 MB / 0.6007 GB, free: 22.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01618/0.454, allocations: 3.566 MB / 0.6042 GB, free: 21.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.454, allocations: 1.156 kB / 0.6042 GB, free: 21.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007567/0.4616, allocations: 2.396 MB / 0.6065 GB, free: 21.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.4617, allocations: 6.219 kB / 0.6065 GB, free: 21.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.4617, allocations: 2.375 kB / 0.6065 GB, free: 21.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004351/0.4661, allocations: 1.044 MB / 0.6075 GB, free: 20.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009123/0.467, allocations: 148 kB / 0.6077 GB, free: 20.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/0.4776, allocations: 5.081 MB / 0.6127 GB, free: 18.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.479, allocations: 108.9 kB / 0.6128 GB, free: 18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-05/0.4791, allocations: 33.28 kB / 0.6128 GB, free: 17.99 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.0004875/0.4796, allocations: 215.1 kB / 0.613 GB, free: 17.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.4798, allocations: 81.5 kB / 0.6131 GB, free: 17.76 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006099/0.4859, allocations: 1.941 MB / 0.615 GB, free: 17.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.4859, allocations: 6.906 kB / 0.615 GB, free: 17.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.4859, allocations: 3.312 kB / 0.615 GB, free: 17.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.4859, allocations: 5.047 kB / 0.615 GB, free: 17.07 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.007067/0.493, allocations: 3.045 MB / 0.618 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.4931, allocations: 3.938 kB / 0.618 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004536/0.4935, allocations: 69.56 kB / 0.618 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003015/0.4965, allocations: 0.937 MB / 0.6189 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.011e-05/0.4966, allocations: 12 kB / 0.6189 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007099/0.5037, allocations: 4.119 MB / 0.623 GB, free: 9.816 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.5038, allocations: 0 / 0.623 GB, free: 9.816 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006318/0.5101, allocations: 2.514 MB / 0.6254 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003676/0.5105, allocations: 179.9 kB / 0.6256 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.5106, allocations: 12 kB / 0.6256 GB, free: 7.066 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007331/0.5114, allocations: 55.88 kB / 0.6257 GB, free: 7.012 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000347/0.5117, allocations: 116.4 kB / 0.6258 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.295e-05/0.5118, allocations: 15.98 kB / 0.6258 GB, free: 6.883 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005952/0.5124, allocations: 0.5225 MB / 0.6263 GB, free: 6.363 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5124, allocations: 0 / 0.6263 GB, free: 6.363 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001001/0.5134, allocations: 299.7 kB / 0.6266 GB, free: 6.07 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.0002579/0.5137, allocations: 113.4 kB / 0.6267 GB, free: 5.949 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004191/0.5179, allocations: 1.769 MB / 0.6284 GB, free: 4.121 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.5179, allocations: 0 / 0.6284 GB, free: 4.121 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002473/0.5204, allocations: 1.072 MB / 0.6295 GB, free: 2.992 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006813/0.5211, allocations: 71.69 kB / 0.6295 GB, free: 2.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/0.5234, allocations: 1.55 MB / 0.6311 GB, free: 1.348 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.5237, allocations: 0.9421 MB / 0.632 GB, free: 384 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002057/0.5239, allocations: 55.42 kB / 0.632 GB, free: 328 kB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5239, allocations: 0 / 0.632 GB, free: 328 kB / 430.1 MB Notification: Performance of Templates: time 0.0214/0.5453, allocations: 20.41 MB / 0.652 GB, free: 11.9 MB / 462.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)