Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.TapChanger,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.TapChanger,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002072/0.002072, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.886/1.886, allocations: 194.2 MB / 208.4 MB, free: 6.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002295/0.002295, allocations: 119.8 kB / 253.5 MB, free: 9.594 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2022/0.2022, allocations: 37.9 MB / 336.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.149e-05/4.151e-05, allocations: 0 / 397.6 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.322, allocations: 53.22 MB / 450.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5999/0.922, allocations: 104.8 MB / 0.5426 GB, free: 29.01 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003814/0.9225, allocations: 89.36 kB / 0.5427 GB, free: 29.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1317/1.054, allocations: 48.94 MB / 0.5905 GB, free: 14.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.994e-06/1.054, allocations: 0 / 0.5905 GB, free: 14.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.887e-05/1.054, allocations: 48.5 kB / 0.5906 GB, free: 14.4 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.003924/1.058, allocations: 1.584 MB / 0.5921 GB, free: 13.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.166e-05/1.058, allocations: 11.28 kB / 0.5921 GB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003754/1.059, allocations: 239 kB / 0.5923 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002807/1.062, allocations: 453.3 kB / 0.5928 GB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006333/1.068, allocations: 2.07 MB / 0.5948 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-05/1.068, allocations: 108.4 kB / 0.5949 GB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003645/1.068, allocations: 142 kB / 0.595 GB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00354/1.072, allocations: 2.225 MB / 0.5972 GB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.197e-05/1.072, allocations: 7.625 kB / 0.5972 GB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/1.072, allocations: 63.09 kB / 0.5973 GB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003856/1.073, allocations: 187.2 kB / 0.5975 GB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002427/1.075, allocations: 1.716 MB / 0.5991 GB, free: 11.03 MB / 378.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01042/1.086, allocations: 9.292 MB / 0.6082 GB, free: 3.496 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002002/1.088, allocations: 1.448 MB / 0.6096 GB, free: 2.438 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008041/1.088, allocations: 0.6645 MB / 0.6103 GB, free: 1.891 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-05/1.088, allocations: 28.73 kB / 0.6103 GB, free: 1.867 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001083/1.09, allocations: 0.9115 MB / 0.6112 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of pre-optimization done (n=142): time 3.346e-06/1.09, allocations: 0 / 0.6112 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of matching and sorting (n=143): time 0.006085/1.096, allocations: 3.76 MB / 0.6149 GB, free: 13.06 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001737/1.096, allocations: 290.3 kB / 0.6151 GB, free: 12.71 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/1.097, allocations: 0.7561 MB / 0.6159 GB, free: 11.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001001/1.097, allocations: 49.7 kB / 0.6159 GB, free: 11.88 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007584/1.098, allocations: 0.7318 MB / 0.6166 GB, free: 11.14 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004293/1.098, allocations: 496.6 kB / 0.6171 GB, free: 10.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.479e-05/1.098, allocations: 32 kB / 0.6171 GB, free: 10.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002231/1.099, allocations: 438.8 kB / 0.6176 GB, free: 10.19 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009518/1.1, allocations: 0.6091 MB / 0.6182 GB, free: 9.578 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/1.101, allocations: 1.143 MB / 0.6193 GB, free: 8.199 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/1.102, allocations: 0.8825 MB / 0.6201 GB, free: 7.305 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/1.102, allocations: 4 kB / 0.6201 GB, free: 7.301 MB / 394.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.004652/1.107, allocations: 2.522 MB / 0.6226 GB, free: 4.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.361e-05/1.107, allocations: 71.39 kB / 0.6227 GB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003155/1.11, allocations: 1.671 MB / 0.6243 GB, free: 2.984 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001653/1.112, allocations: 0.5414 MB / 0.6248 GB, free: 2.434 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/1.113, allocations: 323.4 kB / 0.6251 GB, free: 2.117 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009938/1.123, allocations: 8.663 MB / 0.6336 GB, free: 8.926 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/1.125, allocations: 99.78 kB / 0.6337 GB, free: 8.828 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004269/1.125, allocations: 99.86 kB / 0.6338 GB, free: 8.734 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 21 (system.initime,$whenCondition3,$whenCondition4,$PRE.tapRelay1.cnt_1,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_2,$whenCondition1,$whenCondition2,$PRE.tapRelay2.cnt_1,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_2,$PRE.tapRelay2.tap_1,tapRelay2.tap_1,$PRE.tapRelay2.tap_2,tapRelay2.tap_2,$PRE.tapRelay1.tap_1,tapRelay1.tap_1,$PRE.tapRelay1.tap_2,tapRelay1.tap_2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 160 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(2,100.0%) 11,(2,100.0%) 12,(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006933/1.126, allocations: 285.5 kB / 0.6341 GB, free: 8.434 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003636/1.126, allocations: 122.5 kB / 0.6342 GB, free: 8.312 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003237/1.13, allocations: 1.675 MB / 0.6358 GB, free: 6.625 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.704e-05/1.13, allocations: 31.98 kB / 0.6358 GB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.13, allocations: 0 / 0.6358 GB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/1.13, allocations: 7.938 kB / 0.6359 GB, free: 6.586 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005619/1.135, allocations: 3.195 MB / 0.639 GB, free: 3.332 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.535e-06/1.136, allocations: 0 / 0.639 GB, free: 3.332 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001504/1.137, allocations: 315.8 kB / 0.6393 GB, free: 3.023 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.455e-05/1.137, allocations: 4 kB / 0.6393 GB, free: 3.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/1.137, allocations: 35.98 kB / 0.6393 GB, free: 2.984 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-05/1.137, allocations: 11.94 kB / 0.6393 GB, free: 2.973 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.137, allocations: 0 / 0.6393 GB, free: 2.973 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003753/1.141, allocations: 2.61 MB / 0.6419 GB, free: 276 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009493/1.142, allocations: 311.5 kB / 0.6422 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003037/1.142, allocations: 32 kB / 0.6422 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008711/1.143, allocations: 70.44 kB / 0.6423 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002044/1.143, allocations: 84.84 kB / 0.6423 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001606/1.144, allocations: 75.92 kB / 0.6424 GB, free: 15.69 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001202/1.145, allocations: 0.5706 MB / 0.643 GB, free: 15.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.71e-07/1.145, allocations: 0 / 0.643 GB, free: 15.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002371/1.147, allocations: 471.9 kB / 0.6434 GB, free: 14.64 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (trafo1.i1[1],trafo1.i1[2],trafo1.i1[3],trafo2.i1[1],trafo2.i1[2],trafo2.i1[3]) * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 118 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005417/1.153, allocations: 3.767 MB / 0.6471 GB, free: 10.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005337/1.158, allocations: 2.387 MB / 0.6494 GB, free: 8.344 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.486e-05/1.158, allocations: 4.625 kB / 0.6494 GB, free: 8.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001621/1.16, allocations: 0.9379 MB / 0.6504 GB, free: 7.375 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/1.162, allocations: 193.7 kB / 0.6505 GB, free: 7.188 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009884/1.172, allocations: 3.297 MB / 0.6538 GB, free: 3.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001651/1.173, allocations: 1.502 MB / 0.6552 GB, free: 2.285 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001654/1.175, allocations: 462.1 kB / 0.6557 GB, free: 1.828 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/1.176, allocations: 0.5618 MB / 0.6562 GB, free: 1.27 MB / 426.7 MB Notification: Performance of SimCode: time 2.245e-06/1.176, allocations: 0 / 0.6562 GB, free: 1.27 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0703/1.247, allocations: 28.07 MB / 0.6836 GB, free: 5.152 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002622/1.247, allocations: 172.8 kB / 0.6838 GB, free: 4.93 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.272/4.519, allocations: 0 / 0.6838 GB, free: 4.93 MB / 458.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1)