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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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) 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.001027/0.001027, allocations: 91.58 kB / 16.65 MB, free: 6.59 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.001169/0.001169, allocations: 185.7 kB / 17.57 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1716/0.1716, allocations: 38.06 MB / 310.1 MB, free: 5.922 MB / 254.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.0005079/0.0005079, allocations: 15.98 kB / 377.3 MB, free: 2.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.225, allocations: 56.34 MB / 433.6 MB, free: 18.65 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.006852/0.2319, allocations: 10.21 MB / 443.8 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005519/0.2374, allocations: 3.919 MB / 447.7 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.2385, allocations: 63.56 kB / 447.8 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009174/0.2395, allocations: 365.9 kB / 448.1 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00206/0.2415, allocations: 1.047 MB / 449.2 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.243, allocations: 0.6239 MB / 449.8 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003503/0.2465, allocations: 4.134 MB / 454 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00197/0.2485, allocations: 1.225 MB / 455.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001619/0.2501, allocations: 0.7932 MB / 456 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002016/0.2521, allocations: 1.39 MB / 457.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.2523, allocations: 64 kB / 457.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.2534, allocations: 0.5538 MB / 458 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008263/0.2543, allocations: 0.865 MB / 458.8 MB, free: 9.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008788/0.2551, allocations: 0.8448 MB / 459.7 MB, free: 8.414 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002197/0.2574, allocations: 2.215 MB / 461.9 MB, free: 6.191 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2574, allocations: 0 / 461.9 MB, free: 6.191 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2574, allocations: 0 / 461.9 MB, free: 6.191 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.969e-05/0.2574, allocations: 4 kB / 461.9 MB, free: 6.188 MB / 334.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.002909/0.2603, allocations: 1.68 MB / 463.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.2604, allocations: 11.97 kB / 463.6 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002685/0.2606, allocations: 248.8 kB / 463.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001688/0.2623, allocations: 354.3 kB / 464.2 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/0.264, allocations: 1.028 MB / 465.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.082e-05/0.2641, allocations: 107.1 kB / 465.3 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003273/0.2645, allocations: 163.8 kB / 465.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003383/0.2678, allocations: 2.332 MB / 467.8 MB, free: 0 / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-05/0.2679, allocations: 11.98 kB / 467.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/0.2681, allocations: 59.97 kB / 467.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005076/0.2686, allocations: 222.7 kB / 468.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002747/0.2713, allocations: 1.85 MB / 469.9 MB, free: 13.86 MB / 350.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.01099/0.2823, allocations: 9.571 MB / 479.5 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002213/0.2846, allocations: 1.551 MB / 481.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008259/0.2854, allocations: 0.6059 MB / 481.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.508e-05/0.2855, allocations: 20.98 kB / 481.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00107/0.2866, allocations: 0.8528 MB / 482.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=130): time 2.965e-06/0.2866, allocations: 0 / 482.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of matching and sorting (n=131): time 0.00584/0.2924, allocations: 4.011 MB / 486.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001413/0.2926, allocations: 286.3 kB / 486.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.2937, allocations: 0.9107 MB / 487.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.952e-05/0.2937, allocations: 49.95 kB / 487.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005661/0.2943, allocations: 0.7744 MB / 488.6 MB, free: 10.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003991/0.2947, allocations: 449.7 kB / 489 MB, free: 9.973 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.2949, allocations: 149.6 kB / 489.2 MB, free: 9.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.295, allocations: 357.9 kB / 489.5 MB, free: 9.465 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008011/0.2958, allocations: 0.5855 MB / 490.1 MB, free: 8.879 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.297, allocations: 1.171 MB / 491.3 MB, free: 7.441 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002249/0.2993, allocations: 2.001 MB / 493.3 MB, free: 5.152 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.2993, allocations: 8 kB / 493.3 MB, free: 5.145 MB / 366.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004231/0.3035, allocations: 2.49 MB / 495.8 MB, free: 2.621 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.705e-05/0.3036, allocations: 71.39 kB / 495.8 MB, free: 2.539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002632/0.3063, allocations: 1.573 MB / 497.4 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001494/0.3078, allocations: 0.5487 MB / 498 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009636/0.3087, allocations: 323.5 kB / 498.3 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009123/0.3179, allocations: 8.711 MB / 0.4951 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.319, allocations: 79.88 kB / 0.4952 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/0.3191, allocations: 100 kB / 0.4953 GB, free: 6.668 MB / 382.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.0008619/0.32, allocations: 0.592 MB / 0.4958 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.3202, allocations: 122.5 kB / 0.496 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/0.3224, allocations: 1.547 MB / 0.4975 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.3225, allocations: 19.88 kB / 0.4975 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3225, allocations: 3.984 kB / 0.4975 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.3225, allocations: 7.984 kB / 0.4975 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004294/0.3268, allocations: 3.076 MB / 0.5005 GB, free: 1.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/0.3268, allocations: 8.188 kB / 0.5005 GB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/0.3281, allocations: 291.6 kB / 0.5008 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.3281, allocations: 4 kB / 0.5008 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-05/0.3282, allocations: 39.97 kB / 0.5008 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.3282, allocations: 11.94 kB / 0.5008 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.3282, allocations: 4 kB / 0.5009 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002926/0.3311, allocations: 2.32 MB / 0.5031 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004408/0.3316, allocations: 291.5 kB / 0.5034 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.3317, allocations: 31.98 kB / 0.5034 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000515/0.3322, allocations: 47.97 kB / 0.5035 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/0.3324, allocations: 76.78 kB / 0.5035 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/0.3325, allocations: 83.92 kB / 0.5036 GB, free: 13.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000752/0.3333, allocations: 0.6025 MB / 0.5042 GB, free: 13.29 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3333, allocations: 0 / 0.5042 GB, free: 13.29 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001362/0.3347, allocations: 420 kB / 0.5046 GB, free: 12.88 MB / 398.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.003119/0.3378, allocations: 2.907 MB / 0.5075 GB, free: 9.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003384/0.3412, allocations: 2.312 MB / 0.5097 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.3412, allocations: 0 / 0.5097 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.3423, allocations: 0.8795 MB / 0.5106 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.3437, allocations: 216.5 kB / 0.5108 GB, free: 6.402 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1981/0.5418, allocations: 14.35 MB / 0.5248 GB, free: 82.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/0.5429, allocations: 1.462 MB / 0.5262 GB, free: 81.7 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001354/0.5443, allocations: 465.6 kB / 0.5267 GB, free: 81.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006112/0.5449, allocations: 0.5658 MB / 0.5272 GB, free: 81.23 MB / 398.1 MB Notification: Performance of SimCode: time 7.62e-07/0.5449, allocations: 1.125 kB / 0.5272 GB, free: 81.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04206/0.587, allocations: 25.54 MB / 0.5522 GB, free: 60.57 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/0.5872, allocations: 230.3 kB / 0.5524 GB, free: 60.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.486/3.073, allocations: 4 kB / 0.5524 GB, free: 60.3 MB / 398.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)