Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker") translateModel(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001728/0.001729, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.941/1.941, allocations: 205.1 MB / 221.8 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000973/0.0009731, allocations: 112 kB / 269.2 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.0588/0.0588, allocations: 14.18 MB / 330.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009544/0.0009544, allocations: 51.92 kB / 391.6 MB, free: 64.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0687/0.06967, allocations: 50.14 MB / 441.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker): time 0.008042/0.07774, allocations: 11.94 MB / 453.7 MB, free: 2.715 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006473/0.08424, allocations: 5.005 MB / 458.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.0854, allocations: 31.88 kB / 458.8 MB, free: 13.66 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001372/0.08681, allocations: 0.5484 MB / 459.3 MB, free: 13.11 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004643/0.09147, allocations: 2.196 MB / 461.5 MB, free: 10.92 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009763/0.09245, allocations: 0.5019 MB / 462 MB, free: 10.42 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00361/0.09607, allocations: 3.381 MB / 465.4 MB, free: 7.031 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003309/0.09642, allocations: 221.6 kB / 465.6 MB, free: 6.797 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.09745, allocations: 0.894 MB / 466.5 MB, free: 5.898 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008882/0.09835, allocations: 0.9254 MB / 467.4 MB, free: 4.969 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.09847, allocations: 48 kB / 467.5 MB, free: 4.922 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00097/0.09944, allocations: 423.7 kB / 467.9 MB, free: 4.508 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.09963, allocations: 210.6 kB / 468.1 MB, free: 4.301 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007612/0.1004, allocations: 0.843 MB / 468.9 MB, free: 3.453 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00214/0.1026, allocations: 2.161 MB / 471.1 MB, free: 1.285 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1026, allocations: 0 / 471.1 MB, free: 1.285 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1026, allocations: 0 / 471.1 MB, free: 1.285 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.1026, allocations: 0 / 471.1 MB, free: 1.285 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 336 * Number of variables: 336 Notification: Performance of Generate backend data structure: time 0.007649/0.1103, allocations: 2.701 MB / 473.8 MB, free: 14.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.1103, allocations: 11.97 kB / 473.8 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009318/0.1112, allocations: 270.7 kB / 474.1 MB, free: 14.24 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/0.1129, allocations: 1.012 MB / 475.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.1131, allocations: 140.3 kB / 475.2 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.1132, allocations: 124 kB / 475.3 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.1152, allocations: 1.351 MB / 476.7 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.979e-05/0.1152, allocations: 7.938 kB / 476.7 MB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.1154, allocations: 52 kB / 476.7 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.061e-05/0.1154, allocations: 32 kB / 476.8 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002331/0.1177, allocations: 1.247 MB / 478 MB, free: 10.13 MB / 330.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.008425/0.1262, allocations: 8.597 MB / 486.6 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.155/0.2812, allocations: 1.542 MB / 488.2 MB, free: 48.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008354/0.2821, allocations: 0.5663 MB / 488.7 MB, free: 48.81 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.701e-05/0.2822, allocations: 16.28 kB / 488.7 MB, free: 48.81 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/0.2832, allocations: 0.6296 MB / 489.4 MB, free: 48.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=150): time 2.896e-06/0.2832, allocations: 0 / 489.4 MB, free: 48.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=150): time 0.009519/0.2927, allocations: 3.152 MB / 492.5 MB, free: 47.63 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.2928, allocations: 146.7 kB / 492.7 MB, free: 47.47 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.294, allocations: 0.7891 MB / 493.5 MB, free: 47.14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.412e-05/0.2941, allocations: 52.75 kB / 493.5 MB, free: 47.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004653/0.2946, allocations: 0.5776 MB / 494.1 MB, free: 46.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003656/0.2949, allocations: 0.5044 MB / 494.6 MB, free: 46.38 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003234/0.2953, allocations: 243.9 kB / 494.8 MB, free: 46.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.137e-05/0.2953, allocations: 302.1 kB / 495.1 MB, free: 45.96 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005989/0.2959, allocations: 406.2 kB / 495.5 MB, free: 45.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007452/0.2967, allocations: 0.618 MB / 496.1 MB, free: 45.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/0.2981, allocations: 1.182 MB / 497.3 MB, free: 44.64 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.2981, allocations: 1.312 kB / 497.3 MB, free: 44.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.002835/0.301, allocations: 1.758 MB / 499.1 MB, free: 43.86 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.301, allocations: 64.81 kB / 499.1 MB, free: 43.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.301, allocations: 4.672 kB / 499.2 MB, free: 43.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001546/0.3026, allocations: 0.4948 MB / 499.6 MB, free: 43.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.3038, allocations: 321.7 kB / 500 MB, free: 43.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005856/0.3096, allocations: 4.37 MB / 0.4925 GB, free: 40.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009687/0.3106, allocations: 101.4 kB / 0.4926 GB, free: 40.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.742e-05/0.3107, allocations: 49.75 kB / 0.4927 GB, free: 40.8 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 (transformer.breakerStatusInInternal,$PRE.transformer.breakerStatusInInternal,transformer.breakerStatus,$PRE.transformer.breakerStatus,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,37)} Notification: Performance of prepare postOptimizeDAE: time 0.0004387/0.3111, allocations: 350 kB / 0.493 GB, free: 40.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.3113, allocations: 138.5 kB / 0.4931 GB, free: 40.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002874/0.3142, allocations: 1.645 MB / 0.4947 GB, free: 39.69 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.3142, allocations: 13.66 kB / 0.4947 GB, free: 39.69 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.3142, allocations: 1.344 kB / 0.4947 GB, free: 39.69 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.3142, allocations: 7.266 kB / 0.4947 GB, free: 39.69 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004224/0.3185, allocations: 3.092 MB / 0.4978 GB, free: 38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.3185, allocations: 0.5938 kB / 0.4978 GB, free: 38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/0.3196, allocations: 261.1 kB / 0.498 GB, free: 37.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001421/0.321, allocations: 485.3 kB / 0.4985 GB, free: 37.71 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.078e-05/0.3211, allocations: 27.78 kB / 0.4985 GB, free: 37.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005075/0.3262, allocations: 4.253 MB / 0.5027 GB, free: 34.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3262, allocations: 0 / 0.5027 GB, free: 34.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003287/0.3295, allocations: 2.962 MB / 0.5055 GB, free: 31.85 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003781/0.3299, allocations: 307.2 kB / 0.5058 GB, free: 31.53 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.33, allocations: 31.94 kB / 0.5059 GB, free: 31.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006745/0.3307, allocations: 67.58 kB / 0.5059 GB, free: 31.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.3309, allocations: 97.16 kB / 0.506 GB, free: 31.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-05/0.3309, allocations: 36.77 kB / 0.5061 GB, free: 31.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004865/0.3314, allocations: 0.5278 MB / 0.5066 GB, free: 30.76 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3314, allocations: 0 / 0.5066 GB, free: 30.76 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001305/0.3327, allocations: 0.527 MB / 0.5071 GB, free: 30.23 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,transformer.breakerStatus,transformer.breakerStatusInInternal) * Number of discrete states: 4 (transformer.breakerStatus,$whenCondition2,$whenCondition1,transformer.breakerStatusInInternal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,39)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002679/0.333, allocations: 219.1 kB / 0.5073 GB, free: 30.02 MB / 330.7 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created initialization part: time 0.00223/0.3352, allocations: 1.654 MB / 0.5089 GB, free: 28.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3353, allocations: 8.062 kB / 0.5089 GB, free: 28.33 MB / 330.7 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created simulation system equations: time 0.001226/0.3365, allocations: 1.016 MB / 0.5099 GB, free: 27.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007383/0.3372, allocations: 148.4 kB / 0.5101 GB, free: 27.15 MB / 330.7 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003314/0.3406, allocations: 3.595 MB / 0.5136 GB, free: 23.54 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004869/0.3411, allocations: 1.195 MB / 0.5147 GB, free: 22.32 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006869/0.3418, allocations: 157.7 kB / 0.5149 GB, free: 22.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.3419, allocations: 79.44 kB / 0.515 GB, free: 22.08 MB / 330.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3419, allocations: 0 / 0.515 GB, free: 22.08 MB / 330.7 MB Notification: Performance of Templates: time 0.02259/0.3645, allocations: 17.92 MB / 0.5325 GB, free: 4.238 MB / 330.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.sim & ./PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe 2>&1)