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.001354/0.001354, allocations: 115.7 kB / 17.74 MB, free: 5.297 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.001405/0.001406, allocations: 189.6 kB / 18.67 MB, free: 4.375 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.374/1.374, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1897/0.1897, allocations: 38.03 MB / 330.6 MB, free: 8.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 63.91 kB / 458.8 MB, free: 6.895 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3818, allocations: 58.05 MB / 0.5048 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.008201/0.39, allocations: 8.175 MB / 0.5127 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005324/0.3954, allocations: 2.978 MB / 0.5156 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000958/0.3964, allocations: 31.25 kB / 0.5157 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00285/0.3992, allocations: 0.8826 MB / 0.5165 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002653/0.4019, allocations: 0.904 MB / 0.5174 GB, free: 14.92 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002163/0.4041, allocations: 0.6292 MB / 0.518 GB, free: 14.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003671/0.4078, allocations: 1.953 MB / 0.5199 GB, free: 13.85 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/0.409, allocations: 0.6514 MB / 0.5206 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001952/0.4109, allocations: 0.8345 MB / 0.5214 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001965/0.4129, allocations: 1.108 MB / 0.5225 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002444/0.4132, allocations: 111.3 kB / 0.5226 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.4145, allocations: 0.5372 MB / 0.5231 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009862/0.4155, allocations: 0.7869 MB / 0.5239 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.4166, allocations: 0.7534 MB / 0.5246 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002849/0.4195, allocations: 2.003 MB / 0.5266 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4195, allocations: 1.469 kB / 0.5266 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4195, allocations: 0 / 0.5266 GB, free: 11.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.503e-05/0.4196, allocations: 4 kB / 0.5266 GB, free: 11.27 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.00383/0.4234, allocations: 1.667 MB / 0.5282 GB, free: 10.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.4235, allocations: 14.3 kB / 0.5282 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001809/0.4253, allocations: 283.4 kB / 0.5285 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/0.4272, allocations: 0.9056 MB / 0.5294 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.907e-05/0.4273, allocations: 93.42 kB / 0.5295 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003768/0.4277, allocations: 151.3 kB / 0.5296 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003476/0.4311, allocations: 2.086 MB / 0.5316 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.547e-05/0.4312, allocations: 7.25 kB / 0.5316 GB, free: 8.023 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/0.4314, allocations: 58.31 kB / 0.5317 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004726/0.4319, allocations: 173.2 kB / 0.5319 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002941/0.4348, allocations: 1.681 MB / 0.5335 GB, free: 7.129 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.01188/0.4467, allocations: 9.355 MB / 0.5426 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.448, allocations: 0.8955 MB / 0.5435 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006038/0.4486, allocations: 440.6 kB / 0.5439 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.813e-05/0.4487, allocations: 13.75 kB / 0.544 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.4487, allocations: 43.38 kB / 0.544 GB, free: 14.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=81): time 4.007e-06/0.4487, allocations: 0 / 0.544 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=85): time 0.005518/0.4543, allocations: 3.053 MB / 0.547 GB, free: 12.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.849e-05/0.4544, allocations: 90.58 kB / 0.5471 GB, free: 12.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.4554, allocations: 0.7553 MB / 0.5478 GB, free: 11.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.176e-05/0.4555, allocations: 41.7 kB / 0.5478 GB, free: 11.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000448/0.4559, allocations: 0.7034 MB / 0.5485 GB, free: 10.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000243/0.4562, allocations: 303.7 kB / 0.5488 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003324/0.4565, allocations: 267.2 kB / 0.5491 GB, free: 10.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002165/0.4568, allocations: 398.7 kB / 0.5495 GB, free: 9.852 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006782/0.4574, allocations: 455.7 kB / 0.5499 GB, free: 9.406 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.4585, allocations: 1.014 MB / 0.5509 GB, free: 8.133 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002044/0.4605, allocations: 1.61 MB / 0.5524 GB, free: 6.254 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/0.4606, allocations: 4 kB / 0.5525 GB, free: 6.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003853/0.4644, allocations: 1.958 MB / 0.5544 GB, free: 4.281 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.557e-05/0.4645, allocations: 12 kB / 0.5544 GB, free: 4.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002171/0.4667, allocations: 1.203 MB / 0.5556 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001372/0.4681, allocations: 455.4 kB / 0.556 GB, free: 2.613 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009199/0.469, allocations: 259.5 kB / 0.5562 GB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007599/0.4766, allocations: 5.894 MB / 0.562 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.4777, allocations: 51.98 kB / 0.562 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002182/0.4779, allocations: 68 kB / 0.5621 GB, free: 12.07 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.001098/0.4791, allocations: 469.1 kB / 0.5625 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002766/0.4793, allocations: 90.88 kB / 0.5626 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002495/0.4818, allocations: 1.381 MB / 0.564 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.4819, allocations: 8 kB / 0.564 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.4819, allocations: 4 kB / 0.564 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.4819, allocations: 8.078 kB / 0.564 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004492/0.4864, allocations: 2.504 MB / 0.5665 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.4864, allocations: 0 / 0.5665 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005524/0.487, allocations: 131.8 kB / 0.5666 GB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005441/0.4876, allocations: 178.2 kB / 0.5667 GB, free: 7.082 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.802e-05/0.4877, allocations: 23.98 kB / 0.5668 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004289/0.492, allocations: 4.953 MB / 0.5716 GB, free: 1.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.492, allocations: 4.031 kB / 0.5716 GB, free: 1.676 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002773/0.4948, allocations: 1.849 MB / 0.5734 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005058/0.4953, allocations: 224 kB / 0.5736 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/0.4955, allocations: 27.89 kB / 0.5737 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004798/0.496, allocations: 31.92 kB / 0.5737 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.4961, allocations: 60.56 kB / 0.5737 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.588e-05/0.4962, allocations: 23.98 kB / 0.5738 GB, free: 15.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007705/0.497, allocations: 499 kB / 0.5742 GB, free: 14.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.497, allocations: 0 / 0.5742 GB, free: 14.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001608/0.4986, allocations: 324 kB / 0.5746 GB, free: 14.56 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.0002126/0.4988, allocations: 129.8 kB / 0.5747 GB, free: 14.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002957/0.5018, allocations: 1.539 MB / 0.5762 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5018, allocations: 5.938 kB / 0.5762 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001487/0.5033, allocations: 0.8434 MB / 0.577 GB, free: 11.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.5046, allocations: 179.1 kB / 0.5772 GB, free: 11.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005706/0.5103, allocations: 2.883 MB / 0.58 GB, free: 8.867 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/0.5116, allocations: 1.313 MB / 0.5813 GB, free: 7.523 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/0.512, allocations: 79.44 kB / 0.5814 GB, free: 7.445 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.512, allocations: 3.938 kB / 0.5814 GB, free: 7.441 MB / 446.1 MB Notification: Performance of Templates: time 0.03359/0.5456, allocations: 24.83 MB / 0.6056 GB, free: 14.61 MB / 478.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches