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.0009018/0.0009023, allocations: 93.23 kB / 16.3 MB, free: 5.996 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.00103/0.00103, allocations: 184.1 kB / 17.2 MB, free: 5.914 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.238/1.238, allocations: 223.2 MB / 241.1 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2774/0.2774, allocations: 38.07 MB / 330.3 MB, free: 14.15 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002796/0.0002796, allocations: 12 kB / 400 MB, free: 9.254 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2526, allocations: 59.15 MB / 459.1 MB, free: 30.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.006482/0.2591, allocations: 7.611 MB / 466.7 MB, free: 24.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003519/0.2627, allocations: 2.152 MB / 468.9 MB, free: 23.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007622/0.2635, allocations: 62.59 kB / 468.9 MB, free: 23.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005529/0.264, allocations: 199.1 kB / 469.1 MB, free: 23.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.2655, allocations: 0.5086 MB / 469.6 MB, free: 22.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007518/0.2663, allocations: 267.7 kB / 469.9 MB, free: 22.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.2673, allocations: 0.6273 MB / 470.5 MB, free: 22.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004159/0.2678, allocations: 244.9 kB / 470.8 MB, free: 22.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006682/0.2684, allocations: 412.6 kB / 471.2 MB, free: 21.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007545/0.2692, allocations: 441.5 kB / 471.6 MB, free: 21.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.946e-05/0.2693, allocations: 32.72 kB / 471.6 MB, free: 21.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.2694, allocations: 33.75 kB / 471.7 MB, free: 21.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002999/0.2697, allocations: 272.5 kB / 471.9 MB, free: 21.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.2699, allocations: 183.1 kB / 472.1 MB, free: 21.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007163/0.2706, allocations: 0.6636 MB / 472.8 MB, free: 21.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.2707, allocations: 0 / 472.8 MB, free: 21.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.2707, allocations: 0 / 472.8 MB, free: 21.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.2707, allocations: 0 / 472.8 MB, free: 21.49 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.001681/0.2724, allocations: 1.088 MB / 473.9 MB, free: 20.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.2724, allocations: 10 kB / 473.9 MB, free: 20.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.2726, allocations: 92.94 kB / 474 MB, free: 20.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.2737, allocations: 0.6473 MB / 474.6 MB, free: 20.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.726e-05/0.2738, allocations: 48.11 kB / 474.7 MB, free: 20.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.88e-05/0.2739, allocations: 57.56 kB / 474.7 MB, free: 20.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.275, allocations: 0.8013 MB / 475.5 MB, free: 19.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.2751, allocations: 5.312 kB / 475.5 MB, free: 19.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.832e-05/0.2751, allocations: 26.88 kB / 475.6 MB, free: 19.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.982e-05/0.2752, allocations: 32.19 kB / 475.6 MB, free: 19.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009097/0.2761, allocations: 0.6121 MB / 476.2 MB, free: 19.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003037/0.2791, allocations: 2.656 MB / 478.9 MB, free: 17.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008766/0.28, allocations: 0.6213 MB / 479.5 MB, free: 17.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.2801, allocations: 7.156 kB / 479.5 MB, free: 17.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004669/0.2806, allocations: 492.2 kB / 480 MB, free: 16.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 2.174e-06/0.2806, allocations: 1.281 kB / 480 MB, free: 16.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=64): time 0.002951/0.2835, allocations: 2.503 MB / 482.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/0.2836, allocations: 255.5 kB / 482.7 MB, free: 14.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000559/0.2842, allocations: 0.5591 MB / 483.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.2842, allocations: 41.97 kB / 483.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.2844, allocations: 396.4 kB / 483.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.2845, allocations: 212.7 kB / 483.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.2846, allocations: 15.44 kB / 483.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.46e-05/0.2847, allocations: 389.2 kB / 484.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/0.285, allocations: 224.2 kB / 484.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004101/0.2854, allocations: 454 kB / 485 MB, free: 12.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003833/0.2858, allocations: 345.2 kB / 485.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.2858, allocations: 2.25 kB / 485.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001277/0.2871, allocations: 0.9687 MB / 486.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.845e-05/0.2871, allocations: 66.39 kB / 486.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.2872, allocations: 15.92 kB / 486.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003464/0.2875, allocations: 129.6 kB / 486.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004318/0.288, allocations: 143.8 kB / 486.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/0.29, allocations: 3.238 MB / 489.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004408/0.2905, allocations: 43.97 kB / 489.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-05/0.2905, allocations: 56.03 kB / 490 MB, free: 7.996 MB / 350.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,$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 (88): * Single equations (assignments): 84 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003561/0.2909, allocations: 354.7 kB / 490.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.93e-05/0.291, allocations: 75.06 kB / 490.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009535/0.2919, allocations: 0.9849 MB / 491.4 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.2919, allocations: 11.98 kB / 491.4 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.292, allocations: 0 / 491.4 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.292, allocations: 7.922 kB / 491.4 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.2936, allocations: 1.75 MB / 493.1 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.2937, allocations: 7.953 kB / 493.1 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004299/0.2941, allocations: 111.8 kB / 493.3 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-05/0.2942, allocations: 41.7 kB / 493.3 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.481e-05/0.2942, allocations: 19.98 kB / 493.3 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.2953, allocations: 2.762 MB / 496.1 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2953, allocations: 0 / 496.1 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.2966, allocations: 1.437 MB / 497.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003305/0.297, allocations: 184.2 kB / 497.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.2971, allocations: 20.06 kB / 497.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003332/0.2974, allocations: 31.97 kB / 497.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.896e-05/0.2975, allocations: 40.33 kB / 497.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.058e-05/0.2976, allocations: 63.91 kB / 497.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000432/0.2981, allocations: 383.1 kB / 498.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.2981, allocations: 4 kB / 498.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007581/0.2988, allocations: 188 kB / 498.4 MB, free: 14.97 MB / 366.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 (53): * Single equations (assignments): 48 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001509/0.299, allocations: 123.1 kB / 498.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001356/0.3004, allocations: 1.019 MB / 499.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3004, allocations: 0 / 499.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006907/0.3011, allocations: 0.707 MB / 0.4885 GB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006605/0.3017, allocations: 141.6 kB / 0.4887 GB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.3041, allocations: 1.834 MB / 0.4905 GB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005563/0.3046, allocations: 1.033 MB / 0.4915 GB, free: 9.953 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004354/0.3051, allocations: 145.8 kB / 0.4916 GB, free: 9.809 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.3052, allocations: 55.42 kB / 0.4917 GB, free: 9.754 MB / 366.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3052, allocations: 0 / 0.4917 GB, free: 9.754 MB / 366.1 MB Notification: Performance of Templates: time 0.01257/0.3178, allocations: 6.951 MB / 0.4984 GB, free: 2.879 MB / 366.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