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.001356/0.001356, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.376/1.376, allocations: 223.2 MB / 238.9 MB, free: 5.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.001287/0.001287, allocations: 181.1 kB / 290.2 MB, free: 2.344 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4909/0.4909, allocations: 79.45 MB / 420.7 MB, free: 4.031 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003798, allocations: 12 kB / 0.489 GB, free: 5.641 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1429, allocations: 69.51 MB / 0.5569 GB, free: 68 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.2397/0.3827, allocations: 4.256 MB / 0.561 GB, free: 37.58 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002897/0.3857, allocations: 1.563 MB / 0.5626 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003775/0.3861, allocations: 6.625 kB / 0.5626 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003575/0.3864, allocations: 122.2 kB / 0.5627 GB, free: 37.33 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0013/0.3877, allocations: 0.5616 MB / 0.5632 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006295/0.3884, allocations: 330.1 kB / 0.5635 GB, free: 37.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007616/0.3891, allocations: 0.6689 MB / 0.5642 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002713/0.3894, allocations: 184.2 kB / 0.5644 GB, free: 37.17 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003687/0.3898, allocations: 370 kB / 0.5647 GB, free: 37.1 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005206/0.3903, allocations: 485.7 kB / 0.5652 GB, free: 37.01 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.725e-05/0.3904, allocations: 46.94 kB / 0.5652 GB, free: 37.01 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003261/0.3908, allocations: 149.6 kB / 0.5654 GB, free: 37.01 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.3909, allocations: 167.7 kB / 0.5655 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.391, allocations: 164.7 kB / 0.5657 GB, free: 36.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007563/0.3918, allocations: 0.925 MB / 0.5666 GB, free: 36.85 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.3918, allocations: 0 / 0.5666 GB, free: 36.85 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3918, allocations: 0.8438 kB / 0.5666 GB, free: 36.85 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.3918, allocations: 0.7188 kB / 0.5666 GB, free: 36.85 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.004603/0.3965, allocations: 1.633 MB / 0.5682 GB, free: 36.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.3965, allocations: 9.25 kB / 0.5682 GB, free: 36.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003226/0.3997, allocations: 0.5195 MB / 0.5687 GB, free: 36.13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009031/0.4006, allocations: 0.6247 MB / 0.5693 GB, free: 35.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001586/0.4008, allocations: 145.8 kB / 0.5695 GB, free: 35.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.4009, allocations: 50.09 kB / 0.5695 GB, free: 35.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.4023, allocations: 0.696 MB / 0.5702 GB, free: 35.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.4023, allocations: 3.531 kB / 0.5702 GB, free: 35.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.896e-05/0.4024, allocations: 18.72 kB / 0.5702 GB, free: 35.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.4024, allocations: 11.72 kB / 0.5702 GB, free: 35.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.4034, allocations: 0.6631 MB / 0.5709 GB, free: 35.69 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.003869/0.4073, allocations: 2.786 MB / 0.5736 GB, free: 34.33 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01257/0.4199, allocations: 3.76 MB / 0.5773 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.4201, allocations: 11.84 kB / 0.5773 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.4201, allocations: 49.95 kB / 0.5773 GB, free: 33.65 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.595e-06/0.4201, allocations: 0 / 0.5773 GB, free: 33.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01274/0.4328, allocations: 4.215 MB / 0.5814 GB, free: 32.58 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.4329, allocations: 57.69 kB / 0.5815 GB, free: 32.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.434, allocations: 0.7605 MB / 0.5822 GB, free: 32.17 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.4341, allocations: 36.14 kB / 0.5823 GB, free: 32.13 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.4343, allocations: 357.4 kB / 0.5826 GB, free: 31.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.4345, allocations: 204.3 kB / 0.5828 GB, free: 31.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.227e-05/0.4346, allocations: 19.97 kB / 0.5828 GB, free: 31.67 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.4347, allocations: 395.5 kB / 0.5832 GB, free: 31.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009853/0.4357, allocations: 0.5291 MB / 0.5837 GB, free: 31.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.4367, allocations: 0.619 MB / 0.5843 GB, free: 30.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.4378, allocations: 0.5827 MB / 0.5849 GB, free: 30.58 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.4378, allocations: 4 kB / 0.5849 GB, free: 30.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007474/0.4453, allocations: 2.718 MB / 0.5875 GB, free: 29.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.4453, allocations: 5.375 kB / 0.5875 GB, free: 29.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.4454, allocations: 2.125 kB / 0.5875 GB, free: 29.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00448/0.4499, allocations: 1.219 MB / 0.5887 GB, free: 29.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009234/0.4508, allocations: 156.6 kB / 0.5889 GB, free: 29.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/0.4624, allocations: 6.539 MB / 0.5953 GB, free: 25.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.4637, allocations: 132.8 kB / 0.5954 GB, free: 25.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.379e-05/0.4638, allocations: 31.23 kB / 0.5954 GB, free: 25.47 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.0004145/0.4643, allocations: 222.3 kB / 0.5956 GB, free: 25.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.4644, allocations: 76.34 kB / 0.5957 GB, free: 25.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006472/0.4709, allocations: 2.299 MB / 0.598 GB, free: 24.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.4709, allocations: 6.094 kB / 0.598 GB, free: 24.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.4709, allocations: 5.391 kB / 0.598 GB, free: 24.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.471, allocations: 2.766 kB / 0.598 GB, free: 24.62 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.007831/0.4788, allocations: 3.386 MB / 0.6013 GB, free: 23.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.866e-06/0.4788, allocations: 1.859 kB / 0.6013 GB, free: 23.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00048/0.4793, allocations: 61.5 kB / 0.6013 GB, free: 23.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003699/0.483, allocations: 1.083 MB / 0.6024 GB, free: 23.11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/0.4832, allocations: 12.03 kB / 0.6024 GB, free: 23.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008613/0.4918, allocations: 4.308 MB / 0.6066 GB, free: 20.78 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4918, allocations: 0 / 0.6066 GB, free: 20.78 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007883/0.4997, allocations: 2.908 MB / 0.6095 GB, free: 19.83 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004496/0.5002, allocations: 179.6 kB / 0.6096 GB, free: 19.67 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.5003, allocations: 21.05 kB / 0.6096 GB, free: 19.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00077/0.5011, allocations: 74.55 kB / 0.6097 GB, free: 19.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004385/0.5016, allocations: 115.7 kB / 0.6098 GB, free: 19.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.83e-05/0.5016, allocations: 14.58 kB / 0.6098 GB, free: 19.62 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007747/0.5024, allocations: 0.5185 MB / 0.6104 GB, free: 19.38 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5024, allocations: 1.344 kB / 0.6104 GB, free: 19.38 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001095/0.5035, allocations: 300.8 kB / 0.6106 GB, free: 19.34 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.0002292/0.5038, allocations: 116.2 kB / 0.6107 GB, free: 19.24 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004616/0.5084, allocations: 1.999 MB / 0.6127 GB, free: 18.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5084, allocations: 0 / 0.6127 GB, free: 18.18 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00274/0.5112, allocations: 1.205 MB / 0.6139 GB, free: 17.07 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005967/0.5118, allocations: 51.52 kB / 0.6139 GB, free: 17.02 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.5142, allocations: 1.823 MB / 0.6157 GB, free: 15.37 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.5146, allocations: 0.9561 MB / 0.6166 GB, free: 14.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000268/0.5149, allocations: 69.5 kB / 0.6167 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.515, allocations: 46.3 kB / 0.6168 GB, free: 14.41 MB / 430.1 MB Notification: Performance of SimCode: time 6.42e-07/0.515, allocations: 0 / 0.6168 GB, free: 14.41 MB / 430.1 MB Notification: Performance of Templates: time 0.01851/0.5335, allocations: 13.22 MB / 0.6297 GB, free: 1.875 MB / 430.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)