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/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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 111.8 kB / 17.06 MB, free: 5.992 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.001312/0.001312, allocations: 196 kB / 18 MB, free: 5.074 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.373/1.373, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1769/0.1769, allocations: 38.03 MB / 329.9 MB, free: 8.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 71.89 kB / 457.7 MB, free: 7.344 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3333, allocations: 58.05 MB / 0.5036 GB, free: 7.496 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.009645/0.343, allocations: 9.075 MB / 0.5125 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006098/0.3491, allocations: 3.376 MB / 0.5158 GB, free: 14.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.3503, allocations: 38.84 kB / 0.5158 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003025/0.3534, allocations: 1.04 MB / 0.5168 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003028/0.3564, allocations: 1.097 MB / 0.5179 GB, free: 13.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002104/0.3586, allocations: 0.689 MB / 0.5186 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003888/0.3625, allocations: 2.385 MB / 0.5209 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001438/0.3639, allocations: 0.8233 MB / 0.5217 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002355/0.3663, allocations: 0.979 MB / 0.5227 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003016/0.3693, allocations: 1.341 MB / 0.524 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005681/0.3699, allocations: 128.9 kB / 0.5241 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001912/0.3718, allocations: 0.5727 MB / 0.5247 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001677/0.3735, allocations: 0.9253 MB / 0.5256 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002551/0.3761, allocations: 0.9039 MB / 0.5264 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005073/0.3812, allocations: 2.349 MB / 0.5287 GB, free: 8.988 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3812, allocations: 0 / 0.5287 GB, free: 8.988 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3812, allocations: 0 / 0.5287 GB, free: 8.988 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001127/0.3813, allocations: 5.219 kB / 0.5287 GB, free: 8.984 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: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.006231/0.3876, allocations: 2.063 MB / 0.5307 GB, free: 7.445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.3876, allocations: 13.8 kB / 0.5308 GB, free: 7.441 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005937/0.3882, allocations: 246.2 kB / 0.531 GB, free: 7.254 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002118/0.3903, allocations: 358.5 kB / 0.5313 GB, free: 7.078 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00224/0.3926, allocations: 1.082 MB / 0.5324 GB, free: 6.305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.3927, allocations: 107.8 kB / 0.5325 GB, free: 6.254 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003571/0.3931, allocations: 171.2 kB / 0.5327 GB, free: 6.188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003631/0.3967, allocations: 2.327 MB / 0.5349 GB, free: 4.691 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.338e-05/0.3968, allocations: 13.08 kB / 0.5349 GB, free: 4.684 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001498/0.3969, allocations: 64.39 kB / 0.535 GB, free: 4.637 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005113/0.3975, allocations: 221.2 kB / 0.5352 GB, free: 4.566 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003002/0.4005, allocations: 1.843 MB / 0.537 GB, free: 3.695 MB / 398.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.01159/0.4121, allocations: 9.535 MB / 0.5463 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002305/0.4144, allocations: 1.544 MB / 0.5478 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009338/0.4154, allocations: 0.6098 MB / 0.5484 GB, free: 9.887 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.133e-05/0.4155, allocations: 24.97 kB / 0.5485 GB, free: 9.863 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001206/0.4167, allocations: 0.845 MB / 0.5493 GB, free: 8.973 MB / 414.1 MB Notification: Performance of pre-optimization done (n=130): time 2.766e-06/0.4167, allocations: 3.938 kB / 0.5493 GB, free: 8.969 MB / 414.1 MB Notification: Performance of matching and sorting (n=131): time 0.006753/0.4234, allocations: 4.068 MB / 0.5533 GB, free: 4.805 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001879/0.4237, allocations: 290.3 kB / 0.5535 GB, free: 4.461 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.4249, allocations: 0.9147 MB / 0.5544 GB, free: 3.523 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.355e-05/0.425, allocations: 53.69 kB / 0.5545 GB, free: 3.465 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006895/0.4257, allocations: 0.7849 MB / 0.5552 GB, free: 2.668 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004128/0.4261, allocations: 480.2 kB / 0.5557 GB, free: 2.195 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004676/0.4266, allocations: 327.4 kB / 0.556 GB, free: 1.871 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.4268, allocations: 357.9 kB / 0.5564 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009592/0.4278, allocations: 0.5777 MB / 0.5569 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/0.4292, allocations: 1.178 MB / 0.5581 GB, free: 15.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002617/0.4318, allocations: 2.004 MB / 0.56 GB, free: 13.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.4318, allocations: 4 kB / 0.56 GB, free: 13.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.00456/0.4364, allocations: 2.502 MB / 0.5625 GB, free: 10.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.221e-05/0.4365, allocations: 63.41 kB / 0.5625 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002964/0.4395, allocations: 1.571 MB / 0.5641 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001627/0.4411, allocations: 0.5418 MB / 0.5646 GB, free: 8.453 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.4422, allocations: 327.5 kB / 0.5649 GB, free: 8.133 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01102/0.4532, allocations: 9.462 MB / 0.5742 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.4546, allocations: 79.86 kB / 0.5742 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001931/0.4548, allocations: 99.89 kB / 0.5743 GB, free: 13.94 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (175): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (2,11,100.0%), (2,12,100.0%), (2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001184/0.456, allocations: 0.6028 MB / 0.5749 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002909/0.4563, allocations: 131.1 kB / 0.575 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00276/0.459, allocations: 1.535 MB / 0.5765 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.4591, allocations: 12 kB / 0.5765 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4591, allocations: 3.938 kB / 0.5766 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/0.4591, allocations: 11.95 kB / 0.5766 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005369/0.4645, allocations: 3.068 MB / 0.5796 GB, free: 8.449 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.4645, allocations: 8.031 kB / 0.5796 GB, free: 8.441 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001368/0.4659, allocations: 295.6 kB / 0.5799 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-05/0.4659, allocations: 4 kB / 0.5799 GB, free: 8.148 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.466, allocations: 39.98 kB / 0.5799 GB, free: 8.109 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.007e-05/0.466, allocations: 8 kB / 0.5799 GB, free: 8.102 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/0.4661, allocations: 7.984 kB / 0.5799 GB, free: 8.094 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00354/0.4696, allocations: 2.326 MB / 0.5822 GB, free: 5.719 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006105/0.4702, allocations: 304.2 kB / 0.5825 GB, free: 5.402 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002289/0.4705, allocations: 36.12 kB / 0.5825 GB, free: 5.367 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006268/0.4711, allocations: 39.97 kB / 0.5825 GB, free: 5.328 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001973/0.4713, allocations: 80.83 kB / 0.5826 GB, free: 5.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/0.4715, allocations: 87.86 kB / 0.5827 GB, free: 5.164 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009827/0.4724, allocations: 0.5986 MB / 0.5833 GB, free: 4.555 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4725, allocations: 0 / 0.5833 GB, free: 4.555 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001606/0.4741, allocations: 420 kB / 0.5837 GB, free: 4.145 MB / 446.1 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 118 * 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.003926/0.478, allocations: 2.91 MB / 0.5865 GB, free: 1.168 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004009/0.482, allocations: 2.336 MB / 0.5888 GB, free: 14.76 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.4821, allocations: 0 / 0.5888 GB, free: 14.76 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.4833, allocations: 0.8796 MB / 0.5897 GB, free: 13.86 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.4846, allocations: 217.9 kB / 0.5899 GB, free: 13.64 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02221/0.5068, allocations: 13.14 MB / 0.6027 GB, free: 15.78 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001637/0.5085, allocations: 1.458 MB / 0.6041 GB, free: 14.29 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001167/0.5097, allocations: 462.3 kB / 0.6046 GB, free: 13.83 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000848/0.5106, allocations: 0.5657 MB / 0.6051 GB, free: 13.26 MB / 478.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5106, allocations: 4 kB / 0.6051 GB, free: 13.26 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07178/0.5824, allocations: 27.24 MB / 0.6317 GB, free: 2.211 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.74, allocations: 3.984 kB / 0.6317 GB, free: 2.207 MB / 494.1 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/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)