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/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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 108.7 kB / 17.74 MB, free: 5.336 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.001799/0.001799, allocations: 190.9 kB / 18.68 MB, free: 4.41 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.292/1.292, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1715/0.1715, allocations: 38.04 MB / 330.6 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 59.91 kB / 458.8 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2801, allocations: 58.04 MB / 0.5048 GB, free: 7.754 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.005202/0.2853, allocations: 4.706 MB / 0.5094 GB, free: 4.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.2873, allocations: 1.341 MB / 0.5107 GB, free: 3.547 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003614/0.2877, allocations: 13.31 kB / 0.5107 GB, free: 3.543 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00119/0.2889, allocations: 409.3 kB / 0.5111 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006642/0.2896, allocations: 246.7 kB / 0.5113 GB, free: 3.152 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005541/0.2901, allocations: 180.7 kB / 0.5115 GB, free: 3.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006025/0.2907, allocations: 0.5485 MB / 0.512 GB, free: 2.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004819/0.2912, allocations: 347.2 kB / 0.5124 GB, free: 2.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003112/0.2916, allocations: 261.8 kB / 0.5126 GB, free: 2.562 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003795/0.292, allocations: 272 kB / 0.5129 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.615e-05/0.292, allocations: 31.41 kB / 0.5129 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002676/0.2923, allocations: 128.6 kB / 0.513 GB, free: 2.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001817/0.2925, allocations: 182.3 kB / 0.5132 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.2927, allocations: 226.8 kB / 0.5134 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005564/0.2933, allocations: 0.5236 MB / 0.5139 GB, free: 2.023 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2933, allocations: 0 / 0.5139 GB, free: 2.023 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2933, allocations: 4 kB / 0.5139 GB, free: 2.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.2933, allocations: 0 / 0.5139 GB, free: 2.02 MB / 382.1 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.001021/0.2943, allocations: 0.72 MB / 0.5146 GB, free: 1.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.2944, allocations: 9.5 kB / 0.5146 GB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006902/0.2951, allocations: 84.03 kB / 0.5147 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006488/0.2957, allocations: 421.9 kB / 0.5151 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.2957, allocations: 23.56 kB / 0.5151 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.2959, allocations: 58.81 kB / 0.5152 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006547/0.2965, allocations: 478.4 kB / 0.5157 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.2966, allocations: 5.25 kB / 0.5157 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.99e-05/0.2966, allocations: 12.56 kB / 0.5157 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001149/0.2967, allocations: 26.94 kB / 0.5157 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005892/0.2973, allocations: 353.2 kB / 0.516 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002307/0.2997, allocations: 1.61 MB / 0.5176 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004096/0.3001, allocations: 175.5 kB / 0.5178 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.3003, allocations: 111.6 kB / 0.5179 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.3003, allocations: 6.719 kB / 0.5179 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.3004, allocations: 36.8 kB / 0.5179 GB, free: 15.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 3.036e-06/0.3004, allocations: 3.984 kB / 0.5179 GB, free: 15.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001389/0.3018, allocations: 0.7786 MB / 0.5187 GB, free: 14.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.3018, allocations: 79.27 kB / 0.5188 GB, free: 14.81 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.3021, allocations: 312.1 kB / 0.5191 GB, free: 14.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.3022, allocations: 38.53 kB / 0.5191 GB, free: 14.6 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.3024, allocations: 253.6 kB / 0.5193 GB, free: 14.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.538e-05/0.3025, allocations: 67.09 kB / 0.5194 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.3026, allocations: 60.34 kB / 0.5195 GB, free: 14.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3028, allocations: 344.2 kB / 0.5198 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.3029, allocations: 99.69 kB / 0.5199 GB, free: 13.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.3032, allocations: 201.4 kB / 0.5201 GB, free: 13.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004285/0.3036, allocations: 330.1 kB / 0.5204 GB, free: 13.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3036, allocations: 1.344 kB / 0.5204 GB, free: 13.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008289/0.3045, allocations: 429.5 kB / 0.5208 GB, free: 13.37 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3045, allocations: 11.81 kB / 0.5208 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005318/0.305, allocations: 269.8 kB / 0.5211 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003339/0.3054, allocations: 76.8 kB / 0.5211 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.3056, allocations: 69.27 kB / 0.5212 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/0.3073, allocations: 1.705 MB / 0.5229 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.3075, allocations: 20.19 kB / 0.5229 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.3075, allocations: 11.78 kB / 0.5229 GB, free: 11.71 MB / 398.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002037/0.3077, allocations: 191.3 kB / 0.5231 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.759e-05/0.3078, allocations: 29.91 kB / 0.5231 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004249/0.3082, allocations: 269.9 kB / 0.5234 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3082, allocations: 4.406 kB / 0.5234 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3083, allocations: 144 / 0.5234 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.916e-05/0.3083, allocations: 105.6 kB / 0.5235 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/0.3084, allocations: 14.22 kB / 0.5235 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.3086, allocations: 6.094 kB / 0.5235 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.3086, allocations: 17.78 kB / 0.5235 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000687/0.3093, allocations: 436.7 kB / 0.5239 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005991/0.3099, allocations: 0.6043 MB / 0.5245 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001546/0.3101, allocations: 105.4 kB / 0.5246 GB, free: 10.58 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002062/0.3103, allocations: 215 kB / 0.5248 GB, free: 10.46 MB / 398.1 MB Notification: Performance of Backend: time 5.71e-07/0.3103, allocations: 1.375 kB / 0.5248 GB, free: 10.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.3114, allocations: 440.9 kB / 0.5252 GB, free: 10.21 MB / 398.1 MB Notification: Performance of SimCode: time 0.001572/0.313, allocations: 1.331 MB / 0.5265 GB, free: 9.215 MB / 398.1 MB Notification: Performance of Templates: time 0.008957/0.3219, allocations: 4.54 MB / 0.531 GB, free: 8.102 MB / 398.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches