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/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter1.alpha_v|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v_norm|meter12.alpha_v|meter12.p.1.|meter12.p.2.|meter12.p.3.|meter12.v_norm|meter22.alpha_v|meter22.p.1.|meter22.p.2.|meter22.p.3.|meter22.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter1.alpha_v|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v_norm|meter12.alpha_v|meter12.p.1.|meter12.p.2.|meter12.p.3.|meter12.v_norm|meter22.alpha_v|meter22.p.1.|meter22.p.2.|meter22.p.3.|meter22.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001014/0.001015, allocations: 176.4 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009288/0.000929, allocations: 81.53 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1679/0.1679, allocations: 37.99 MB / 348 MB, free: 7.773 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.359e-05/1.36e-05, allocations: 4 kB / 410.6 MB, free: 46.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1073, allocations: 56.33 MB / 466.9 MB, free: 6.559 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3774/0.4848, allocations: 109.2 MB / 0.5626 GB, free: 1.684 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/0.4852, allocations: 91.89 kB / 0.5627 GB, free: 1.594 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1713/0.6565, allocations: 48.53 MB / 0.6101 GB, free: 480 kB / 443.1 MB Notification: Performance of FrontEnd: time 6.512e-06/0.6565, allocations: 4 kB / 0.6101 GB, free: 476 kB / 443.1 MB Notification: Performance of Transformations before backend: time 0.0001042/0.6567, allocations: 35.94 kB / 0.6101 GB, free: 440 kB / 443.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.004689/0.6614, allocations: 1.576 MB / 0.6117 GB, free: 14.79 MB / 459.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.6614, allocations: 15.97 kB / 0.6117 GB, free: 14.77 MB / 459.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004209/0.6656, allocations: 449.3 kB / 0.6121 GB, free: 14.33 MB / 459.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007852/0.6735, allocations: 2.065 MB / 0.6141 GB, free: 12.21 MB / 459.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.691e-05/0.6737, allocations: 48 kB / 0.6142 GB, free: 12.17 MB / 459.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003256/0.674, allocations: 83.91 kB / 0.6143 GB, free: 12.09 MB / 459.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003938/0.6779, allocations: 1.536 MB / 0.6158 GB, free: 10.55 MB / 459.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004001/0.682, allocations: 2.022 MB / 0.6177 GB, free: 8.371 MB / 459.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.964e-05/0.6821, allocations: 11.94 kB / 0.6177 GB, free: 8.359 MB / 459.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001495/0.6822, allocations: 8 kB / 0.6178 GB, free: 8.352 MB / 459.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004222/0.6826, allocations: 182.8 kB / 0.6179 GB, free: 8.172 MB / 459.1 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.01513/0.6978, allocations: 8.962 MB / 0.6267 GB, free: 14.76 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003116/0.7009, allocations: 1.398 MB / 0.628 GB, free: 13.34 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001311/0.7023, allocations: 0.6226 MB / 0.6287 GB, free: 12.71 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.7024, allocations: 25.28 kB / 0.6287 GB, free: 12.68 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001552/0.704, allocations: 0.8879 MB / 0.6295 GB, free: 11.75 MB / 475.1 MB Notification: Performance of pre-optimization done (n=142): time 4.017e-06/0.704, allocations: 0 / 0.6295 GB, free: 11.75 MB / 475.1 MB Notification: Performance of matching and sorting (n=143): time 0.00851/0.7125, allocations: 3.425 MB / 0.6329 GB, free: 8.262 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000193/0.7128, allocations: 282.3 kB / 0.6332 GB, free: 7.926 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/0.7142, allocations: 0.7007 MB / 0.6338 GB, free: 7.203 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.7143, allocations: 37.7 kB / 0.6339 GB, free: 7.16 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000897/0.7153, allocations: 0.736 MB / 0.6346 GB, free: 6.41 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006613/0.7159, allocations: 481 kB / 0.6351 GB, free: 5.934 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.214e-05/0.716, allocations: 0 / 0.6351 GB, free: 5.934 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0003622/0.7164, allocations: 434.7 kB / 0.6355 GB, free: 5.5 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/0.7178, allocations: 0.5779 MB / 0.636 GB, free: 4.922 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00188/0.7197, allocations: 1.108 MB / 0.6371 GB, free: 3.57 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001962/0.7217, allocations: 0.8024 MB / 0.6379 GB, free: 2.77 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.56e-05/0.7217, allocations: 7.953 kB / 0.6379 GB, free: 2.762 MB / 475.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.006588/0.7283, allocations: 2.294 MB / 0.6401 GB, free: 456 kB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.7285, allocations: 67.41 kB / 0.6402 GB, free: 376 kB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2629/0.9914, allocations: 1.587 MB / 0.6418 GB, free: 123.9 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001579/0.993, allocations: 0.5271 MB / 0.6423 GB, free: 123.9 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.9941, allocations: 328.9 kB / 0.6426 GB, free: 123.9 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007779/1.002, allocations: 8.285 MB / 0.6507 GB, free: 119.1 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/1.003, allocations: 57.69 kB / 0.6507 GB, free: 119.1 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/1.003, allocations: 95.62 kB / 0.6508 GB, free: 119.1 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (170): * Single equations (assignments): 161 * 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,(3,77.8%) 10,(2,100.0%) 12,(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002998/1.003, allocations: 236 kB / 0.6511 GB, free: 119 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/1.004, allocations: 127 kB / 0.6512 GB, free: 119 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002611/1.006, allocations: 1.526 MB / 0.6527 GB, free: 118.9 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.314e-05/1.006, allocations: 20.45 kB / 0.6527 GB, free: 118.9 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/1.006, allocations: 1.125 kB / 0.6527 GB, free: 118.9 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.652e-05/1.006, allocations: 10.08 kB / 0.6527 GB, free: 118.9 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004384/1.011, allocations: 2.858 MB / 0.6555 GB, free: 118.4 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/1.011, allocations: 2.875 kB / 0.6555 GB, free: 118.4 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/1.012, allocations: 315.8 kB / 0.6558 GB, free: 118.4 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/1.012, allocations: 6.875 kB / 0.6558 GB, free: 118.4 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-05/1.012, allocations: 23.62 kB / 0.6558 GB, free: 118.4 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.987e-06/1.012, allocations: 9.031 kB / 0.6558 GB, free: 118.4 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/1.012, allocations: 6.969 kB / 0.6558 GB, free: 118.4 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003098/1.015, allocations: 2.459 MB / 0.6582 GB, free: 118.1 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005037/1.016, allocations: 309.3 kB / 0.6585 GB, free: 117.9 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/1.016, allocations: 14.78 kB / 0.6585 GB, free: 117.9 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006146/1.017, allocations: 45.34 kB / 0.6586 GB, free: 117.9 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001829/1.017, allocations: 85.28 kB / 0.6587 GB, free: 117.9 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/1.017, allocations: 79.2 kB / 0.6587 GB, free: 117.9 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.0006359/1.018, allocations: 0.509 MB / 0.6592 GB, free: 117.8 MB / 475.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.018, allocations: 0.9688 kB / 0.6592 GB, free: 117.8 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.001511/1.019, allocations: 405.5 kB / 0.6596 GB, free: 117.8 MB / 475.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) * 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.0003516/1.02, allocations: 214.2 kB / 0.6598 GB, free: 117.7 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.003038/1.023, allocations: 2.272 MB / 0.6621 GB, free: 117.1 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.023, allocations: 1.375 kB / 0.6621 GB, free: 117.1 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/1.024, allocations: 0.9093 MB / 0.6629 GB, free: 117 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008154/1.024, allocations: 168.2 kB / 0.6631 GB, free: 117 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004225/1.029, allocations: 2.802 MB / 0.6658 GB, free: 116.4 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008311/1.03, allocations: 1.494 MB / 0.6673 GB, free: 115.6 MB / 475.1 MB Notification: Performance of simCode: alias equations: time 0.001051/1.031, allocations: 471.8 kB / 0.6677 GB, free: 115.6 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/1.031, allocations: 88.84 kB / 0.6678 GB, free: 115.6 MB / 475.1 MB Notification: Performance of SimCode: time 2.4e-07/1.031, allocations: 5.438 kB / 0.6678 GB, free: 115.6 MB / 475.1 MB Notification: Performance of Templates: time 0.01889/1.05, allocations: 14.3 MB / 0.6818 GB, free: 114.8 MB / 475.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.makefile (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 & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transformation.TapChanger.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches