Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter12.i|meter12.p|meter12.v|meter22.i|meter22.p|meter22.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter12.i|meter12.p|meter12.v|meter22.i|meter22.p|meter22.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006882/0.0006883, allocations: 90.33 kB / 16.65 MB, free: 6.59 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.0007327/0.0007327, allocations: 182.6 kB / 17.56 MB, free: 6.203 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.179/1.179, allocations: 223.3 MB / 241.6 MB, free: 14.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.156/0.156, allocations: 38.09 MB / 330.8 MB, free: 8.531 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002738/0.0002738, allocations: 9.062 kB / 400.7 MB, free: 34.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08714/0.08742, allocations: 59.17 MB / 459.9 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.007607/0.09507, allocations: 8.493 MB / 468.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003556/0.09866, allocations: 2.205 MB / 470.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007764/0.09946, allocations: 55.62 kB / 470.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007073/0.1002, allocations: 214.8 kB / 470.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.1015, allocations: 0.5291 MB / 471.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.102, allocations: 191.8 kB / 471.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001741/0.1037, allocations: 1.944 MB / 473.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003928/0.1041, allocations: 294.5 kB / 473.8 MB, free: 9.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007554/0.1049, allocations: 465.7 kB / 474.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009626/0.1059, allocations: 0.6462 MB / 474.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.106, allocations: 32 kB / 474.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.1062, allocations: 36 kB / 475 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002699/0.1064, allocations: 303.1 kB / 475.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004389/0.1069, allocations: 427.4 kB / 475.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006823/0.1076, allocations: 0.8561 MB / 476.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.1076, allocations: 0 / 476.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1076, allocations: 3.938 kB / 476.5 MB, free: 6.332 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.437e-05/0.1076, allocations: 0 / 476.5 MB, free: 6.332 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001653/0.1093, allocations: 1.081 MB / 477.6 MB, free: 5.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.1093, allocations: 8.031 kB / 477.6 MB, free: 5.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.1095, allocations: 95.81 kB / 477.7 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000958/0.1105, allocations: 0.6564 MB / 478.4 MB, free: 4.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.658e-05/0.1105, allocations: 53.25 kB / 478.4 MB, free: 4.336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-05/0.1106, allocations: 67.92 kB / 478.5 MB, free: 4.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.1117, allocations: 0.8099 MB / 479.3 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.1117, allocations: 0 / 479.3 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.502e-05/0.1118, allocations: 31.92 kB / 479.3 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.602e-05/0.1118, allocations: 37.3 kB / 479.4 MB, free: 3.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008696/0.1127, allocations: 0.6101 MB / 480 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002929/0.1156, allocations: 2.645 MB / 482.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008086/0.1165, allocations: 0.6066 MB / 483.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005339/0.117, allocations: 372 kB / 483.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.117, allocations: 4.438 kB / 483.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004974/0.1175, allocations: 487 kB / 484.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 1.864e-06/0.1175, allocations: 0 / 484.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=64): time 0.00242/0.12, allocations: 1.993 MB / 486.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.1201, allocations: 259.8 kB / 486.3 MB, free: 12.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005187/0.1206, allocations: 0.5586 MB / 486.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.1207, allocations: 37.7 kB / 486.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000235/0.1209, allocations: 403.4 kB / 487.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.1211, allocations: 213 kB / 487.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.957e-05/0.1211, allocations: 69.81 kB / 487.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1213, allocations: 386.8 kB / 488 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003252/0.1216, allocations: 225.9 kB / 488.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004333/0.1221, allocations: 453.8 kB / 488.6 MB, free: 9.617 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008077/0.1229, allocations: 0.8012 MB / 489.4 MB, free: 8.691 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1229, allocations: 4 kB / 489.4 MB, free: 8.688 MB / 366.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001329/0.1242, allocations: 0.9482 MB / 490.4 MB, free: 7.715 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.241e-05/0.1243, allocations: 59.41 kB / 490.4 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.1243, allocations: 8 kB / 490.5 MB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003498/0.1246, allocations: 109.8 kB / 490.6 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004454/0.1251, allocations: 151.7 kB / 490.7 MB, free: 7.375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002367/0.1275, allocations: 3 MB / 493.7 MB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003723/0.1279, allocations: 35.98 kB / 493.7 MB, free: 4.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.866e-05/0.1279, allocations: 55.95 kB / 493.8 MB, free: 4.02 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003405/0.1283, allocations: 362.6 kB / 494.1 MB, free: 3.645 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.841e-05/0.1284, allocations: 75.06 kB / 494.2 MB, free: 3.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.1294, allocations: 0.7935 MB / 495 MB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.1294, allocations: 4.25 kB / 495 MB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.1294, allocations: 4 kB / 495 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.1294, allocations: 7.984 kB / 495 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.1312, allocations: 1.543 MB / 496.6 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1312, allocations: 0 / 496.6 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004672/0.1317, allocations: 111.9 kB / 496.7 MB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.1317, allocations: 4 kB / 496.7 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.753e-05/0.1318, allocations: 23.98 kB / 496.7 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1318, allocations: 0 / 496.7 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.1318, allocations: 7.938 kB / 496.7 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.1331, allocations: 1.207 MB / 497.9 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/0.1333, allocations: 188.1 kB / 498.1 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.218e-05/0.1334, allocations: 19.98 kB / 498.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/0.1337, allocations: 27.97 kB / 498.2 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.185e-05/0.1338, allocations: 40.33 kB / 498.2 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-05/0.1339, allocations: 63.92 kB / 498.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000362/0.1343, allocations: 399 kB / 498.6 MB, free: 15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1343, allocations: 3.938 kB / 498.7 MB, free: 14.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005299/0.1348, allocations: 180 kB / 498.8 MB, free: 14.82 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (trafo1.i1,trafo2.i1) * 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 (55): * Single equations (assignments): 52 * 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.0001195/0.1349, allocations: 119.1 kB / 498.9 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.1362, allocations: 1.016 MB / 500 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1362, allocations: 0 / 500 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004941/0.1367, allocations: 493.4 kB / 0.4887 GB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000764/0.1375, allocations: 146.9 kB / 0.4889 GB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.1395, allocations: 1.896 MB / 0.4907 GB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004959/0.14, allocations: 1.013 MB / 0.4917 GB, free: 9.992 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004026/0.1405, allocations: 157.8 kB / 0.4918 GB, free: 9.836 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.1406, allocations: 47.44 kB / 0.4919 GB, free: 9.789 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1406, allocations: 0 / 0.4919 GB, free: 9.789 MB / 382.1 MB Notification: Performance of Templates: time 0.01106/0.1516, allocations: 6.861 MB / 0.4986 GB, free: 3 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches