Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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 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) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.001401, allocations: 107.6 kB / 17.06 MB, free: 5.824 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.001528/0.001528, allocations: 192 kB / 18 MB, free: 4.977 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.388/1.388, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.179/0.179, allocations: 38.04 MB / 329.9 MB, free: 8.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 59.91 kB / 458.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3495, allocations: 58.05 MB / 0.5041 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.007406/0.357, allocations: 7.3 MB / 0.5112 GB, free: 2.766 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002933/0.3599, allocations: 1.71 MB / 0.5129 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004826/0.3604, allocations: 28.94 kB / 0.5129 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000729/0.3612, allocations: 233.9 kB / 0.5131 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.3627, allocations: 0.5826 MB / 0.5137 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005477/0.3632, allocations: 216.4 kB / 0.5139 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001615/0.3648, allocations: 1.268 MB / 0.5152 GB, free: 440 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004793/0.3653, allocations: 356.4 kB / 0.5155 GB, free: 304 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.3664, allocations: 0.5509 MB / 0.516 GB, free: 44 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/0.3677, allocations: 0.6446 MB / 0.5167 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000186/0.3679, allocations: 66.53 kB / 0.5167 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002442/0.3681, allocations: 63.91 kB / 0.5168 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000504/0.3687, allocations: 335.5 kB / 0.5171 GB, free: 15.67 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007661/0.3694, allocations: 430.6 kB / 0.5175 GB, free: 15.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.371, allocations: 0.9217 MB / 0.5184 GB, free: 15.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.371, allocations: 0 / 0.5184 GB, free: 15.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.371, allocations: 0 / 0.5184 GB, free: 15.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.371, allocations: 0 / 0.5184 GB, free: 15.05 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002226/0.3732, allocations: 1.226 MB / 0.5196 GB, free: 14.2 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.118e-05/0.3733, allocations: 12.67 kB / 0.5196 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001883/0.3735, allocations: 98.7 kB / 0.5197 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.3748, allocations: 0.7075 MB / 0.5204 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.075e-05/0.3749, allocations: 50.22 kB / 0.5205 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.3751, allocations: 62.17 kB / 0.5205 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/0.3768, allocations: 0.8117 MB / 0.5213 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.3769, allocations: 0 / 0.5213 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.379e-05/0.377, allocations: 31.83 kB / 0.5213 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.075e-05/0.377, allocations: 35.83 kB / 0.5214 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.3783, allocations: 0.6168 MB / 0.522 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004001/0.3823, allocations: 2.617 MB / 0.5245 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.3834, allocations: 0.6214 MB / 0.5251 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007802/0.3842, allocations: 378.1 kB / 0.5255 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.3843, allocations: 6.812 kB / 0.5255 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007211/0.385, allocations: 483 kB / 0.526 GB, free: 10.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=63): time 1.874e-06/0.385, allocations: 0 / 0.526 GB, free: 10.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=64): time 0.003116/0.3881, allocations: 1.977 MB / 0.5279 GB, free: 9.539 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.3883, allocations: 254 kB / 0.5281 GB, free: 9.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007815/0.3891, allocations: 0.5632 MB / 0.5287 GB, free: 9 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.6e-05/0.3891, allocations: 38.39 kB / 0.5287 GB, free: 8.961 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003211/0.3894, allocations: 398.5 kB / 0.5291 GB, free: 8.648 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.3896, allocations: 211.3 kB / 0.5293 GB, free: 8.484 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/0.3898, allocations: 146.8 kB / 0.5294 GB, free: 8.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.39, allocations: 388.9 kB / 0.5298 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003616/0.3904, allocations: 226.1 kB / 0.53 GB, free: 7.996 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005927/0.391, allocations: 446.7 kB / 0.5305 GB, free: 7.648 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009687/0.392, allocations: 0.7955 MB / 0.5312 GB, free: 7.027 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.392, allocations: 2.281 kB / 0.5312 GB, free: 7.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001619/0.3936, allocations: 0.9489 MB / 0.5322 GB, free: 6.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.498e-05/0.3937, allocations: 63.19 kB / 0.5322 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.3937, allocations: 7.688 kB / 0.5322 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004044/0.3941, allocations: 121.7 kB / 0.5323 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000529/0.3947, allocations: 148.2 kB / 0.5325 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003098/0.3978, allocations: 3.565 MB / 0.536 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004877/0.3983, allocations: 38.59 kB / 0.536 GB, free: 3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.444e-05/0.3984, allocations: 49.19 kB / 0.5361 GB, free: 2.988 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 (system.initime,tapRelay1.cnt_2,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_1,$whenCondition4,$whenCondition3,tapRelay2.cnt_2,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_1,$whenCondition2,$whenCondition1,tapRelay1.tap_2,$PRE.tapRelay1.tap_2,tapRelay1.tap_1,$PRE.tapRelay1.tap_1,tapRelay2.tap_2,$PRE.tapRelay2.tap_2,tapRelay2.tap_1,$PRE.tapRelay2.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004911/0.3989, allocations: 359.1 kB / 0.5364 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.399, allocations: 71 kB / 0.5365 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.4002, allocations: 0.7822 MB / 0.5372 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.4002, allocations: 9.453 kB / 0.5372 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.4002, allocations: 5.125 kB / 0.5372 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.4002, allocations: 0 / 0.5372 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00223/0.4025, allocations: 1.57 MB / 0.5388 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.4025, allocations: 0 / 0.5388 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005033/0.403, allocations: 110.1 kB / 0.5389 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.486e-05/0.403, allocations: 6.344 kB / 0.5389 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/0.4031, allocations: 25.64 kB / 0.5389 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.4031, allocations: 3.188 kB / 0.5389 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.4031, allocations: 5.062 kB / 0.5389 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.4046, allocations: 1.188 MB / 0.5401 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002378/0.4049, allocations: 185 kB / 0.5403 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.088e-05/0.405, allocations: 20.28 kB / 0.5403 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000335/0.4053, allocations: 34.94 kB / 0.5403 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.749e-05/0.4054, allocations: 38.58 kB / 0.5403 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.188e-05/0.4055, allocations: 65.28 kB / 0.5404 GB, free: 184 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004526/0.406, allocations: 386.9 kB / 0.5408 GB, free: 15.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.406, allocations: 4.062 kB / 0.5408 GB, free: 15.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000771/0.4068, allocations: 178.2 kB / 0.541 GB, free: 15.93 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (trafo1.i1,trafo2.i1) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tapRelay2.tap_1,tapRelay2.tap_2,tapRelay2.cnt_1,tapRelay2.cnt_2,tapRelay1.tap_1,tapRelay1.tap_2,tapRelay1.cnt_1,tapRelay1.cnt_2,system.initime) * Number of discrete states: 12 (tapRelay1.tap_2,tapRelay1.cnt_2,$whenCondition4,tapRelay1.tap_1,tapRelay1.cnt_1,$whenCondition3,tapRelay2.tap_2,tapRelay2.cnt_2,$whenCondition2,tapRelay2.tap_1,tapRelay2.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001494/0.4069, allocations: 123.9 kB / 0.5411 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001394/0.4083, allocations: 1.001 MB / 0.542 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4084, allocations: 1.5 kB / 0.542 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005476/0.4089, allocations: 0.4961 MB / 0.5425 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008324/0.4097, allocations: 162.8 kB / 0.5427 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.4123, allocations: 1.54 MB / 0.5442 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006006/0.4129, allocations: 1.015 MB / 0.5452 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004316/0.4133, allocations: 149.1 kB / 0.5453 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.4134, allocations: 49.28 kB / 0.5454 GB, free: 12.9 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4135, allocations: 0 / 0.5454 GB, free: 12.9 MB / 414.1 MB Notification: Performance of Templates: time 0.01359/0.427, allocations: 7.576 MB / 0.5528 GB, free: 5.457 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1)