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.001349/0.001349, allocations: 112.5 kB / 17.7 MB, free: 5.426 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.001418/0.001419, allocations: 183 kB / 18.62 MB, free: 4.5 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.616/1.616, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1918/0.1918, allocations: 38.03 MB / 330.5 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 56.97 kB / 400.3 MB, free: 33.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1445, allocations: 58.07 MB / 458.3 MB, free: 7.32 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01323/0.1578, allocations: 9.08 MB / 467.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007771/0.1656, allocations: 3.369 MB / 470.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.1669, allocations: 35.81 kB / 470.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002932/0.1699, allocations: 1.048 MB / 471.9 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003249/0.1732, allocations: 1.101 MB / 473 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002245/0.1754, allocations: 0.686 MB / 473.6 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004077/0.1795, allocations: 2.375 MB / 476 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.181, allocations: 0.8229 MB / 476.8 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002179/0.1832, allocations: 0.9962 MB / 477.8 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002446/0.1856, allocations: 1.332 MB / 479.2 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002903/0.1859, allocations: 128 kB / 479.3 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.1874, allocations: 0.5812 MB / 479.9 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001036/0.1884, allocations: 0.9236 MB / 480.8 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00121/0.1896, allocations: 0.898 MB / 481.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002768/0.1924, allocations: 2.34 MB / 484 MB, free: 13.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.1924, allocations: 0 / 484 MB, free: 13.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1924, allocations: 0 / 484 MB, free: 13.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.756e-05/0.1925, allocations: 0 / 484 MB, free: 13.5 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.004041/0.1965, allocations: 2.011 MB / 486 MB, free: 11.42 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.1966, allocations: 11.89 kB / 486.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001772/0.1984, allocations: 362.2 kB / 486.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002585/0.201, allocations: 1.079 MB / 487.5 MB, free: 9.926 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.2011, allocations: 103.1 kB / 487.6 MB, free: 9.824 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003747/0.2015, allocations: 168 kB / 487.8 MB, free: 9.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003904/0.2054, allocations: 2.324 MB / 490.1 MB, free: 7.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.2e-05/0.2055, allocations: 7.938 kB / 490.1 MB, free: 7.172 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001463/0.2056, allocations: 63.97 kB / 490.1 MB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005142/0.2062, allocations: 226.8 kB / 490.4 MB, free: 6.887 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002902/0.2091, allocations: 1.842 MB / 492.2 MB, free: 5.039 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.01254/0.2216, allocations: 9.528 MB / 0.49 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00241/0.2241, allocations: 1.548 MB / 0.4915 GB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008433/0.2249, allocations: 0.6068 MB / 0.4921 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.081e-05/0.225, allocations: 20.98 kB / 0.4921 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001127/0.2262, allocations: 0.8489 MB / 0.4929 GB, free: 7.875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 3.596e-06/0.2262, allocations: 0 / 0.4929 GB, free: 7.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.007515/0.2337, allocations: 4.015 MB / 0.4969 GB, free: 3.758 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002494/0.234, allocations: 282.3 kB / 0.4971 GB, free: 3.422 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/0.2357, allocations: 0.9146 MB / 0.498 GB, free: 2.484 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.2359, allocations: 57.69 kB / 0.4981 GB, free: 2.422 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008432/0.2367, allocations: 0.7589 MB / 0.4988 GB, free: 1.648 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000486/0.2372, allocations: 458 kB / 0.4993 GB, free: 1.195 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000516/0.2377, allocations: 319.2 kB / 0.4996 GB, free: 0.875 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.2379, allocations: 361.9 kB / 0.4999 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/0.2389, allocations: 0.5777 MB / 0.5005 GB, free: 15.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.2405, allocations: 1.17 MB / 0.5016 GB, free: 14.51 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002804/0.2433, allocations: 2.008 MB / 0.5036 GB, free: 12.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.397e-05/0.2433, allocations: 8 kB / 0.5036 GB, free: 12.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.005075/0.2484, allocations: 2.489 MB / 0.506 GB, free: 9.676 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.47e-05/0.2486, allocations: 75.34 kB / 0.5061 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003163/0.2517, allocations: 1.563 MB / 0.5076 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00178/0.2535, allocations: 0.5448 MB / 0.5081 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/0.2552, allocations: 327.5 kB / 0.5084 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2685/0.5237, allocations: 9.442 MB / 0.5177 GB, free: 66.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.5251, allocations: 79.45 kB / 0.5177 GB, free: 66.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000219/0.5254, allocations: 101.1 kB / 0.5178 GB, free: 66.7 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.001071/0.5264, allocations: 0.5953 MB / 0.5184 GB, free: 66.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002721/0.5267, allocations: 124.8 kB / 0.5185 GB, free: 66.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002723/0.5294, allocations: 1.541 MB / 0.52 GB, free: 66.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/0.5295, allocations: 11.66 kB / 0.5201 GB, free: 66.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5295, allocations: 2.219 kB / 0.5201 GB, free: 66.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/0.5295, allocations: 6.797 kB / 0.5201 GB, free: 66.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005501/0.535, allocations: 3.074 MB / 0.5231 GB, free: 64.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/0.5351, allocations: 2.281 kB / 0.5231 GB, free: 64.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001422/0.5365, allocations: 298 kB / 0.5234 GB, free: 64.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.892e-05/0.5365, allocations: 6.469 kB / 0.5234 GB, free: 64.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-05/0.5366, allocations: 39.17 kB / 0.5234 GB, free: 64.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-05/0.5367, allocations: 7.656 kB / 0.5234 GB, free: 64.94 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.5367, allocations: 8.219 kB / 0.5234 GB, free: 64.94 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003703/0.5404, allocations: 2.321 MB / 0.5257 GB, free: 64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008749/0.5413, allocations: 295.7 kB / 0.526 GB, free: 63.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/0.5414, allocations: 30.19 kB / 0.526 GB, free: 63.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006183/0.5421, allocations: 43.62 kB / 0.526 GB, free: 63.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002774/0.5424, allocations: 80.64 kB / 0.5261 GB, free: 63.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001983/0.5426, allocations: 79.48 kB / 0.5262 GB, free: 63.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009729/0.5435, allocations: 0.6004 MB / 0.5268 GB, free: 63.58 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5436, allocations: 1.062 kB / 0.5268 GB, free: 63.58 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001685/0.5452, allocations: 421.7 kB / 0.5272 GB, free: 63.54 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.0002176/0.5455, allocations: 155.2 kB / 0.5273 GB, free: 63.42 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00388/0.5494, allocations: 2.327 MB / 0.5296 GB, free: 62.28 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.5494, allocations: 2.062 kB / 0.5296 GB, free: 62.28 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001124/0.5505, allocations: 0.8749 MB / 0.5305 GB, free: 61.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.5518, allocations: 222.4 kB / 0.5307 GB, free: 61.81 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005836/0.5576, allocations: 3.366 MB / 0.534 GB, free: 60.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/0.5588, allocations: 1.462 MB / 0.5354 GB, free: 59.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001186/0.56, allocations: 463.6 kB / 0.5358 GB, free: 59.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/0.5603, allocations: 95.42 kB / 0.5359 GB, free: 59.47 MB / 398.1 MB Notification: Performance of SimCode: time 9.92e-07/0.5603, allocations: 0 / 0.5359 GB, free: 59.47 MB / 398.1 MB Notification: Performance of Templates: time 0.02386/0.5842, allocations: 15.33 MB / 0.5509 GB, free: 48.7 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transformation.TapChanger.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches