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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 107.3 kB / 16.62 MB, free: 6.809 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.001383/0.001383, allocations: 189.9 kB / 17.55 MB, free: 5.953 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.338/1.338, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1746/0.1746, allocations: 38.05 MB / 329.4 MB, free: 9.051 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002621/0.002621, allocations: 68.38 kB / 398.3 MB, free: 34.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1332, allocations: 58.06 MB / 456.4 MB, free: 8.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01136/0.1446, allocations: 10.71 MB / 467.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006532/0.1512, allocations: 3.856 MB / 470.9 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008002/0.152, allocations: 67.56 kB / 471 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002568/0.1546, allocations: 0.9866 MB / 472 MB, free: 8.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002318/0.1569, allocations: 1.028 MB / 473 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00197/0.1589, allocations: 0.6396 MB / 473.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002699/0.1616, allocations: 2.39 MB / 476 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.1628, allocations: 0.8737 MB / 476.9 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.1641, allocations: 1.004 MB / 477.9 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001699/0.1658, allocations: 1.461 MB / 479.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001855/0.166, allocations: 128 kB / 479.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009913/0.167, allocations: 0.5889 MB / 480.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008043/0.1678, allocations: 0.9275 MB / 481 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008195/0.1687, allocations: 0.9057 MB / 481.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002054/0.1707, allocations: 2.301 MB / 484.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.1708, allocations: 4 kB / 484.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1708, allocations: 0 / 484.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.283e-05/0.1708, allocations: 4 kB / 484.2 MB, free: 12.47 MB / 366.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.00337/0.1742, allocations: 2.023 MB / 486.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1742, allocations: 11.89 kB / 486.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001771/0.176, allocations: 346.4 kB / 486.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/0.1777, allocations: 1.024 MB / 487.6 MB, free: 8.953 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.1778, allocations: 107.1 kB / 487.7 MB, free: 8.848 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003503/0.1781, allocations: 168.1 kB / 487.9 MB, free: 8.684 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003353/0.1815, allocations: 2.324 MB / 490.2 MB, free: 6.203 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.419e-05/0.1815, allocations: 11.84 kB / 490.2 MB, free: 6.191 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001383/0.1817, allocations: 59.97 kB / 490.3 MB, free: 6.133 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005283/0.1822, allocations: 222.8 kB / 490.5 MB, free: 5.914 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002791/0.185, allocations: 1.846 MB / 492.3 MB, free: 4.062 MB / 366.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.01056/0.1956, allocations: 9.575 MB / 0.4902 GB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002307/0.1979, allocations: 1.543 MB / 0.4917 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008511/0.1988, allocations: 0.6106 MB / 0.4923 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.951e-05/0.1989, allocations: 20.94 kB / 0.4923 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001153/0.2, allocations: 0.8567 MB / 0.4931 GB, free: 6.848 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 3.166e-06/0.2001, allocations: 7.938 kB / 0.4931 GB, free: 6.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.005955/0.206, allocations: 4.011 MB / 0.497 GB, free: 2.727 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.2062, allocations: 282.3 kB / 0.4973 GB, free: 2.391 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.2073, allocations: 0.9146 MB / 0.4982 GB, free: 1.453 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.423e-05/0.2074, allocations: 49.7 kB / 0.4982 GB, free: 1.398 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006607/0.2081, allocations: 0.763 MB / 0.499 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003379/0.2084, allocations: 457.6 kB / 0.4994 GB, free: 172 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004258/0.2088, allocations: 331.2 kB / 0.4997 GB, free: 15.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.209, allocations: 357.9 kB / 0.5001 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008721/0.2099, allocations: 0.5739 MB / 0.5006 GB, free: 14.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/0.2112, allocations: 1.174 MB / 0.5018 GB, free: 13.47 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002462/0.2136, allocations: 2.001 MB / 0.5037 GB, free: 11.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.2137, allocations: 4 kB / 0.5038 GB, free: 11.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004287/0.218, allocations: 2.494 MB / 0.5062 GB, free: 8.645 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.633e-05/0.2181, allocations: 67.39 kB / 0.5063 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00278/0.2208, allocations: 1.573 MB / 0.5078 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001603/0.2225, allocations: 0.5448 MB / 0.5083 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.2236, allocations: 331.5 kB / 0.5086 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1953/0.4189, allocations: 9.459 MB / 0.5179 GB, free: 66.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.4201, allocations: 68 kB / 0.5179 GB, free: 66.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/0.4202, allocations: 102.9 kB / 0.518 GB, free: 66.43 MB / 398.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.0007828/0.421, allocations: 0.5976 MB / 0.5186 GB, free: 66.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.4212, allocations: 123.4 kB / 0.5187 GB, free: 66.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002202/0.4234, allocations: 1.54 MB / 0.5202 GB, free: 65.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.4234, allocations: 12.44 kB / 0.5203 GB, free: 65.8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.4234, allocations: 9.281 kB / 0.5203 GB, free: 65.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/0.4234, allocations: 6.734 kB / 0.5203 GB, free: 65.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004382/0.4278, allocations: 3.069 MB / 0.5233 GB, free: 64.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.4278, allocations: 2.5 kB / 0.5233 GB, free: 64.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/0.4292, allocations: 298.9 kB / 0.5236 GB, free: 64.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/0.4292, allocations: 7.156 kB / 0.5236 GB, free: 64.51 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.328e-05/0.4293, allocations: 39.02 kB / 0.5236 GB, free: 64.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.867e-06/0.4293, allocations: 6.703 kB / 0.5236 GB, free: 64.49 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4293, allocations: 2.219 kB / 0.5236 GB, free: 64.49 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003101/0.4324, allocations: 2.315 MB / 0.5259 GB, free: 63.56 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004893/0.433, allocations: 300.2 kB / 0.5262 GB, free: 63.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.4331, allocations: 31.09 kB / 0.5262 GB, free: 63.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005579/0.4337, allocations: 44.98 kB / 0.5262 GB, free: 63.4 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/0.4339, allocations: 82.39 kB / 0.5263 GB, free: 63.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/0.434, allocations: 79.03 kB / 0.5264 GB, free: 63.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007621/0.4348, allocations: 0.6043 MB / 0.527 GB, free: 63.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4348, allocations: 3.594 kB / 0.527 GB, free: 63.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001327/0.4361, allocations: 421.8 kB / 0.5274 GB, free: 63.09 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.0001709/0.4363, allocations: 146.7 kB / 0.5275 GB, free: 62.97 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005577/0.4419, allocations: 2.992 MB / 0.5304 GB, free: 61.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.4419, allocations: 1.281 kB / 0.5304 GB, free: 61.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.4431, allocations: 0.8748 MB / 0.5313 GB, free: 61.42 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.4443, allocations: 225.9 kB / 0.5315 GB, free: 61.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005836/0.4502, allocations: 4.072 MB / 0.5355 GB, free: 59.13 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001089/0.4513, allocations: 1.465 MB / 0.5369 GB, free: 58.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001126/0.4524, allocations: 463.3 kB / 0.5374 GB, free: 58.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/0.4527, allocations: 97.41 kB / 0.5375 GB, free: 58.26 MB / 398.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4527, allocations: 0 / 0.5375 GB, free: 58.26 MB / 398.1 MB Notification: Performance of Templates: time 0.02153/0.4742, allocations: 15.17 MB / 0.5523 GB, free: 46.96 MB / 398.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches