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.001516/0.001516, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.001784/0.001784, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.279/1.279, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1739/0.1739, allocations: 38.04 MB / 330.6 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.91 kB / 458.8 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2776, allocations: 58.06 MB / 0.5048 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.007444/0.285, allocations: 8.166 MB / 0.5127 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004434/0.2895, allocations: 2.971 MB / 0.5156 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004306/0.2899, allocations: 30.41 kB / 0.5157 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002206/0.2922, allocations: 0.8889 MB / 0.5165 GB, free: 15.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002026/0.2942, allocations: 0.9034 MB / 0.5174 GB, free: 14.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.2959, allocations: 0.635 MB / 0.518 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002942/0.2989, allocations: 1.944 MB / 0.5199 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009488/0.2999, allocations: 0.6573 MB / 0.5206 GB, free: 13.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001375/0.3012, allocations: 0.8303 MB / 0.5214 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001514/0.3028, allocations: 1.109 MB / 0.5225 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000206/0.303, allocations: 115.7 kB / 0.5226 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.3041, allocations: 0.5334 MB / 0.5231 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007941/0.3049, allocations: 0.7831 MB / 0.5239 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008025/0.3058, allocations: 0.7573 MB / 0.5246 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002317/0.3081, allocations: 2.011 MB / 0.5266 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3081, allocations: 0 / 0.5266 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3081, allocations: 0 / 0.5266 GB, free: 11.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.75e-05/0.3081, allocations: 0 / 0.5266 GB, free: 11.21 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.003136/0.3113, allocations: 1.671 MB / 0.5282 GB, free: 10.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.3113, allocations: 13.23 kB / 0.5282 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001681/0.313, allocations: 279 kB / 0.5285 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.3149, allocations: 0.9048 MB / 0.5294 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.172e-05/0.3149, allocations: 91.73 kB / 0.5295 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003282/0.3153, allocations: 157.1 kB / 0.5296 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002868/0.3182, allocations: 2.086 MB / 0.5316 GB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.111e-05/0.3182, allocations: 7.844 kB / 0.5317 GB, free: 7.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/0.3183, allocations: 50.36 kB / 0.5317 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004323/0.3188, allocations: 180.8 kB / 0.5319 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002558/0.3214, allocations: 1.673 MB / 0.5335 GB, free: 7.059 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.0102/0.3316, allocations: 9.367 MB / 0.5427 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.3327, allocations: 0.8908 MB / 0.5435 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005817/0.3333, allocations: 440.1 kB / 0.5439 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.138e-05/0.3333, allocations: 23.17 kB / 0.544 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.3334, allocations: 41.91 kB / 0.544 GB, free: 14.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=81): time 2.865e-06/0.3334, allocations: 0 / 0.544 GB, free: 14.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=85): time 0.004744/0.3381, allocations: 3.047 MB / 0.547 GB, free: 12.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.3382, allocations: 90.48 kB / 0.5471 GB, free: 12.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008195/0.339, allocations: 0.7551 MB / 0.5478 GB, free: 11.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.211e-05/0.3391, allocations: 33.7 kB / 0.5478 GB, free: 11.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004152/0.3395, allocations: 0.6995 MB / 0.5485 GB, free: 10.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002155/0.3397, allocations: 315.7 kB / 0.5488 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003122/0.3401, allocations: 255.3 kB / 0.5491 GB, free: 10.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3402, allocations: 402.7 kB / 0.5494 GB, free: 9.832 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006307/0.3409, allocations: 455.7 kB / 0.5499 GB, free: 9.387 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009692/0.3419, allocations: 1.014 MB / 0.5509 GB, free: 8.113 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001778/0.3436, allocations: 1.606 MB / 0.5524 GB, free: 6.238 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.3437, allocations: 8 kB / 0.5525 GB, free: 6.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003223/0.3469, allocations: 1.966 MB / 0.5544 GB, free: 4.254 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.3469, allocations: 12 kB / 0.5544 GB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002103/0.349, allocations: 1.202 MB / 0.5556 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/0.3504, allocations: 455.8 kB / 0.556 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007761/0.3511, allocations: 259.5 kB / 0.5562 GB, free: 2.332 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006687/0.3578, allocations: 5.897 MB / 0.562 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007225/0.3586, allocations: 55.98 kB / 0.5621 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.524e-05/0.3587, allocations: 67.98 kB / 0.5621 GB, free: 12.04 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.0007148/0.3594, allocations: 469.1 kB / 0.5626 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.3595, allocations: 90.88 kB / 0.5626 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002101/0.3616, allocations: 1.384 MB / 0.564 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.3617, allocations: 7.984 kB / 0.564 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3617, allocations: 0 / 0.564 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003979/0.3621, allocations: 223.9 kB / 0.5642 GB, free: 9.773 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.3622, allocations: 27.83 kB / 0.5642 GB, free: 9.746 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003583/0.3626, allocations: 27.98 kB / 0.5643 GB, free: 9.719 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.485e-05/0.3627, allocations: 52.91 kB / 0.5643 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002358/0.365, allocations: 1.296 MB / 0.5656 GB, free: 8.355 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001933/0.367, allocations: 1.656 MB / 0.5672 GB, free: 6.672 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005246/0.3675, allocations: 431.7 kB / 0.5676 GB, free: 6.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005549/0.3681, allocations: 0.4912 MB / 0.5681 GB, free: 5.766 MB / 430.1 MB Notification: Performance of Backend: time 3.9e-07/0.3681, allocations: 0 / 0.5681 GB, free: 5.766 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002951/0.371, allocations: 1.471 MB / 0.5695 GB, free: 4.258 MB / 430.1 MB Notification: Performance of SimCode: time 0.0039/0.3749, allocations: 2.981 MB / 0.5724 GB, free: 1.227 MB / 430.1 MB Notification: Performance of Templates: time 0.02428/0.3992, allocations: 15.1 MB / 0.5872 GB, free: 2.207 MB / 446.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