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.001963/0.001963, allocations: 179.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000846/0.000846, allocations: 100.1 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1628/0.1628, allocations: 38.06 MB / 357.2 MB, free: 1.891 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003263, allocations: 8 kB / 424 MB, free: 37.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.255, allocations: 56.32 MB / 480.3 MB, free: 9.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.137/0.392, allocations: 110 MB / 0.5765 GB, free: 8.406 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.3924, allocations: 91.95 kB / 0.5765 GB, free: 8.316 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1316/0.524, allocations: 48.99 MB / 0.6244 GB, free: 6.703 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.524, allocations: 0 / 0.6244 GB, free: 6.703 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.61e-05/0.5241, allocations: 43.94 kB / 0.6244 GB, free: 6.66 MB / 458.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.003792/0.5279, allocations: 1.743 MB / 0.6261 GB, free: 4.844 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.528, allocations: 8.031 kB / 0.6261 GB, free: 4.836 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002791/0.5308, allocations: 441.4 kB / 0.6266 GB, free: 4.402 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005893/0.5367, allocations: 2.088 MB / 0.6286 GB, free: 2.27 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.431e-05/0.5368, allocations: 102.7 kB / 0.6287 GB, free: 2.168 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002933/0.5371, allocations: 143.9 kB / 0.6288 GB, free: 2.027 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003696/0.5408, allocations: 2.253 MB / 0.631 GB, free: 15.62 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.202e-05/0.5409, allocations: 11.94 kB / 0.631 GB, free: 15.61 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001485/0.541, allocations: 63.97 kB / 0.6311 GB, free: 15.54 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003211/0.5414, allocations: 182.8 kB / 0.6313 GB, free: 15.36 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002885/0.5443, allocations: 1.744 MB / 0.633 GB, free: 13.61 MB / 474.7 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.01094/0.5552, allocations: 9.295 MB / 0.6421 GB, free: 3.848 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002213/0.5575, allocations: 1.479 MB / 0.6435 GB, free: 2.328 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.958e-05/0.5576, allocations: 25.05 kB / 0.6435 GB, free: 2.305 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001191/0.5588, allocations: 0.9308 MB / 0.6444 GB, free: 1.336 MB / 474.7 MB Notification: Performance of pre-optimization done (n=142): time 3.236e-06/0.5588, allocations: 0 / 0.6444 GB, free: 1.336 MB / 474.7 MB Notification: Performance of matching and sorting (n=143): time 0.215/0.7738, allocations: 4.742 MB / 0.6491 GB, free: 121.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.774, allocations: 287.4 kB / 0.6493 GB, free: 120.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.7751, allocations: 0.7667 MB / 0.6501 GB, free: 120.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.466e-05/0.7752, allocations: 50.88 kB / 0.6501 GB, free: 120.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005706/0.7758, allocations: 0.7347 MB / 0.6509 GB, free: 120.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004015/0.7762, allocations: 489.2 kB / 0.6513 GB, free: 120.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.028e-05/0.7763, allocations: 35.5 kB / 0.6514 GB, free: 120.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002137/0.7765, allocations: 436.7 kB / 0.6518 GB, free: 119.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.7776, allocations: 0.6203 MB / 0.6524 GB, free: 119.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/0.7789, allocations: 1.161 MB / 0.6535 GB, free: 119.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.7802, allocations: 0.8813 MB / 0.6544 GB, free: 119.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/0.7803, allocations: 4.125 kB / 0.6544 GB, free: 119.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.004497/0.7848, allocations: 2.547 MB / 0.6569 GB, free: 118.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.655e-05/0.7848, allocations: 66.88 kB / 0.6569 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00305/0.7879, allocations: 1.701 MB / 0.6586 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001735/0.7896, allocations: 0.5427 MB / 0.6591 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.7909, allocations: 324.5 kB / 0.6594 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00878/0.7997, allocations: 8.92 MB / 0.6681 GB, free: 113.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.801, allocations: 92.42 kB / 0.6682 GB, free: 113.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/0.8012, allocations: 100.9 kB / 0.6683 GB, free: 113.7 MB / 474.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 () * Number of clocked 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.001065/0.8023, allocations: 0.5893 MB / 0.6689 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.8025, allocations: 123.7 kB / 0.669 GB, free: 113.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002632/0.8051, allocations: 1.702 MB / 0.6707 GB, free: 113.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.661e-05/0.8052, allocations: 23.73 kB / 0.6707 GB, free: 113.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.8052, allocations: 1.188 kB / 0.6707 GB, free: 113.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.8052, allocations: 3.891 kB / 0.6707 GB, free: 113.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004684/0.8099, allocations: 3.221 MB / 0.6739 GB, free: 112.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.447e-06/0.8099, allocations: 3.188 kB / 0.6739 GB, free: 112.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001388/0.8113, allocations: 314.7 kB / 0.6742 GB, free: 112.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/0.8113, allocations: 7.188 kB / 0.6742 GB, free: 112.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.765e-05/0.8114, allocations: 35.45 kB / 0.6742 GB, free: 112.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/0.8115, allocations: 7.344 kB / 0.6742 GB, free: 112.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.8115, allocations: 9.375 kB / 0.6742 GB, free: 112.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002799/0.8143, allocations: 2.642 MB / 0.6768 GB, free: 111 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006447/0.8149, allocations: 313.1 kB / 0.6771 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.8151, allocations: 31.55 kB / 0.6771 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006106/0.8157, allocations: 68.44 kB / 0.6772 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.8158, allocations: 80.09 kB / 0.6773 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.816, allocations: 84.89 kB / 0.6773 GB, free: 110.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006244/0.8166, allocations: 0.5795 MB / 0.6779 GB, free: 110.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8166, allocations: 0 / 0.6779 GB, free: 110.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001503/0.8181, allocations: 470 kB / 0.6784 GB, free: 110.5 MB / 474.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) * Number of clocked states: 0 () * 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.0003295/0.8184, allocations: 226.7 kB / 0.6786 GB, free: 110.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002875/0.8213, allocations: 2.432 MB / 0.6809 GB, free: 109.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8213, allocations: 0 / 0.6809 GB, free: 109.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009259/0.8223, allocations: 0.9519 MB / 0.6819 GB, free: 108.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007887/0.8231, allocations: 191.7 kB / 0.6821 GB, free: 108.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004895/0.828, allocations: 4.112 MB / 0.6861 GB, free: 106.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008511/0.8289, allocations: 1.503 MB / 0.6875 GB, free: 105.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001186/0.8301, allocations: 473.8 kB / 0.688 GB, free: 105.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002495/0.8303, allocations: 92.91 kB / 0.6881 GB, free: 105.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.102e-06/0.8303, allocations: 0 / 0.6881 GB, free: 105.9 MB / 474.7 MB Notification: Performance of Templates: time 0.02197/0.8523, allocations: 15.42 MB / 0.7031 GB, free: 105 MB / 474.7 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