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.00074/0.0007401, allocations: 91.31 kB / 16.65 MB, free: 6.598 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.0008767/0.0008768, allocations: 184 kB / 17.57 MB, free: 6.199 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.212/1.212, allocations: 223.3 MB / 241.6 MB, free: 14.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1767/0.1767, allocations: 38.08 MB / 330.8 MB, free: 8.5 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002943/0.0002943, allocations: 8 kB / 400.7 MB, free: 34.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0899/0.09021, allocations: 59.16 MB / 459.9 MB, free: 7.023 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.008755/0.099, allocations: 10.21 MB / 470.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005884/0.1049, allocations: 3.883 MB / 474 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007791/0.1057, allocations: 59.56 kB / 474 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007707/0.1065, allocations: 366 kB / 474.4 MB, free: 8.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001784/0.1083, allocations: 1.055 MB / 475.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.1096, allocations: 0.62 MB / 476.1 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003727/0.1133, allocations: 4.13 MB / 480.2 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001818/0.1152, allocations: 1.228 MB / 481.4 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001203/0.1164, allocations: 0.7933 MB / 482.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001551/0.118, allocations: 1.383 MB / 483.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.1181, allocations: 64 kB / 483.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009358/0.119, allocations: 0.5615 MB / 484.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006981/0.1198, allocations: 0.865 MB / 485.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007169/0.1205, allocations: 0.8331 MB / 485.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001931/0.1224, allocations: 2.223 MB / 488.2 MB, free: 10.6 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1224, allocations: 0 / 488.2 MB, free: 10.6 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1224, allocations: 0 / 488.2 MB, free: 10.6 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.801e-05/0.1225, allocations: 0 / 488.2 MB, free: 10.6 MB / 366.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.002745/0.1252, allocations: 1.692 MB / 489.8 MB, free: 8.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.1253, allocations: 8.031 kB / 489.8 MB, free: 8.832 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/0.127, allocations: 350.3 kB / 490.2 MB, free: 8.488 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.1286, allocations: 1.024 MB / 491.2 MB, free: 7.422 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-05/0.1287, allocations: 103.1 kB / 491.3 MB, free: 7.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003379/0.1291, allocations: 172 kB / 491.5 MB, free: 7.152 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002946/0.132, allocations: 2.324 MB / 493.8 MB, free: 4.672 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.105e-05/0.1321, allocations: 11.88 kB / 493.8 MB, free: 4.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/0.1322, allocations: 59.97 kB / 493.9 MB, free: 4.602 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004677/0.1327, allocations: 226.8 kB / 494.1 MB, free: 4.379 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002518/0.1352, allocations: 1.846 MB / 495.9 MB, free: 2.527 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.009294/0.1445, allocations: 9.583 MB / 0.4937 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/0.1465, allocations: 1.535 MB / 0.4952 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007546/0.1472, allocations: 0.6107 MB / 0.4958 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.54e-05/0.1473, allocations: 13 kB / 0.4958 GB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001011/0.1483, allocations: 0.8645 MB / 0.4966 GB, free: 5.305 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 2.815e-06/0.1484, allocations: 0 / 0.4966 GB, free: 5.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.005096/0.1535, allocations: 4.019 MB / 0.5006 GB, free: 1.188 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.1536, allocations: 286.6 kB / 0.5008 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1886/0.3422, allocations: 0.9082 MB / 0.5017 GB, free: 55.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002649/0.3425, allocations: 48.88 kB / 0.5018 GB, free: 55.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007398/0.3433, allocations: 0.7637 MB / 0.5025 GB, free: 55.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004435/0.3437, allocations: 452.8 kB / 0.5029 GB, free: 55.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.3439, allocations: 151.8 kB / 0.5031 GB, free: 55.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.344, allocations: 360.9 kB / 0.5034 GB, free: 54.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009924/0.345, allocations: 0.5778 MB / 0.504 GB, free: 54.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.3463, allocations: 1.173 MB / 0.5051 GB, free: 54.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001944/0.3483, allocations: 2.005 MB / 0.5071 GB, free: 52.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.3483, allocations: 5.812 kB / 0.5071 GB, free: 52.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004085/0.3524, allocations: 2.492 MB / 0.5095 GB, free: 51.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.246e-05/0.3525, allocations: 67.94 kB / 0.5096 GB, free: 51.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002595/0.3551, allocations: 1.568 MB / 0.5111 GB, free: 51.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/0.3565, allocations: 0.5466 MB / 0.5117 GB, free: 51.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009388/0.3575, allocations: 321.9 kB / 0.512 GB, free: 51.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008085/0.3656, allocations: 8.719 MB / 0.5205 GB, free: 44.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009403/0.3665, allocations: 79.56 kB / 0.5206 GB, free: 44.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/0.3667, allocations: 104.3 kB / 0.5207 GB, free: 44.59 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,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 (175): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (2,11,100.0%), (2,12,100.0%), (2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007608/0.3675, allocations: 0.5921 MB / 0.5212 GB, free: 44.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.3676, allocations: 124.4 kB / 0.5214 GB, free: 44.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002087/0.3697, allocations: 1.539 MB / 0.5229 GB, free: 43.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.3697, allocations: 15.53 kB / 0.5229 GB, free: 43.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.3697, allocations: 4.875 kB / 0.5229 GB, free: 43.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.3697, allocations: 4.859 kB / 0.5229 GB, free: 43.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003523/0.3733, allocations: 3.078 MB / 0.5259 GB, free: 42.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.3733, allocations: 4.188 kB / 0.5259 GB, free: 42.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/0.3745, allocations: 300.1 kB / 0.5262 GB, free: 42.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/0.3745, allocations: 5.5 kB / 0.5262 GB, free: 42.21 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-05/0.3746, allocations: 42.34 kB / 0.5262 GB, free: 42.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.3746, allocations: 5.5 kB / 0.5262 GB, free: 42.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.3746, allocations: 10.69 kB / 0.5262 GB, free: 42.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/0.3768, allocations: 2.312 MB / 0.5285 GB, free: 41.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002985/0.3772, allocations: 297 kB / 0.5288 GB, free: 40.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.3773, allocations: 34.89 kB / 0.5288 GB, free: 40.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004984/0.3778, allocations: 51.25 kB / 0.5289 GB, free: 40.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.3779, allocations: 75.83 kB / 0.5289 GB, free: 40.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.652e-05/0.378, allocations: 86.11 kB / 0.529 GB, free: 40.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005315/0.3786, allocations: 0.5974 MB / 0.5296 GB, free: 40.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3786, allocations: 0 / 0.5296 GB, free: 40.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001068/0.3796, allocations: 420.4 kB / 0.53 GB, free: 40.37 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 (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.0001578/0.3798, allocations: 149.4 kB / 0.5301 GB, free: 40.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00279/0.3826, allocations: 2.313 MB / 0.5324 GB, free: 38.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3826, allocations: 0 / 0.5324 GB, free: 38.42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007952/0.3834, allocations: 0.8755 MB / 0.5333 GB, free: 37.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.3845, allocations: 214.9 kB / 0.5335 GB, free: 37.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0043/0.3888, allocations: 4.182 MB / 0.5376 GB, free: 33.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007606/0.3896, allocations: 1.465 MB / 0.539 GB, free: 31.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000984/0.3906, allocations: 466.3 kB / 0.5394 GB, free: 31.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.3908, allocations: 95.42 kB / 0.5395 GB, free: 31.05 MB / 382.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3908, allocations: 0 / 0.5395 GB, free: 31.05 MB / 382.1 MB Notification: Performance of Templates: time 0.02023/0.411, allocations: 14.37 MB / 0.5536 GB, free: 16.8 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