Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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_latest_PowerSystems_Examples_AC3ph_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.TapChanger,fileNamePrefix="PowerSystems_latest_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.001147/0.001147, allocations: 91.84 kB / 16.3 MB, free: 5.996 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.001326/0.001326, allocations: 187.2 kB / 17.2 MB, free: 5.91 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.262/1.262, allocations: 223.2 MB / 241.1 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2837/0.2837, allocations: 38.08 MB / 330.3 MB, free: 14.25 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003211/0.0003213, allocations: 8 kB / 400.1 MB, free: 9.223 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2842, allocations: 59.16 MB / 459.2 MB, free: 30.19 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.007388/0.2916, allocations: 9.112 MB / 468.3 MB, free: 23.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005536/0.2972, allocations: 3.687 MB / 472 MB, free: 21.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009641/0.2982, allocations: 61.94 kB / 472.1 MB, free: 21.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007393/0.2989, allocations: 326.8 kB / 472.4 MB, free: 20.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002089/0.301, allocations: 0.7808 MB / 473.2 MB, free: 20.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.3027, allocations: 0.6273 MB / 473.8 MB, free: 20.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001491/0.3043, allocations: 1.056 MB / 474.9 MB, free: 19.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001788/0.306, allocations: 1.116 MB / 476 MB, free: 19.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.3074, allocations: 0.6472 MB / 476.6 MB, free: 18.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/0.3087, allocations: 0.8414 MB / 477.5 MB, free: 18.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001612/0.3089, allocations: 64.62 kB / 477.5 MB, free: 18.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009189/0.3098, allocations: 418.2 kB / 477.9 MB, free: 18.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000603/0.3104, allocations: 0.7831 MB / 478.7 MB, free: 17.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003162/0.3107, allocations: 335.8 kB / 479 MB, free: 17.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001467/0.3122, allocations: 1.747 MB / 480.8 MB, free: 16.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.3122, allocations: 0 / 480.8 MB, free: 16.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3122, allocations: 0 / 480.8 MB, free: 16.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.033e-05/0.3122, allocations: 0 / 480.8 MB, free: 16.65 MB / 350.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.002636/0.3149, allocations: 1.699 MB / 482.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3149, allocations: 8.469 kB / 482.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002474/0.3152, allocations: 237.7 kB / 482.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/0.3169, allocations: 378 kB / 483.1 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001761/0.3187, allocations: 1.001 MB / 484.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.944e-05/0.3188, allocations: 103.7 kB / 484.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000286/0.3191, allocations: 163.1 kB / 484.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002514/0.3216, allocations: 2.294 MB / 486.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.671e-05/0.3216, allocations: 11.84 kB / 486.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.3218, allocations: 63.97 kB / 486.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000414/0.3222, allocations: 222.8 kB / 486.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002039/0.3242, allocations: 1.818 MB / 488.8 MB, free: 10.04 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.007795/0.332, allocations: 9.548 MB / 498.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/0.334, allocations: 1.545 MB / 499.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.035e-05/0.3341, allocations: 13.06 kB / 499.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.3351, allocations: 0.8527 MB / 0.489 GB, free: 13.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=130): time 2.535e-06/0.3351, allocations: 0 / 0.489 GB, free: 13.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=131): time 0.005519/0.3407, allocations: 4.106 MB / 0.493 GB, free: 9.234 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/0.3408, allocations: 294.2 kB / 0.4933 GB, free: 8.887 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009995/0.3418, allocations: 0.9106 MB / 0.4942 GB, free: 7.953 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.907e-05/0.3419, allocations: 57.94 kB / 0.4942 GB, free: 7.891 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000564/0.3425, allocations: 0.7667 MB / 0.495 GB, free: 7.109 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003185/0.3428, allocations: 449.7 kB / 0.4954 GB, free: 6.664 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.838e-05/0.3429, allocations: 36 kB / 0.4954 GB, free: 6.629 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.3431, allocations: 430.7 kB / 0.4958 GB, free: 6.199 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000813/0.3439, allocations: 0.566 MB / 0.4964 GB, free: 5.633 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.3451, allocations: 1.147 MB / 0.4975 GB, free: 4.227 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.3462, allocations: 0.8332 MB / 0.4983 GB, free: 3.379 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/0.3462, allocations: 4 kB / 0.4983 GB, free: 3.375 MB / 366.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.003922/0.3501, allocations: 2.467 MB / 0.5007 GB, free: 0.875 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.913e-05/0.3502, allocations: 71.39 kB / 0.5008 GB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002659/0.3529, allocations: 1.538 MB / 0.5023 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/0.3544, allocations: 0.5484 MB / 0.5028 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.3554, allocations: 331.5 kB / 0.5032 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00917/0.3646, allocations: 8.917 MB / 0.5119 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.3658, allocations: 87.95 kB / 0.512 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.3659, allocations: 95.92 kB / 0.512 GB, free: 4.738 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,$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 () * 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 (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.0009963/0.3669, allocations: 0.5998 MB / 0.5126 GB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.3671, allocations: 130.4 kB / 0.5128 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/0.3695, allocations: 1.512 MB / 0.5142 GB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.3695, allocations: 16 kB / 0.5142 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.3695, allocations: 0 / 0.5142 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.3696, allocations: 7.984 kB / 0.5143 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004627/0.3742, allocations: 3.048 MB / 0.5172 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.575e-06/0.3742, allocations: 4 kB / 0.5172 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/0.3755, allocations: 299.8 kB / 0.5175 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.139e-05/0.3755, allocations: 7.953 kB / 0.5175 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.505e-05/0.3756, allocations: 35.98 kB / 0.5176 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-05/0.3756, allocations: 8 kB / 0.5176 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.3757, allocations: 3.938 kB / 0.5176 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002919/0.3786, allocations: 2.377 MB / 0.5199 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006244/0.3792, allocations: 299.4 kB / 0.5202 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001586/0.3794, allocations: 32 kB / 0.5202 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005289/0.3799, allocations: 47.95 kB / 0.5203 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.3801, allocations: 76.91 kB / 0.5203 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/0.3802, allocations: 79.91 kB / 0.5204 GB, free: 11.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007648/0.381, allocations: 0.5947 MB / 0.521 GB, free: 11.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.544e-06/0.381, allocations: 0 / 0.521 GB, free: 11.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001399/0.3824, allocations: 427.9 kB / 0.5214 GB, free: 10.91 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 (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.00333/0.3857, allocations: 3.432 MB / 0.5247 GB, free: 7.379 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003231/0.389, allocations: 2.292 MB / 0.527 GB, free: 5.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.389, allocations: 4 kB / 0.527 GB, free: 5.016 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009743/0.39, allocations: 0.8561 MB / 0.5278 GB, free: 4.133 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008875/0.3909, allocations: 190.2 kB / 0.528 GB, free: 3.949 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01861/0.4095, allocations: 22.53 MB / 0.55 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001303/0.4108, allocations: 1.494 MB / 0.5515 GB, free: 11.18 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001228/0.4121, allocations: 470.3 kB / 0.5519 GB, free: 10.72 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006652/0.4128, allocations: 0.5618 MB / 0.5525 GB, free: 10.16 MB / 430.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4128, allocations: 0 / 0.5525 GB, free: 10.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06048/0.4733, allocations: 25.72 MB / 0.5776 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002537/0.4735, allocations: 207.3 kB / 0.5778 GB, free: 488 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.157/2.631, allocations: 3.938 kB / 0.5778 GB, free: 484 kB / 446.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_TapChanger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_TapChanger.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger_res.mat does not exist to compare? outputFormat=mat