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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 181.6 kB / 8.136 MB, free: 2.18 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.293/1.293, allocations: 205.2 MB / 213.7 MB, free: 13.83 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.0008445/0.0008445, allocations: 82.3 kB / 261.7 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1652/0.1652, allocations: 37.96 MB / 347.7 MB, free: 7.445 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.857e-06/8.967e-06, allocations: 0 / 410 MB, free: 46.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1032, allocations: 56.31 MB / 466.3 MB, free: 6.445 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2953/0.3985, allocations: 109.2 MB / 0.562 GB, free: 1.328 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.3988, allocations: 87.95 kB / 0.5621 GB, free: 1.242 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.1136/0.5124, allocations: 40.4 MB / 0.6015 GB, free: 8.359 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.579e-05/0.5125, allocations: 35.98 kB / 0.6016 GB, free: 8.324 MB / 442.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.00258/0.5151, allocations: 1.326 MB / 0.6029 GB, free: 6.945 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.5152, allocations: 11.97 kB / 0.6029 GB, free: 6.934 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002261/0.5174, allocations: 349.8 kB / 0.6032 GB, free: 6.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004794/0.5223, allocations: 1.814 MB / 0.605 GB, free: 4.727 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.814e-05/0.5223, allocations: 43.98 kB / 0.605 GB, free: 4.684 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/0.5225, allocations: 75.91 kB / 0.6051 GB, free: 4.609 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002271/0.5248, allocations: 1.423 MB / 0.6065 GB, free: 3.184 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002601/0.5274, allocations: 1.864 MB / 0.6083 GB, free: 1.164 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.448e-05/0.5275, allocations: 7.938 kB / 0.6083 GB, free: 1.156 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.5276, allocations: 7.906 kB / 0.6083 GB, free: 1.148 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002951/0.5279, allocations: 178.4 kB / 0.6085 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01079/0.5387, allocations: 8.921 MB / 0.6172 GB, free: 7.605 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007724/0.5395, allocations: 0.5926 MB / 0.6178 GB, free: 6.996 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006446/0.5402, allocations: 0.4925 MB / 0.6183 GB, free: 6.5 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.521e-05/0.5403, allocations: 12.77 kB / 0.6183 GB, free: 6.488 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.5403, allocations: 47.33 kB / 0.6183 GB, free: 6.434 MB / 458.7 MB Notification: Performance of pre-optimization done (n=93): time 3.516e-06/0.5403, allocations: 0 / 0.6183 GB, free: 6.434 MB / 458.7 MB Notification: Performance of matching and sorting (n=97): time 0.004853/0.5452, allocations: 2.983 MB / 0.6212 GB, free: 3.336 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.5452, allocations: 85.89 kB / 0.6213 GB, free: 3.234 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000858/0.5461, allocations: 0.5815 MB / 0.6219 GB, free: 2.645 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.492e-05/0.5462, allocations: 25.7 kB / 0.6219 GB, free: 2.613 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003919/0.5465, allocations: 0.5986 MB / 0.6225 GB, free: 2.004 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002785/0.5468, allocations: 331.2 kB / 0.6228 GB, free: 1.676 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.5469, allocations: 0 / 0.6228 GB, free: 1.676 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002415/0.5471, allocations: 410.6 kB / 0.6232 GB, free: 1.266 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007052/0.5479, allocations: 487.2 kB / 0.6237 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.5489, allocations: 0.9967 MB / 0.6246 GB, free: 15.57 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.55, allocations: 0.6974 MB / 0.6253 GB, free: 14.87 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.5501, allocations: 4 kB / 0.6253 GB, free: 14.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003458/0.5535, allocations: 1.901 MB / 0.6272 GB, free: 12.95 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.5536, allocations: 12.09 kB / 0.6272 GB, free: 12.94 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002418/0.556, allocations: 1.315 MB / 0.6285 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001417/0.5574, allocations: 441.2 kB / 0.6289 GB, free: 11.17 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000903/0.5583, allocations: 251.5 kB / 0.6291 GB, free: 10.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006011/0.5644, allocations: 4.955 MB / 0.634 GB, free: 5.742 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.5654, allocations: 36.08 kB / 0.634 GB, free: 5.707 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/0.5656, allocations: 71.89 kB / 0.6341 GB, free: 5.637 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 131 * Array equations: 3 * 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.0002635/0.5659, allocations: 140.5 kB / 0.6342 GB, free: 5.492 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.566, allocations: 94.88 kB / 0.6343 GB, free: 5.398 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00266/0.5687, allocations: 1.547 MB / 0.6358 GB, free: 3.777 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.981e-05/0.5687, allocations: 12 kB / 0.6358 GB, free: 3.766 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.5687, allocations: 4 kB / 0.6358 GB, free: 3.762 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.5688, allocations: 3.984 kB / 0.6358 GB, free: 3.758 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004423/0.5732, allocations: 2.797 MB / 0.6386 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.361e-06/0.5732, allocations: 352 / 0.6386 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006696/0.5739, allocations: 143.8 kB / 0.6387 GB, free: 0.6367 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005644/0.5745, allocations: 178.4 kB / 0.6389 GB, free: 464 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.834e-05/0.5745, allocations: 19.98 kB / 0.6389 GB, free: 444 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2203/0.7948, allocations: 4.386 MB / 0.6432 GB, free: 108.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.7949, allocations: 6.484 kB / 0.6432 GB, free: 108.3 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002701/0.7976, allocations: 2.295 MB / 0.6454 GB, free: 107.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004246/0.798, allocations: 249.5 kB / 0.6457 GB, free: 107.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.7982, allocations: 14.81 kB / 0.6457 GB, free: 107.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004908/0.7987, allocations: 23.06 kB / 0.6457 GB, free: 107.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.692e-05/0.7988, allocations: 55.39 kB / 0.6458 GB, free: 107.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-05/0.7988, allocations: 25.47 kB / 0.6458 GB, free: 107.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.000488/0.7993, allocations: 426.8 kB / 0.6462 GB, free: 107.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001219/0.8006, allocations: 315.1 kB / 0.6465 GB, free: 107.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 72 * Array equations: 3 * 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.0002858/0.8009, allocations: 166.3 kB / 0.6466 GB, free: 107.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002179/0.803, allocations: 1.513 MB / 0.6481 GB, free: 107.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.8031, allocations: 0 / 0.6481 GB, free: 107.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001198/0.8043, allocations: 0.8707 MB / 0.649 GB, free: 106.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006933/0.805, allocations: 134.5 kB / 0.6491 GB, free: 106.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004334/0.8093, allocations: 2.416 MB / 0.6515 GB, free: 106.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009946/0.8104, allocations: 1.405 MB / 0.6528 GB, free: 105.5 MB / 474.7 MB Notification: Performance of SimCode: time 7.11e-07/0.8104, allocations: 0.8438 kB / 0.6528 GB, free: 105.5 MB / 474.7 MB Notification: Performance of Templates: time 0.02022/0.8306, allocations: 13.06 MB / 0.6656 GB, free: 104.8 MB / 474.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/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