Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") [: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.001254/0.001254, allocations: 183.7 kB / 8.138 MB, free: 2.184 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.393/1.393, allocations: 205.2 MB / 213.7 MB, free: 13.85 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.0008845/0.0008845, allocations: 87.27 kB / 261.7 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1954/0.1954, allocations: 37.96 MB / 347.7 MB, free: 7.465 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.534e-06/7.574e-06, allocations: 4 kB / 410 MB, free: 46.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1027, allocations: 56.32 MB / 466.3 MB, free: 6.457 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3019/0.4047, allocations: 95.08 MB / 0.5482 GB, free: 15.47 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/0.4051, allocations: 91.94 kB / 0.5483 GB, free: 15.38 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03591/0.441, allocations: 12.47 MB / 0.5605 GB, free: 2.762 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.262e-05/0.4411, allocations: 8 kB / 0.5605 GB, free: 2.754 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0009951/0.4421, allocations: 0.6406 MB / 0.5611 GB, free: 2.066 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.4421, allocations: 8.031 kB / 0.5612 GB, free: 2.059 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006638/0.4428, allocations: 99.36 kB / 0.5613 GB, free: 1.961 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002089/0.4449, allocations: 0.8687 MB / 0.5621 GB, free: 1.051 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.4449, allocations: 8 kB / 0.5621 GB, free: 1.043 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.247e-05/0.445, allocations: 20 kB / 0.5621 GB, free: 1.023 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004724/0.4455, allocations: 277.5 kB / 0.5624 GB, free: 0.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006054/0.4461, allocations: 420.5 kB / 0.5628 GB, free: 324 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.4461, allocations: 3.906 kB / 0.5628 GB, free: 320 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.375e-05/0.4462, allocations: 3.984 kB / 0.5628 GB, free: 316 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.554e-05/0.4462, allocations: 24.78 kB / 0.5628 GB, free: 292 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002125/0.4483, allocations: 1.564 MB / 0.5643 GB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.4486, allocations: 124.3 kB / 0.5645 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.4487, allocations: 106.5 kB / 0.5646 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.4488, allocations: 3.938 kB / 0.5646 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.4488, allocations: 46.55 kB / 0.5646 GB, free: 14.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.973e-06/0.4488, allocations: 0 / 0.5646 GB, free: 14.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001076/0.4499, allocations: 0.6733 MB / 0.5653 GB, free: 13.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.4499, allocations: 81.11 kB / 0.5654 GB, free: 13.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.4502, allocations: 243.5 kB / 0.5656 GB, free: 13.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.4502, allocations: 29.69 kB / 0.5656 GB, free: 13.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.4504, allocations: 223.3 kB / 0.5658 GB, free: 13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.3e-05/0.4504, allocations: 82.97 kB / 0.5659 GB, free: 12.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.475e-05/0.4504, allocations: 0 / 0.5659 GB, free: 12.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.4506, allocations: 342.7 kB / 0.5662 GB, free: 12.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.4507, allocations: 87.97 kB / 0.5663 GB, free: 12.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.4509, allocations: 189.1 kB / 0.5665 GB, free: 12.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.4511, allocations: 137.5 kB / 0.5666 GB, free: 12.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.4511, allocations: 0 / 0.5666 GB, free: 12.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007259/0.4518, allocations: 404.9 kB / 0.567 GB, free: 11.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.4519, allocations: 4 kB / 0.567 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004587/0.4523, allocations: 248.6 kB / 0.5673 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003357/0.4527, allocations: 76.91 kB / 0.5673 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.4529, allocations: 67.91 kB / 0.5674 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/0.4544, allocations: 1.51 MB / 0.5689 GB, free: 9.703 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.4546, allocations: 4 kB / 0.5689 GB, free: 9.699 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.4546, allocations: 16 kB / 0.5689 GB, free: 9.684 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.507e-05/0.4547, allocations: 108.8 kB / 0.569 GB, free: 9.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.4548, allocations: 35.66 kB / 0.569 GB, free: 9.535 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004154/0.4552, allocations: 254.4 kB / 0.5693 GB, free: 9.285 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.4552, allocations: 0 / 0.5693 GB, free: 9.285 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4552, allocations: 4 kB / 0.5693 GB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.4552, allocations: 0 / 0.5693 GB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.4563, allocations: 0.7056 MB / 0.57 GB, free: 8.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.4563, allocations: 3.938 kB / 0.57 GB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002896/0.4566, allocations: 47.97 kB / 0.57 GB, free: 8.469 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4566, allocations: 0 / 0.57 GB, free: 8.469 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.4566, allocations: 7.906 kB / 0.57 GB, free: 8.461 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.4566, allocations: 7.938 kB / 0.57 GB, free: 8.453 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.4566, allocations: 3.938 kB / 0.57 GB, free: 8.449 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005058/0.4572, allocations: 0.4998 MB / 0.5705 GB, free: 7.887 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.229e-05/0.4572, allocations: 108.7 kB / 0.5706 GB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.97e-05/0.4573, allocations: 7.906 kB / 0.5706 GB, free: 7.754 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.4575, allocations: 7.984 kB / 0.5706 GB, free: 7.746 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.4575, allocations: 7.984 kB / 0.5706 GB, free: 7.738 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.4575, allocations: 12 kB / 0.5707 GB, free: 7.727 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001677/0.4577, allocations: 191 kB / 0.5708 GB, free: 7.539 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004102/0.4581, allocations: 91.98 kB / 0.5709 GB, free: 7.449 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001736/0.4583, allocations: 107.2 kB / 0.571 GB, free: 7.332 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005495/0.4589, allocations: 345.9 kB / 0.5714 GB, free: 6.984 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4589, allocations: 0 / 0.5714 GB, free: 6.984 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.459, allocations: 103.8 kB / 0.5715 GB, free: 6.883 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.4594, allocations: 61.91 kB / 0.5715 GB, free: 6.824 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.4607, allocations: 0.7195 MB / 0.5722 GB, free: 6.059 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005546/0.4613, allocations: 0.8796 MB / 0.5731 GB, free: 5.148 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4613, allocations: 0 / 0.5731 GB, free: 5.148 MB / 410.7 MB Notification: Performance of Templates: time 0.007211/0.4685, allocations: 3.35 MB / 0.5763 GB, free: 1.809 MB / 410.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches