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.001725/0.001725, allocations: 186.5 kB / 17.27 MB, free: 4.504 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.626/1.626, allocations: 205.1 MB / 223.1 MB, free: 8.453 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.001233/0.001233, allocations: 99.91 kB / 270.5 MB, free: 8.422 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.01 MB / 355.8 MB, free: 2.914 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 59.92 kB / 421.9 MB, free: 37.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3168, allocations: 55.23 MB / 477.1 MB, free: 9.91 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.0111/0.328, allocations: 8.956 MB / 486.1 MB, free: 3.527 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005673/0.3337, allocations: 2.278 MB / 488.3 MB, free: 1.902 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001697/0.3355, allocations: 65.69 kB / 488.4 MB, free: 1.875 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009809/0.3365, allocations: 211.3 kB / 488.6 MB, free: 1.785 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001763/0.3383, allocations: 0.5307 MB / 489.1 MB, free: 1.496 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007201/0.339, allocations: 187.1 kB / 489.3 MB, free: 1.391 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002684/0.3417, allocations: 1.951 MB / 491.3 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004791/0.3422, allocations: 291.6 kB / 491.5 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009503/0.3432, allocations: 492.3 kB / 492 MB, free: 456 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.3443, allocations: 0.6872 MB / 492.7 MB, free: 212 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.3445, allocations: 46.03 kB / 492.8 MB, free: 208 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.3447, allocations: 44.28 kB / 492.8 MB, free: 208 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004098/0.3451, allocations: 319.6 kB / 493.1 MB, free: 104 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005196/0.3456, allocations: 410.8 kB / 493.5 MB, free: 15.87 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.3468, allocations: 0.8795 MB / 494.4 MB, free: 15.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.3468, allocations: 4 kB / 494.4 MB, free: 15.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3468, allocations: 0.5156 kB / 494.4 MB, free: 15.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.3468, allocations: 1.219 kB / 494.4 MB, free: 15.52 MB / 330.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.002627/0.3494, allocations: 1.221 MB / 495.6 MB, free: 14.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.3495, allocations: 13.34 kB / 495.6 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.3497, allocations: 97.58 kB / 495.7 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/0.3511, allocations: 0.6601 MB / 496.4 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.813e-05/0.3512, allocations: 56.3 kB / 496.4 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.3514, allocations: 57.72 kB / 496.5 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/0.3533, allocations: 0.8101 MB / 497.3 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.3533, allocations: 5.188 kB / 497.3 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.525e-05/0.3534, allocations: 27.44 kB / 497.3 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.002e-05/0.3535, allocations: 32.36 kB / 497.4 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.3546, allocations: 0.627 MB / 498 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003834/0.3585, allocations: 2.632 MB / 0.4889 GB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.3595, allocations: 0.6099 MB / 0.4895 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007148/0.3603, allocations: 380 kB / 0.4899 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.294e-05/0.3603, allocations: 6.531 kB / 0.4899 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000679/0.361, allocations: 495.3 kB / 0.4903 GB, free: 10.55 MB / 330.7 MB Notification: Performance of pre-optimization done (n=63): time 3.477e-06/0.361, allocations: 4 kB / 0.4903 GB, free: 10.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=64): time 0.003667/0.3647, allocations: 1.969 MB / 0.4923 GB, free: 9.301 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001953/0.3649, allocations: 254.8 kB / 0.4925 GB, free: 9.008 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009982/0.3659, allocations: 0.5656 MB / 0.4931 GB, free: 8.672 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/0.366, allocations: 37.33 kB / 0.4931 GB, free: 8.633 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003528/0.3663, allocations: 407.5 kB / 0.4935 GB, free: 8.273 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.3665, allocations: 202 kB / 0.4937 GB, free: 8.102 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002556/0.3668, allocations: 152.4 kB / 0.4938 GB, free: 8.004 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.367, allocations: 385.3 kB / 0.4942 GB, free: 7.637 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003694/0.3674, allocations: 221.5 kB / 0.4944 GB, free: 7.539 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005935/0.368, allocations: 463.3 kB / 0.4948 GB, free: 7.133 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.369, allocations: 0.791 MB / 0.4956 GB, free: 6.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.369, allocations: 2.75 kB / 0.4956 GB, free: 6.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00177/0.3708, allocations: 0.9529 MB / 0.4965 GB, free: 5.945 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.104e-05/0.3709, allocations: 65.73 kB / 0.4966 GB, free: 5.879 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.3709, allocations: 7.438 kB / 0.4966 GB, free: 5.879 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003968/0.3713, allocations: 114.6 kB / 0.4967 GB, free: 5.816 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005703/0.3719, allocations: 150.2 kB / 0.4969 GB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002925/0.3748, allocations: 2.997 MB / 0.4998 GB, free: 2.859 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007098/0.3756, allocations: 41.56 kB / 0.4998 GB, free: 2.836 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.3757, allocations: 53.06 kB / 0.4999 GB, free: 2.82 MB / 330.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,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.0006364/0.3763, allocations: 355.2 kB / 0.5002 GB, free: 2.531 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.3765, allocations: 75.16 kB / 0.5003 GB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/0.3777, allocations: 0.7868 MB / 0.5011 GB, free: 1.879 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.3778, allocations: 8 kB / 0.5011 GB, free: 1.871 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.3778, allocations: 0 / 0.5011 GB, free: 1.871 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.3778, allocations: 3.984 kB / 0.5011 GB, free: 1.867 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002097/0.3799, allocations: 1.539 MB / 0.5026 GB, free: 260 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3799, allocations: 0 / 0.5026 GB, free: 260 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005312/0.3804, allocations: 119.8 kB / 0.5027 GB, free: 140 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.3805, allocations: 0 / 0.5027 GB, free: 140 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-05/0.3805, allocations: 19.98 kB / 0.5027 GB, free: 120 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.3805, allocations: 4 kB / 0.5027 GB, free: 116 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3805, allocations: 3.938 kB / 0.5027 GB, free: 112 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00746/0.388, allocations: 4.792 MB / 0.5074 GB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002836/0.3883, allocations: 180.2 kB / 0.5076 GB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.793e-05/0.3884, allocations: 19.94 kB / 0.5076 GB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000316/0.3887, allocations: 31.97 kB / 0.5076 GB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.3889, allocations: 36.33 kB / 0.5077 GB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.895e-05/0.389, allocations: 63.98 kB / 0.5077 GB, free: 10.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004604/0.3894, allocations: 391 kB / 0.5081 GB, free: 10.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3894, allocations: 0 / 0.5081 GB, free: 10.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009103/0.3903, allocations: 256 kB / 0.5083 GB, free: 10.16 MB / 346.7 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.0001525/0.3905, allocations: 131.1 kB / 0.5085 GB, free: 10.02 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001428/0.3919, allocations: 1.016 MB / 0.5095 GB, free: 8.953 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.392, allocations: 0.5 kB / 0.5095 GB, free: 8.953 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005032/0.3925, allocations: 497.2 kB / 0.5099 GB, free: 8.441 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000788/0.3933, allocations: 155.6 kB / 0.5101 GB, free: 8.293 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003114/0.3964, allocations: 2.323 MB / 0.5123 GB, free: 5.898 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006218/0.397, allocations: 1.032 MB / 0.5134 GB, free: 4.836 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005231/0.3976, allocations: 169.8 kB / 0.5135 GB, free: 4.668 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.3977, allocations: 51.44 kB / 0.5136 GB, free: 4.617 MB / 346.7 MB Notification: Performance of SimCode: time 8.22e-07/0.3977, allocations: 0 / 0.5136 GB, free: 4.617 MB / 346.7 MB Notification: Performance of Templates: time 0.01514/0.4129, allocations: 8.407 MB / 0.5218 GB, free: 12.23 MB / 362.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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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