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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001623/0.001623, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 205.1 MB / 223.1 MB, free: 8.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001011/0.00101, allocations: 115.2 kB / 270.5 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1755/0.1755, allocations: 38.01 MB / 355.8 MB, free: 2.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 51.92 kB / 421.9 MB, free: 37.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2883, allocations: 55.24 MB / 477.1 MB, free: 9.91 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.01012/0.2984, allocations: 9.598 MB / 486.7 MB, free: 3.062 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007085/0.3056, allocations: 3.51 MB / 490.2 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001655/0.3072, allocations: 60.69 kB / 490.3 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002225/0.3095, allocations: 0.8295 MB / 491.1 MB, free: 84 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002475/0.312, allocations: 0.8565 MB / 492 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.3138, allocations: 0.5786 MB / 492.5 MB, free: 15.37 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004975/0.3188, allocations: 3.339 MB / 495.9 MB, free: 14.41 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.3202, allocations: 0.6447 MB / 496.5 MB, free: 14.15 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001983/0.3222, allocations: 0.698 MB / 497.2 MB, free: 13.87 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002621/0.3249, allocations: 1.188 MB / 498.4 MB, free: 13.26 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005437/0.3254, allocations: 71.31 kB / 498.5 MB, free: 13.26 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002248/0.3277, allocations: 0.5335 MB / 499 MB, free: 13 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001312/0.329, allocations: 0.7511 MB / 499.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001097/0.3301, allocations: 0.7063 MB / 0.4887 GB, free: 12.1 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002735/0.3329, allocations: 1.938 MB / 0.4906 GB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3329, allocations: 0 / 0.4906 GB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3329, allocations: 1 kB / 0.4906 GB, free: 10.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.736e-05/0.3329, allocations: 4 kB / 0.4906 GB, free: 10.82 MB / 330.7 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.00389/0.3368, allocations: 1.67 MB / 0.4923 GB, free: 9.586 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.3369, allocations: 10.19 kB / 0.4923 GB, free: 9.586 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/0.3386, allocations: 281.2 kB / 0.4925 GB, free: 9.449 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002028/0.3407, allocations: 0.8582 MB / 0.4934 GB, free: 8.816 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.276e-05/0.3408, allocations: 92.64 kB / 0.4935 GB, free: 8.773 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003654/0.3412, allocations: 153.9 kB / 0.4936 GB, free: 8.715 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003248/0.3444, allocations: 2.093 MB / 0.4957 GB, free: 7.328 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.018e-05/0.3445, allocations: 12.05 kB / 0.4957 GB, free: 7.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/0.3446, allocations: 53.72 kB / 0.4957 GB, free: 7.281 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004507/0.3451, allocations: 176.9 kB / 0.4959 GB, free: 7.227 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002765/0.3478, allocations: 1.676 MB / 0.4975 GB, free: 6.285 MB / 330.7 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.01118/0.359, allocations: 9.411 MB / 0.5067 GB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/0.3603, allocations: 0.8989 MB / 0.5076 GB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005804/0.3608, allocations: 443.5 kB / 0.508 GB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.016e-05/0.3609, allocations: 12.66 kB / 0.508 GB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/0.361, allocations: 51.16 kB / 0.5081 GB, free: 10.89 MB / 346.7 MB Notification: Performance of pre-optimization done (n=81): time 2.585e-06/0.361, allocations: 0 / 0.5081 GB, free: 10.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=85): time 0.004938/0.3659, allocations: 3.041 MB / 0.511 GB, free: 7.738 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/0.366, allocations: 86.11 kB / 0.5111 GB, free: 7.633 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008683/0.3669, allocations: 0.7582 MB / 0.5119 GB, free: 6.867 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/0.3669, allocations: 37.7 kB / 0.5119 GB, free: 6.824 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004279/0.3674, allocations: 0.6995 MB / 0.5126 GB, free: 6.113 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002249/0.3676, allocations: 311.8 kB / 0.5129 GB, free: 5.805 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003552/0.368, allocations: 255.2 kB / 0.5131 GB, free: 5.547 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3682, allocations: 406.7 kB / 0.5135 GB, free: 5.141 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006221/0.3688, allocations: 451.7 kB / 0.5139 GB, free: 4.699 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000997/0.3698, allocations: 1.018 MB / 0.5149 GB, free: 3.422 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001785/0.3716, allocations: 1.606 MB / 0.5165 GB, free: 1.551 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.3716, allocations: 8 kB / 0.5165 GB, free: 1.543 MB / 346.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003207/0.3748, allocations: 1.958 MB / 0.5184 GB, free: 15.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.3749, allocations: 16 kB / 0.5184 GB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002067/0.3769, allocations: 1.203 MB / 0.5196 GB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001301/0.3783, allocations: 448.2 kB / 0.52 GB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007691/0.379, allocations: 259.5 kB / 0.5203 GB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006288/0.3853, allocations: 5.407 MB / 0.5256 GB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008891/0.3862, allocations: 56.02 kB / 0.5256 GB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.992e-05/0.3864, allocations: 71.98 kB / 0.5257 GB, free: 7.855 MB / 362.7 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.0007388/0.3871, allocations: 473.1 kB / 0.5261 GB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.3872, allocations: 94.81 kB / 0.5262 GB, free: 7.289 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002101/0.3893, allocations: 1.381 MB / 0.5276 GB, free: 5.832 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-06/0.3894, allocations: 8 kB / 0.5276 GB, free: 5.824 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3894, allocations: 4 kB / 0.5276 GB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.3894, allocations: 11.91 kB / 0.5276 GB, free: 5.809 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003682/0.3931, allocations: 2.489 MB / 0.53 GB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3931, allocations: 0 / 0.53 GB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005154/0.3936, allocations: 131.8 kB / 0.5302 GB, free: 3.059 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000526/0.3942, allocations: 186.5 kB / 0.5303 GB, free: 2.867 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.948e-05/0.3942, allocations: 31.97 kB / 0.5304 GB, free: 2.836 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003483/0.3977, allocations: 4.598 MB / 0.5349 GB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.3977, allocations: 3.938 kB / 0.5349 GB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01323/0.411, allocations: 11.44 MB / 0.546 GB, free: 1.629 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004364/0.4115, allocations: 223.9 kB / 0.5463 GB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.816e-05/0.4116, allocations: 27.89 kB / 0.5463 GB, free: 1.363 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004062/0.412, allocations: 28.3 kB / 0.5463 GB, free: 1.336 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.4121, allocations: 64.5 kB / 0.5464 GB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.133e-05/0.4122, allocations: 27.97 kB / 0.5464 GB, free: 1.242 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006544/0.4129, allocations: 499 kB / 0.5469 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4129, allocations: 0 / 0.5469 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00153/0.4144, allocations: 415.9 kB / 0.5473 GB, free: 364 kB / 378.7 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.0001635/0.4146, allocations: 127.1 kB / 0.5474 GB, free: 228 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002547/0.4171, allocations: 1.529 MB / 0.5489 GB, free: 14.67 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.4172, allocations: 0 / 0.5489 GB, free: 14.67 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001299/0.4185, allocations: 0.8397 MB / 0.5497 GB, free: 13.79 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008953/0.4194, allocations: 167.6 kB / 0.5499 GB, free: 13.62 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00668/0.4261, allocations: 4.276 MB / 0.554 GB, free: 9.258 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009808/0.4271, allocations: 1.354 MB / 0.5554 GB, free: 7.871 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001026/0.4281, allocations: 372.5 kB / 0.5557 GB, free: 7.504 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.4283, allocations: 75.42 kB / 0.5558 GB, free: 7.43 MB / 394.7 MB Notification: Performance of SimCode: time 6.62e-07/0.4283, allocations: 4 kB / 0.5558 GB, free: 7.426 MB / 394.7 MB Notification: Performance of Templates: time 0.02183/0.4501, allocations: 13.62 MB / 0.5691 GB, free: 9.812 MB / 410.7 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@2/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