Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.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.ThreeWinding,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.ThreeWinding") translateModel(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding,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.ThreeWinding") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 104.3 kB / 17.06 MB, free: 6.102 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.001108/0.001109, allocations: 196.1 kB / 18 MB, free: 5.176 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.428/1.428, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1738/0.1738, allocations: 38.05 MB / 329.9 MB, free: 8.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 59.91 kB / 458.1 MB, free: 6.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4094, allocations: 58.06 MB / 0.5041 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.008714/0.4182, allocations: 8.169 MB / 0.5121 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005455/0.4237, allocations: 2.976 MB / 0.515 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009517/0.4247, allocations: 31.78 kB / 0.515 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002531/0.4272, allocations: 0.884 MB / 0.5159 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002656/0.4299, allocations: 0.9108 MB / 0.5168 GB, free: 14.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002036/0.4319, allocations: 0.6294 MB / 0.5174 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004206/0.4362, allocations: 1.959 MB / 0.5193 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001689/0.4379, allocations: 0.6565 MB / 0.5199 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002452/0.4403, allocations: 0.826 MB / 0.5207 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003581/0.4439, allocations: 1.114 MB / 0.5218 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001145/0.4451, allocations: 111.8 kB / 0.5219 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00264/0.4477, allocations: 0.5316 MB / 0.5225 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001854/0.4496, allocations: 0.788 MB / 0.5232 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00199/0.4516, allocations: 0.7532 MB / 0.524 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003777/0.4554, allocations: 2.003 MB / 0.5259 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.4554, allocations: 5.5 kB / 0.5259 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4554, allocations: 0 / 0.5259 GB, free: 11.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.76e-05/0.4555, allocations: 4 kB / 0.5259 GB, free: 11.3 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 374 * Number of variables: 374 Notification: Performance of Generate backend data structure: time 0.003747/0.4593, allocations: 1.666 MB / 0.5276 GB, free: 10.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.4593, allocations: 9.75 kB / 0.5276 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/0.461, allocations: 279 kB / 0.5278 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/0.4626, allocations: 0.9075 MB / 0.5287 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.988e-05/0.4627, allocations: 92.64 kB / 0.5288 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000346/0.4631, allocations: 152.6 kB / 0.529 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003489/0.4666, allocations: 2.089 MB / 0.531 GB, free: 8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.364e-05/0.4666, allocations: 8.406 kB / 0.531 GB, free: 7.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001423/0.4668, allocations: 57.55 kB / 0.5311 GB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004558/0.4672, allocations: 178.5 kB / 0.5312 GB, free: 7.898 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003164/0.4704, allocations: 1.675 MB / 0.5329 GB, free: 7.102 MB / 398.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.01263/0.483, allocations: 9.352 MB / 0.542 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.4844, allocations: 0.9019 MB / 0.5429 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006315/0.485, allocations: 441.8 kB / 0.5433 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-05/0.4851, allocations: 9.25 kB / 0.5433 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/0.4852, allocations: 43.16 kB / 0.5433 GB, free: 14.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=81): time 3.156e-06/0.4852, allocations: 0 / 0.5433 GB, free: 14.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=85): time 0.00564/0.4908, allocations: 3.049 MB / 0.5463 GB, free: 12.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/0.4909, allocations: 86.45 kB / 0.5464 GB, free: 12.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.492, allocations: 0.7556 MB / 0.5471 GB, free: 11.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.032e-05/0.492, allocations: 41.7 kB / 0.5472 GB, free: 11.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004693/0.4925, allocations: 0.7034 MB / 0.5479 GB, free: 10.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/0.4928, allocations: 303.7 kB / 0.5482 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003719/0.4932, allocations: 263.2 kB / 0.5484 GB, free: 10.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.4934, allocations: 398.7 kB / 0.5488 GB, free: 9.836 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006781/0.4941, allocations: 455.7 kB / 0.5492 GB, free: 9.391 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.4951, allocations: 1.018 MB / 0.5502 GB, free: 8.113 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002023/0.4971, allocations: 1.617 MB / 0.5518 GB, free: 6.227 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/0.4972, allocations: 4 kB / 0.5518 GB, free: 6.223 MB / 414.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003453/0.5006, allocations: 1.958 MB / 0.5537 GB, free: 4.254 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.5007, allocations: 12 kB / 0.5537 GB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00222/0.5029, allocations: 1.203 MB / 0.5549 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001434/0.5043, allocations: 451.5 kB / 0.5553 GB, free: 2.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008284/0.5052, allocations: 255.6 kB / 0.5556 GB, free: 2.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007674/0.5129, allocations: 5.898 MB / 0.5613 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.514, allocations: 56.02 kB / 0.5614 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/0.5141, allocations: 68 kB / 0.5615 GB, free: 12.05 MB / 430.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: 4 (system.initime,trafo3Stray.tap_2_internal[2],trafo3Stray.tap_2_internal[1],trafo3Stray.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * 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 {(3,15,100.0%), (2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001056/0.5152, allocations: 469.1 kB / 0.5619 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.5153, allocations: 90.88 kB / 0.562 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/0.5176, allocations: 1.384 MB / 0.5633 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/0.5176, allocations: 8 kB / 0.5633 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.5176, allocations: 4 kB / 0.5634 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.5177, allocations: 7.984 kB / 0.5634 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003976/0.5216, allocations: 2.496 MB / 0.5658 GB, free: 7.375 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.5217, allocations: 0 / 0.5658 GB, free: 7.375 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005357/0.5222, allocations: 127.9 kB / 0.5659 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005141/0.5227, allocations: 190.2 kB / 0.5661 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.022e-05/0.5228, allocations: 23.98 kB / 0.5661 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004021/0.5268, allocations: 4.949 MB / 0.571 GB, free: 1.656 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.5269, allocations: 4.031 kB / 0.571 GB, free: 1.652 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002786/0.5296, allocations: 1.853 MB / 0.5728 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000486/0.5301, allocations: 224 kB / 0.573 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.5303, allocations: 27.89 kB / 0.573 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/0.5307, allocations: 31.92 kB / 0.573 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.5308, allocations: 60.56 kB / 0.5731 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-05/0.5309, allocations: 20 kB / 0.5731 GB, free: 15.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008195/0.5317, allocations: 0.4912 MB / 0.5736 GB, free: 14.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5317, allocations: 0 / 0.5736 GB, free: 14.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001578/0.5333, allocations: 328 kB / 0.5739 GB, free: 14.53 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (trafo3Stray.i2a[1],trafo3Stray.i2a[2],trafo3Stray.i2a[3],trafo3Stray.i2b[1],trafo3Stray.i2b[2],trafo3Stray.i2b[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001913/0.5335, allocations: 126.1 kB / 0.574 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003019/0.5365, allocations: 1.545 MB / 0.5755 GB, free: 12.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.5365, allocations: 0 / 0.5755 GB, free: 12.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0015/0.5381, allocations: 0.8435 MB / 0.5764 GB, free: 11.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009693/0.539, allocations: 181.4 kB / 0.5765 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006268/0.5453, allocations: 2.757 MB / 0.5792 GB, free: 8.969 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001715/0.5471, allocations: 1.306 MB / 0.5805 GB, free: 7.633 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001043/0.5481, allocations: 376.4 kB / 0.5809 GB, free: 7.262 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/0.5484, allocations: 75.42 kB / 0.5809 GB, free: 7.188 MB / 446.1 MB Notification: Performance of SimCode: time 1.222e-06/0.5484, allocations: 0 / 0.5809 GB, free: 7.188 MB / 446.1 MB Notification: Performance of Templates: time 0.02675/0.5751, allocations: 12.12 MB / 0.5928 GB, free: 11.15 MB / 462.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches