Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax.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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Ignoring simflag -noemit -emit_protected=() since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax") translateModel(PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 102.2 kB / 16.96 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002157/0.002157, allocations: 190.2 kB / 17.9 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.62/2.62, allocations: 205.1 MB / 223.8 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.1314/0.1314, allocations: 14.17 MB / 285.3 MB, free: 13.93 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002427/0.002427, allocations: 63.91 kB / 349.3 MB, free: 13.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.393, allocations: 50.12 MB / 399.4 MB, free: 48.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax): time 0.01285/0.406, allocations: 7.631 MB / 407.1 MB, free: 42.67 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01768/0.4238, allocations: 8.473 MB / 415.5 MB, free: 35.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003972/0.4279, allocations: 15.94 kB / 415.5 MB, free: 35.21 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002322/0.4303, allocations: 433.5 kB / 416 MB, free: 34.79 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006633/0.437, allocations: 1.604 MB / 417.6 MB, free: 33.2 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002049/0.439, allocations: 0.6617 MB / 418.2 MB, free: 32.53 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003821/0.4429, allocations: 2.121 MB / 420.4 MB, free: 30.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006128/0.4435, allocations: 142.4 kB / 420.5 MB, free: 30.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001788/0.4454, allocations: 0.724 MB / 421.2 MB, free: 29.53 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002008/0.4474, allocations: 0.7237 MB / 421.9 MB, free: 28.8 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004107/0.4479, allocations: 84 kB / 422 MB, free: 28.72 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0023/0.4502, allocations: 459.7 kB / 422.5 MB, free: 28.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004577/0.4507, allocations: 231 kB / 422.7 MB, free: 28.04 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001637/0.4523, allocations: 0.6416 MB / 423.3 MB, free: 27.4 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003984/0.4564, allocations: 1.663 MB / 425 MB, free: 25.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.4564, allocations: 0 / 425 MB, free: 25.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4564, allocations: 0 / 425 MB, free: 25.73 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.383e-05/0.4565, allocations: 0 / 425 MB, free: 25.73 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.01113/0.4677, allocations: 2.033 MB / 427 MB, free: 23.64 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.4677, allocations: 8.031 kB / 427 MB, free: 23.64 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/0.4693, allocations: 171.6 kB / 427.2 MB, free: 23.47 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002481/0.4718, allocations: 0.7582 MB / 428 MB, free: 22.67 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.133e-05/0.4719, allocations: 70.36 kB / 428 MB, free: 22.6 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002361/0.4722, allocations: 100.3 kB / 428.1 MB, free: 22.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002859/0.4751, allocations: 1.178 MB / 429.3 MB, free: 21.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.301e-05/0.4751, allocations: 3.938 kB / 429.3 MB, free: 21.27 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002122/0.4754, allocations: 51.91 kB / 429.4 MB, free: 21.22 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.81e-05/0.4754, allocations: 20 kB / 429.4 MB, free: 21.2 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002222/0.4777, allocations: 0.7767 MB / 430.2 MB, free: 20.42 MB / 318.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.009765/0.4875, allocations: 5.733 MB / 435.9 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002355/0.4899, allocations: 1.044 MB / 436.9 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.4909, allocations: 467.7 kB / 437.4 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.212e-05/0.491, allocations: 9 kB / 437.4 MB, free: 12.6 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00183/0.4929, allocations: 0.8595 MB / 438.3 MB, free: 11.72 MB / 318.1 MB Notification: Performance of pre-optimization done (n=107): time 6.522e-06/0.4929, allocations: 0 / 438.3 MB, free: 11.72 MB / 318.1 MB Notification: Performance of matching and sorting (n=107): time 0.006273/0.4992, allocations: 1.852 MB / 440.1 MB, free: 9.844 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.4993, allocations: 64.41 kB / 440.2 MB, free: 9.77 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.5006, allocations: 0.6252 MB / 440.8 MB, free: 9.141 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001442/0.5007, allocations: 69.69 kB / 440.9 MB, free: 9.066 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003666/0.5011, allocations: 396.2 kB / 441.3 MB, free: 8.672 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003856/0.5015, allocations: 343.3 kB / 441.6 MB, free: 8.332 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004251/0.502, allocations: 178.8 kB / 441.8 MB, free: 8.148 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.5021, allocations: 394.7 kB / 442.2 MB, free: 7.754 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008065/0.503, allocations: 318.4 kB / 442.5 MB, free: 7.445 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009585/0.5039, allocations: 0.5042 MB / 443 MB, free: 6.863 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005636/0.5096, allocations: 1.5 MB / 444.5 MB, free: 5.301 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.116e-06/0.5096, allocations: 0 / 444.5 MB, free: 5.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.0029/0.5126, allocations: 1.071 MB / 445.5 MB, free: 4.215 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.87e-05/0.5126, allocations: 8 kB / 445.6 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.5127, allocations: 7.938 kB / 445.6 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007499/0.5134, allocations: 163.1 kB / 445.7 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/0.5148, allocations: 199.7 kB / 445.9 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004486/0.5193, allocations: 2.468 MB / 448.4 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/0.5213, allocations: 87.44 kB / 448.5 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/0.5215, allocations: 43.98 kB / 448.5 MB, free: 1.113 MB / 318.1 MB Warning: Assuming fixed start value for the following 4 variables: trafo.valueUnderStop:DISCRETE(start = false fixed = true protected = true ) "whether the monitored signal is under the stop limit" type: Boolean trafo.valueAboveMax:DISCRETE(start = false fixed = true protected = true ) "wheter the monitored signal is above the maximum limit" type: Boolean trafo.locked:DISCRETE(start = trafo.lockedStart fixed = true ) "whether the tap-changer/phase-shifter is locked" type: Boolean trafo.running:DISCRETE(start = trafo.runningStart fixed = true ) "whether the tap-changer/phase-shifter is running" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 39 ($PRE.trafo.valueUnderStop,$PRE.trafo.valueAboveMax,$PRE.trafo.locked,$PRE.trafo.running,trafo.tValueAboveMaxWhileRunning,$PRE.trafo.tValueAboveMaxWhileRunning,trafo.valueAboveMax,trafo.valueUnderStop,trafo.tTapMoved,$PRE.trafo.tTapMoved,trafo.lookingToDecreaseTap,trafo.lookingToIncreaseTap,trafo.tap,$PRE.trafo.tap,trafo.state,$PRE.trafo.state,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition21,$whenCondition20,$whenCondition19,trafo.running,trafo.locked) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(4,12,93.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009621/0.5224, allocations: 281.4 kB / 448.8 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003866/0.5228, allocations: 102.9 kB / 448.9 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003626/0.5265, allocations: 1.32 MB / 450.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/0.5265, allocations: 15.94 kB / 450.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.5266, allocations: 4 kB / 450.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.807e-05/0.5266, allocations: 3.984 kB / 450.2 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006434/0.533, allocations: 2.524 MB / 452.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/0.5331, allocations: 4 kB / 452.8 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/0.5342, allocations: 147.8 kB / 452.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007745/0.535, allocations: 163.8 kB / 453.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/0.5351, allocations: 40.05 kB / 453.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02195/0.5571, allocations: 2.449 MB / 455.5 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.5572, allocations: 0 / 455.5 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007104/0.5643, allocations: 2.719 MB / 458.3 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/0.5654, allocations: 275.8 kB / 458.5 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000551/0.566, allocations: 47.97 kB / 458.6 MB, free: 6.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001633/0.5677, allocations: 67.84 kB / 458.7 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005992/0.5683, allocations: 144.7 kB / 458.8 MB, free: 6.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000226/0.5685, allocations: 63.95 kB / 458.9 MB, free: 6.434 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.01743/0.586, allocations: 435.1 kB / 459.3 MB, free: 6.016 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.683e-06/0.5861, allocations: 0 / 459.3 MB, free: 6.016 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002871/0.5889, allocations: 387.7 kB / 459.7 MB, free: 5.637 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 29 ($whenCondition19,$whenCondition20,$whenCondition21,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,trafo.state,trafo.tap,trafo.lookingToIncreaseTap,trafo.lookingToDecreaseTap,trafo.tTapMoved,trafo.valueUnderStop,trafo.valueAboveMax,trafo.tValueAboveMaxWhileRunning) * Number of discrete states: 5 (trafo.valueUnderStop,trafo.valueAboveMax,trafo.state,trafo.tTapMoved,trafo.tap) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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): 1 system {(3,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008938/0.5899, allocations: 217 kB / 459.9 MB, free: 5.418 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003593/0.5935, allocations: 1.125 MB / 461 MB, free: 4.277 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.5935, allocations: 0 / 461 MB, free: 4.277 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002632/0.5962, allocations: 1.231 MB / 462.2 MB, free: 3.035 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/0.5982, allocations: 163.7 kB / 462.4 MB, free: 2.875 MB / 334.1 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.02316/0.6214, allocations: 2.226 MB / 464.6 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001321/0.6227, allocations: 1.021 MB / 465.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008814/0.6236, allocations: 95.39 kB / 465.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of SimCode: time 1.633e-06/0.6237, allocations: 0 / 465.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of Templates: time 0.05972/0.6834, allocations: 16.58 MB / 482.3 MB, free: 14.86 MB / 366.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax.pipe 2>&1)