Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax.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) 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_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax") translateModel(PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001355/0.001355, allocations: 183.2 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.367/1.367, allocations: 205.1 MB / 221.8 MB, free: 8.477 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.001073/0.001073, allocations: 98.3 kB / 269.2 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06197/0.06197, allocations: 14.17 MB / 330.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009793/0.0009795, allocations: 55.92 kB / 394.4 MB, free: 62.13 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0784/0.0794, allocations: 50.13 MB / 444.5 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax): time 0.006257/0.08569, allocations: 7.769 MB / 452.3 MB, free: 4.152 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.09618, allocations: 8.415 MB / 460.7 MB, free: 11.71 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.09745, allocations: 15.94 kB / 460.7 MB, free: 11.7 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001672/0.09917, allocations: 374.4 kB / 461.1 MB, free: 11.33 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004255/0.1035, allocations: 1.497 MB / 462.6 MB, free: 9.836 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.105, allocations: 0.6382 MB / 463.2 MB, free: 9.199 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002885/0.1079, allocations: 2.125 MB / 465.4 MB, free: 7.066 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003109/0.1082, allocations: 134.4 kB / 465.5 MB, free: 6.922 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009338/0.1092, allocations: 0.591 MB / 466.1 MB, free: 6.328 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009656/0.1102, allocations: 0.6106 MB / 466.7 MB, free: 5.715 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002078/0.1104, allocations: 40 kB / 466.7 MB, free: 5.676 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.1116, allocations: 371.7 kB / 467.1 MB, free: 5.312 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000256/0.1119, allocations: 179.1 kB / 467.3 MB, free: 5.137 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008584/0.1127, allocations: 0.5752 MB / 467.8 MB, free: 4.559 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001862/0.1146, allocations: 1.527 MB / 469.4 MB, free: 3.027 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1146, allocations: 4 kB / 469.4 MB, free: 3.023 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1146, allocations: 0 / 469.4 MB, free: 3.023 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.729e-05/0.1147, allocations: 0 / 469.4 MB, free: 3.023 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.005575/0.1202, allocations: 1.955 MB / 471.3 MB, free: 1.016 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1203, allocations: 8.031 kB / 471.3 MB, free: 1.008 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006689/0.121, allocations: 175.5 kB / 471.5 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.1221, allocations: 0.7347 MB / 472.2 MB, free: 64 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.931e-05/0.1222, allocations: 74.33 kB / 472.3 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.1224, allocations: 100.3 kB / 472.4 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.1241, allocations: 1.174 MB / 473.6 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.1242, allocations: 4 kB / 473.6 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.1243, allocations: 47.97 kB / 473.6 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.1243, allocations: 20 kB / 473.6 MB, free: 14.6 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.1256, allocations: 0.7807 MB / 474.4 MB, free: 13.81 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.005793/0.1314, allocations: 5.326 MB / 479.8 MB, free: 7.961 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.133, allocations: 1.045 MB / 480.8 MB, free: 6.871 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006655/0.1337, allocations: 463.7 kB / 481.3 MB, free: 6.414 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.244e-05/0.1338, allocations: 12.98 kB / 481.3 MB, free: 6.402 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001273/0.1351, allocations: 0.8591 MB / 482.1 MB, free: 5.535 MB / 330.7 MB Notification: Performance of pre-optimization done (n=107): time 3.286e-06/0.1351, allocations: 0 / 482.1 MB, free: 5.535 MB / 330.7 MB Notification: Performance of matching and sorting (n=107): time 0.003912/0.139, allocations: 1.867 MB / 484 MB, free: 3.637 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.1391, allocations: 64.41 kB / 484.1 MB, free: 3.562 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006789/0.1398, allocations: 0.5667 MB / 484.6 MB, free: 2.992 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.427e-05/0.1399, allocations: 65.69 kB / 484.7 MB, free: 2.922 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00029/0.1401, allocations: 404.2 kB / 485.1 MB, free: 2.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/0.1404, allocations: 335.3 kB / 485.4 MB, free: 2.188 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002643/0.1407, allocations: 182.8 kB / 485.6 MB, free: 2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.1409, allocations: 394.7 kB / 486 MB, free: 1.605 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004924/0.1414, allocations: 310.5 kB / 486.3 MB, free: 1.305 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006412/0.142, allocations: 0.515 MB / 486.8 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1592/0.3013, allocations: 1.48 MB / 488.3 MB, free: 50.13 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.3013, allocations: 5.281 kB / 488.3 MB, free: 50.13 MB / 330.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001822/0.3031, allocations: 1.075 MB / 489.4 MB, free: 50 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.3032, allocations: 7.906 kB / 489.4 MB, free: 50 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.3032, allocations: 7.594 kB / 489.4 MB, free: 50 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004633/0.3037, allocations: 162.3 kB / 489.5 MB, free: 49.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00075/0.3044, allocations: 200.6 kB / 489.7 MB, free: 49.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/0.3067, allocations: 2.263 MB / 492 MB, free: 48.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007978/0.3075, allocations: 96.41 kB / 492.1 MB, free: 48.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.677e-05/0.3076, allocations: 38.28 kB / 492.1 MB, free: 48.19 MB / 330.7 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.000464/0.308, allocations: 282.6 kB / 492.4 MB, free: 47.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.3082, allocations: 101.6 kB / 492.5 MB, free: 47.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002059/0.3103, allocations: 1.332 MB / 493.8 MB, free: 47.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.3103, allocations: 10.62 kB / 493.8 MB, free: 47.38 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.3103, allocations: 2.281 kB / 493.8 MB, free: 47.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.3103, allocations: 6.922 kB / 493.8 MB, free: 47.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003252/0.3136, allocations: 2.406 MB / 496.2 MB, free: 46.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.3136, allocations: 0 / 496.2 MB, free: 46.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006687/0.3143, allocations: 155.1 kB / 496.4 MB, free: 46.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004468/0.3147, allocations: 154.1 kB / 496.5 MB, free: 46.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.71e-05/0.3148, allocations: 39.31 kB / 496.6 MB, free: 46.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002291/0.3171, allocations: 2.247 MB / 498.8 MB, free: 44.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3171, allocations: 3.938 kB / 498.8 MB, free: 44.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003097/0.3202, allocations: 2.501 MB / 0.4896 GB, free: 42.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003967/0.3206, allocations: 260.7 kB / 0.4898 GB, free: 42.65 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.3208, allocations: 51.67 kB / 0.4899 GB, free: 42.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006231/0.3214, allocations: 68.16 kB / 0.49 GB, free: 42.61 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003305/0.3218, allocations: 142.2 kB / 0.4901 GB, free: 42.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/0.3219, allocations: 63.67 kB / 0.4901 GB, free: 42.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005262/0.3224, allocations: 394 kB / 0.4905 GB, free: 42.39 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3225, allocations: 0.9375 kB / 0.4905 GB, free: 42.39 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001113/0.3236, allocations: 360.1 kB / 0.4909 GB, free: 42.34 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: 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.0002985/0.3239, allocations: 213 kB / 0.4911 GB, free: 42.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001771/0.3257, allocations: 1.12 MB / 0.4922 GB, free: 41.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3257, allocations: 0.7031 kB / 0.4922 GB, free: 41.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.3269, allocations: 1.234 MB / 0.4934 GB, free: 40.99 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007193/0.3276, allocations: 136.8 kB / 0.4935 GB, free: 40.92 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.003318/0.3309, allocations: 2.644 MB / 0.4961 GB, free: 39.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.3314, allocations: 1.019 MB / 0.4971 GB, free: 38.61 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005669/0.3319, allocations: 125.9 kB / 0.4972 GB, free: 38.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/0.3322, allocations: 86.77 kB / 0.4973 GB, free: 38.55 MB / 330.7 MB Notification: Performance of SimCode: time 5.91e-07/0.3322, allocations: 1.031 kB / 0.4973 GB, free: 38.55 MB / 330.7 MB Notification: Performance of Templates: time 0.01718/0.3494, allocations: 11.88 MB / 0.5089 GB, free: 29.46 MB / 330.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax.sim & ./PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax.pipe 2>&1)