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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009655/0.0009656, allocations: 176.9 kB / 17.4 MB, free: 4.301 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.57/1.57, allocations: 205.4 MB / 223.5 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007727/0.0007729, allocations: 83.81 kB / 271.9 MB, free: 8.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1775/0.1775, allocations: 38.08 MB / 358.3 MB, free: 1.707 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005195/0.0005199, allocations: 12 kB / 425.2 MB, free: 37.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3403, allocations: 56.32 MB / 481.6 MB, free: 9.582 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1438/0.4842, allocations: 100.2 MB / 0.5681 GB, free: 2.027 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.4845, allocations: 99.8 kB / 0.5682 GB, free: 1.934 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07144/0.556, allocations: 16.87 MB / 0.5847 GB, free: 0.832 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.556, allocations: 0 / 0.5847 GB, free: 0.832 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001005/0.5561, allocations: 20 kB / 0.5847 GB, free: 0.8125 MB / 410.7 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.004007/0.5602, allocations: 1.105 MB / 0.5858 GB, free: 15.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.5602, allocations: 12.03 kB / 0.5858 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004738/0.5607, allocations: 95.81 kB / 0.5859 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004893/0.5656, allocations: 1.237 MB / 0.5871 GB, free: 14.26 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.127e-05/0.5658, allocations: 41.69 kB / 0.5871 GB, free: 14.22 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.5659, allocations: 64.38 kB / 0.5872 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002207/0.5682, allocations: 0.8026 MB / 0.588 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/0.5682, allocations: 3.938 kB / 0.588 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-05/0.5683, allocations: 24 kB / 0.588 GB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.506e-05/0.5684, allocations: 37.3 kB / 0.5881 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/0.5701, allocations: 0.61 MB / 0.5886 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00638/0.5765, allocations: 2.649 MB / 0.5912 GB, free: 9.875 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.5781, allocations: 0.602 MB / 0.5918 GB, free: 9.254 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009736/0.5791, allocations: 379 kB / 0.5922 GB, free: 8.875 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.5791, allocations: 4.438 kB / 0.5922 GB, free: 8.871 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008442/0.58, allocations: 479 kB / 0.5926 GB, free: 8.359 MB / 426.7 MB Notification: Performance of pre-optimization done (n=63): time 6.041e-06/0.58, allocations: 4 kB / 0.5926 GB, free: 8.355 MB / 426.7 MB Notification: Performance of matching and sorting (n=64): time 0.00434/0.5844, allocations: 1.969 MB / 0.5946 GB, free: 6.297 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001609/0.5845, allocations: 251.9 kB / 0.5948 GB, free: 5.996 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009943/0.5855, allocations: 0.5585 MB / 0.5954 GB, free: 5.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.284e-05/0.5856, allocations: 41.7 kB / 0.5954 GB, free: 5.383 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004054/0.586, allocations: 391.5 kB / 0.5958 GB, free: 4.996 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002199/0.5863, allocations: 213.2 kB / 0.596 GB, free: 4.785 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.5863, allocations: 20 kB / 0.596 GB, free: 4.766 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002117/0.5865, allocations: 386.7 kB / 0.5964 GB, free: 4.379 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005081/0.5871, allocations: 225.8 kB / 0.5966 GB, free: 4.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007001/0.5878, allocations: 453.8 kB / 0.597 GB, free: 3.617 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.589, allocations: 0.7976 MB / 0.5978 GB, free: 2.699 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.5891, allocations: 4 kB / 0.5978 GB, free: 2.695 MB / 426.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00183/0.5909, allocations: 0.948 MB / 0.5987 GB, free: 1.719 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.319e-05/0.591, allocations: 63.39 kB / 0.5988 GB, free: 1.645 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.591, allocations: 8 kB / 0.5988 GB, free: 1.637 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004313/0.5915, allocations: 105.9 kB / 0.5989 GB, free: 1.527 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005306/0.592, allocations: 143.7 kB / 0.599 GB, free: 1.387 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003275/0.5953, allocations: 3.208 MB / 0.6022 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006274/0.5959, allocations: 35.98 kB / 0.6022 GB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.988e-05/0.596, allocations: 55.95 kB / 0.6022 GB, free: 13.82 MB / 442.7 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 (90): * Single equations (assignments): 86 * 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%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006374/0.5967, allocations: 350.7 kB / 0.6026 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.5968, allocations: 75.16 kB / 0.6027 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.5979, allocations: 0.778 MB / 0.6034 GB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.5979, allocations: 4 kB / 0.6034 GB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.598, allocations: 3.938 kB / 0.6034 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.598, allocations: 7.984 kB / 0.6034 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002295/0.6003, allocations: 1.565 MB / 0.605 GB, free: 10.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.6003, allocations: 8 kB / 0.605 GB, free: 10.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000486/0.6008, allocations: 111.8 kB / 0.6051 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.6008, allocations: 4.094 kB / 0.6051 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.091e-05/0.6009, allocations: 20 kB / 0.6051 GB, free: 10.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.223e-06/0.6009, allocations: 7.984 kB / 0.6051 GB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6009, allocations: 0 / 0.6051 GB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.6024, allocations: 1.192 MB / 0.6063 GB, free: 9.543 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002702/0.6027, allocations: 184.1 kB / 0.6064 GB, free: 9.344 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.09e-05/0.6028, allocations: 16 kB / 0.6065 GB, free: 9.328 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003399/0.6031, allocations: 35.97 kB / 0.6065 GB, free: 9.293 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.817e-05/0.6032, allocations: 32.39 kB / 0.6065 GB, free: 9.262 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.082e-05/0.6033, allocations: 67.91 kB / 0.6066 GB, free: 9.195 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004526/0.6038, allocations: 387.1 kB / 0.607 GB, free: 8.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6038, allocations: 0 / 0.607 GB, free: 8.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008224/0.6046, allocations: 191.9 kB / 0.6071 GB, free: 8.633 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (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.0003078/0.6049, allocations: 182.4 kB / 0.6073 GB, free: 8.449 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001452/0.6064, allocations: 0.9887 MB / 0.6083 GB, free: 7.41 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6064, allocations: 4.125 kB / 0.6083 GB, free: 7.406 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005788/0.607, allocations: 0.4972 MB / 0.6088 GB, free: 6.879 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008432/0.6079, allocations: 151.5 kB / 0.6089 GB, free: 6.734 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/0.6105, allocations: 1.831 MB / 0.6107 GB, free: 4.859 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006629/0.6111, allocations: 1.009 MB / 0.6117 GB, free: 3.82 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000511/0.6117, allocations: 153.8 kB / 0.6118 GB, free: 3.668 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.6118, allocations: 55.44 kB / 0.6119 GB, free: 3.613 MB / 442.7 MB Notification: Performance of SimCode: time 8.32e-07/0.6118, allocations: 0 / 0.6119 GB, free: 3.613 MB / 442.7 MB Notification: Performance of Templates: time 0.01461/0.6264, allocations: 7.426 MB / 0.6191 GB, free: 12.2 MB / 458.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile (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) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger_res.mat","/var/lib/jenkins1/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