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.0008372/0.0008374, allocations: 92.53 kB / 16.3 MB, free: 5.543 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.001017/0.001017, allocations: 184.1 kB / 17.19 MB, free: 5.477 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.181/1.181, allocations: 223.2 MB / 241.1 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1558/0.1558, allocations: 38.09 MB / 330.3 MB, free: 8.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002929/0.0002929, allocations: 12 kB / 400 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08955/0.08986, allocations: 59.17 MB / 459.1 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.008666/0.09857, allocations: 9.104 MB / 468.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004997/0.1036, allocations: 3.695 MB / 471.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004644/0.1041, allocations: 59.56 kB / 472 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006006/0.1047, allocations: 330.1 kB / 472.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001428/0.1061, allocations: 0.7789 MB / 473.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.1073, allocations: 0.6275 MB / 473.7 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001074/0.1084, allocations: 1.059 MB / 474.8 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/0.1099, allocations: 1.1 MB / 475.9 MB, free: 6.566 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007379/0.1106, allocations: 0.65 MB / 476.5 MB, free: 5.914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009851/0.1116, allocations: 0.8491 MB / 477.4 MB, free: 5.062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.1118, allocations: 64 kB / 477.4 MB, free: 5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007089/0.1125, allocations: 415.4 kB / 477.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006831/0.1132, allocations: 0.7795 MB / 478.6 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003227/0.1135, allocations: 336.8 kB / 479 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.115, allocations: 1.742 MB / 480.7 MB, free: 1.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.115, allocations: 0 / 480.7 MB, free: 1.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.115, allocations: 4 kB / 480.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.761e-05/0.115, allocations: 0 / 480.7 MB, free: 1.727 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.002657/0.1177, allocations: 1.699 MB / 482.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1177, allocations: 8.031 kB / 482.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001611/0.1193, allocations: 373.3 kB / 482.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/0.121, allocations: 1 MB / 483.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.248e-05/0.1211, allocations: 110.7 kB / 483.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002748/0.1214, allocations: 163.8 kB / 484 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002798/0.1242, allocations: 2.293 MB / 486.3 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.683e-05/0.1242, allocations: 7.938 kB / 486.3 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.1244, allocations: 59.97 kB / 486.4 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004576/0.1248, allocations: 230.8 kB / 486.6 MB, free: 11.53 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00245/0.1273, allocations: 1.815 MB / 488.4 MB, free: 9.707 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.009174/0.1365, allocations: 9.556 MB / 498 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/0.1384, allocations: 1.533 MB / 499.5 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.43e-05/0.1385, allocations: 25.03 kB / 499.6 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009369/0.1394, allocations: 0.8332 MB / 0.4887 GB, free: 13.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 2.585e-06/0.1394, allocations: 0 / 0.4887 GB, free: 13.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.004957/0.1444, allocations: 4.114 MB / 0.4927 GB, free: 8.898 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.1445, allocations: 286.3 kB / 0.4929 GB, free: 8.559 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008773/0.1454, allocations: 0.9107 MB / 0.4938 GB, free: 7.625 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.553e-05/0.1455, allocations: 49.7 kB / 0.4939 GB, free: 7.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004605/0.1459, allocations: 0.7666 MB / 0.4946 GB, free: 6.789 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002946/0.1462, allocations: 458 kB / 0.4951 GB, free: 6.336 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.1463, allocations: 32 kB / 0.4951 GB, free: 6.305 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.1465, allocations: 438.7 kB / 0.4955 GB, free: 5.867 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007545/0.1473, allocations: 0.566 MB / 0.4961 GB, free: 5.301 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.1483, allocations: 1.155 MB / 0.4972 GB, free: 3.887 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009885/0.1493, allocations: 0.8294 MB / 0.498 GB, free: 3.043 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.1494, allocations: 4 kB / 0.498 GB, free: 3.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.003605/0.153, allocations: 2.458 MB / 0.5004 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.746e-05/0.153, allocations: 71.41 kB / 0.5005 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1681/0.3212, allocations: 1.535 MB / 0.502 GB, free: 54.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00156/0.3227, allocations: 0.549 MB / 0.5025 GB, free: 54.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.3238, allocations: 331.5 kB / 0.5028 GB, free: 54.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007915/0.3317, allocations: 8.92 MB / 0.5115 GB, free: 47.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009724/0.3327, allocations: 80.34 kB / 0.5116 GB, free: 47.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.3329, allocations: 102.8 kB / 0.5117 GB, free: 47.88 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.000732/0.3336, allocations: 0.593 MB / 0.5123 GB, free: 47.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.3338, allocations: 126.8 kB / 0.5124 GB, free: 47.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002089/0.3359, allocations: 1.517 MB / 0.5139 GB, free: 46.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.3359, allocations: 15.16 kB / 0.5139 GB, free: 46.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3359, allocations: 1.531 kB / 0.5139 GB, free: 46.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.3359, allocations: 5.953 kB / 0.5139 GB, free: 46.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004411/0.3403, allocations: 3.051 MB / 0.5169 GB, free: 45.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.3404, allocations: 2.688 kB / 0.5169 GB, free: 45.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/0.3416, allocations: 300.7 kB / 0.5172 GB, free: 45.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.729e-06/0.3416, allocations: 9.562 kB / 0.5172 GB, free: 45.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-05/0.3417, allocations: 39.81 kB / 0.5172 GB, free: 45.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/0.3417, allocations: 5.594 kB / 0.5172 GB, free: 45.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3417, allocations: 2.188 kB / 0.5172 GB, free: 45.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002686/0.3444, allocations: 2.365 MB / 0.5196 GB, free: 44.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004808/0.3449, allocations: 302.2 kB / 0.5198 GB, free: 44.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.3451, allocations: 32.77 kB / 0.5199 GB, free: 44.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005031/0.3456, allocations: 54.3 kB / 0.5199 GB, free: 44.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.3457, allocations: 84.06 kB / 0.52 GB, free: 44.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/0.3458, allocations: 75.3 kB / 0.5201 GB, free: 44.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000695/0.3465, allocations: 0.5923 MB / 0.5207 GB, free: 44.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3466, allocations: 4.844 kB / 0.5207 GB, free: 44.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001377/0.3479, allocations: 425.9 kB / 0.5211 GB, free: 44 MB / 382.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.0001605/0.3481, allocations: 143.7 kB / 0.5212 GB, free: 43.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002497/0.3506, allocations: 2.282 MB / 0.5234 GB, free: 42.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.3506, allocations: 1.375 kB / 0.5234 GB, free: 42.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008611/0.3515, allocations: 0.8679 MB / 0.5243 GB, free: 42.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006796/0.3522, allocations: 187.3 kB / 0.5245 GB, free: 42.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00421/0.3564, allocations: 4.016 MB / 0.5284 GB, free: 40.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007652/0.3572, allocations: 1.494 MB / 0.5298 GB, free: 39.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009329/0.3581, allocations: 464.3 kB / 0.5303 GB, free: 38.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.3583, allocations: 95.36 kB / 0.5304 GB, free: 38.86 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3583, allocations: 4 kB / 0.5304 GB, free: 38.85 MB / 382.1 MB Notification: Performance of Templates: time 0.01797/0.3763, allocations: 13.89 MB / 0.5439 GB, free: 25.59 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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