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.000871/0.000871, allocations: 93.42 kB / 16.3 MB, free: 5.996 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.0009638/0.0009637, allocations: 183.9 kB / 17.2 MB, free: 5.914 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.218/1.218, allocations: 223.2 MB / 241.1 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2649/0.2649, allocations: 38.06 MB / 330.3 MB, free: 14.24 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003153/0.0003154, allocations: 8 kB / 400 MB, free: 9.289 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2495, allocations: 59.16 MB / 459.1 MB, free: 30.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.006773/0.2563, allocations: 8.159 MB / 467.3 MB, free: 24.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004937/0.2613, allocations: 3.248 MB / 470.5 MB, free: 22.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008591/0.2622, allocations: 56.09 kB / 470.6 MB, free: 22.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000646/0.2629, allocations: 251.6 kB / 470.8 MB, free: 21.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002077/0.265, allocations: 0.6636 MB / 471.5 MB, free: 21.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00209/0.2671, allocations: 0.572 MB / 472.1 MB, free: 21.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001649/0.2687, allocations: 0.8737 MB / 472.9 MB, free: 20.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001431/0.2702, allocations: 1.021 MB / 474 MB, free: 20.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007901/0.271, allocations: 0.5535 MB / 474.5 MB, free: 20.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001171/0.2721, allocations: 0.7013 MB / 475.2 MB, free: 19.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.2723, allocations: 56.25 kB / 475.3 MB, free: 19.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008083/0.2731, allocations: 388.7 kB / 475.7 MB, free: 19.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006124/0.2737, allocations: 0.6671 MB / 476.3 MB, free: 19.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002419/0.274, allocations: 286.4 kB / 476.6 MB, free: 19.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.2751, allocations: 1.493 MB / 478.1 MB, free: 18.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2751, allocations: 0 / 478.1 MB, free: 18.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2751, allocations: 0 / 478.1 MB, free: 18.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.2751, allocations: 0 / 478.1 MB, free: 18.45 MB / 350.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.002197/0.2773, allocations: 1.415 MB / 479.5 MB, free: 17.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.2774, allocations: 9.844 kB / 479.5 MB, free: 17.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001557/0.2789, allocations: 301.1 kB / 479.8 MB, free: 17.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.2803, allocations: 0.8468 MB / 480.7 MB, free: 16.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.864e-05/0.2804, allocations: 99 kB / 480.8 MB, free: 16.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002884/0.2807, allocations: 149.5 kB / 480.9 MB, free: 16.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002521/0.2832, allocations: 2.06 MB / 483 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.308e-05/0.2833, allocations: 8.656 kB / 483 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/0.2834, allocations: 58.17 kB / 483 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004231/0.2838, allocations: 176.7 kB / 483.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002019/0.2859, allocations: 1.655 MB / 484.9 MB, free: 13.86 MB / 350.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.007142/0.293, allocations: 9.395 MB / 494.2 MB, free: 3.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007981/0.2938, allocations: 0.887 MB / 495.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.128e-05/0.2939, allocations: 20.69 kB / 495.2 MB, free: 2.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.2939, allocations: 47.16 kB / 495.2 MB, free: 2.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=81): time 2.375e-06/0.2939, allocations: 4 kB / 495.2 MB, free: 2.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=85): time 0.003537/0.2975, allocations: 2.998 MB / 498.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.2975, allocations: 90.14 kB / 498.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000721/0.2983, allocations: 0.7465 MB / 499 MB, free: 14.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.837e-05/0.2983, allocations: 37.7 kB / 499.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000387/0.2987, allocations: 0.7034 MB / 499.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/0.2989, allocations: 307.7 kB / 0.4884 GB, free: 13.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/0.299, allocations: 28 kB / 0.4884 GB, free: 13.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.2992, allocations: 406.7 kB / 0.4888 GB, free: 13.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005841/0.2997, allocations: 447.7 kB / 0.4892 GB, free: 13.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009028/0.3007, allocations: 1.002 MB / 0.4902 GB, free: 11.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008459/0.3015, allocations: 0.6313 MB / 0.4908 GB, free: 11.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.3015, allocations: 8 kB / 0.4908 GB, free: 11.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002942/0.3045, allocations: 1.935 MB / 0.4927 GB, free: 9.168 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.3045, allocations: 16.03 kB / 0.4927 GB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002/0.3065, allocations: 1.187 MB / 0.4939 GB, free: 7.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/0.3077, allocations: 447.1 kB / 0.4943 GB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007794/0.3085, allocations: 263.5 kB / 0.4945 GB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006456/0.315, allocations: 5.604 MB / 0.5 GB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009266/0.316, allocations: 55.97 kB / 0.5001 GB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-05/0.3161, allocations: 72 kB / 0.5001 GB, free: 1.27 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 15,(2,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009561/0.317, allocations: 467.4 kB / 0.5006 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.3172, allocations: 86.88 kB / 0.5007 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002114/0.3193, allocations: 1.376 MB / 0.502 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/0.3193, allocations: 8 kB / 0.502 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3193, allocations: 4 kB / 0.502 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.3193, allocations: 3.984 kB / 0.502 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003709/0.3231, allocations: 2.481 MB / 0.5044 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.3231, allocations: 128 / 0.5044 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005075/0.3236, allocations: 135.8 kB / 0.5046 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005015/0.3241, allocations: 190.3 kB / 0.5048 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.615e-05/0.3242, allocations: 23.98 kB / 0.5048 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003782/0.328, allocations: 4.649 MB / 0.5093 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.328, allocations: 3.953 kB / 0.5093 GB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002718/0.3307, allocations: 1.884 MB / 0.5112 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005892/0.3313, allocations: 224 kB / 0.5114 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.3314, allocations: 23.98 kB / 0.5114 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003628/0.3318, allocations: 27.97 kB / 0.5114 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.3319, allocations: 64.47 kB / 0.5115 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.826e-05/0.332, allocations: 27.98 kB / 0.5115 GB, free: 4.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006415/0.3327, allocations: 495 kB / 0.512 GB, free: 4.355 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3327, allocations: 0 / 0.512 GB, free: 4.355 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001221/0.3339, allocations: 328 kB / 0.5123 GB, free: 4.035 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001869/0.3341, allocations: 137.6 kB / 0.5124 GB, free: 3.895 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002652/0.3367, allocations: 1.52 MB / 0.5139 GB, free: 2.344 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3368, allocations: 1.875 kB / 0.5139 GB, free: 2.344 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00134/0.3381, allocations: 0.8356 MB / 0.5147 GB, free: 1.473 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007961/0.3389, allocations: 147.3 kB / 0.5149 GB, free: 1.328 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004787/0.3437, allocations: 3.341 MB / 0.5181 GB, free: 13.94 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001353/0.3451, allocations: 1.342 MB / 0.5194 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001045/0.3462, allocations: 368.5 kB / 0.5198 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.3463, allocations: 63.44 kB / 0.5199 GB, free: 12.14 MB / 398.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3463, allocations: 0 / 0.5199 GB, free: 12.14 MB / 398.1 MB Notification: Performance of Templates: time 0.01675/0.3631, allocations: 10.95 MB / 0.5306 GB, free: 1.266 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches