Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.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.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 104.8 kB / 17.74 MB, free: 5.316 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.001682/0.001682, allocations: 194.9 kB / 18.67 MB, free: 4.395 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.341/1.341, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1697/0.1697, allocations: 38.05 MB / 330.6 MB, free: 8.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 59.91 kB / 458.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2825, allocations: 58.05 MB / 0.5048 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.004685/0.2873, allocations: 4.418 MB / 0.5091 GB, free: 4.645 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.2893, allocations: 1.511 MB / 0.5106 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.2895, allocations: 16.12 kB / 0.5106 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007841/0.2903, allocations: 292 kB / 0.5108 GB, free: 3.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004967/0.2908, allocations: 286.9 kB / 0.5111 GB, free: 3.254 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005509/0.2913, allocations: 241.9 kB / 0.5114 GB, free: 3.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005622/0.2919, allocations: 0.6076 MB / 0.5119 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003438/0.2922, allocations: 225 kB / 0.5122 GB, free: 2.809 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003053/0.2926, allocations: 278 kB / 0.5124 GB, free: 2.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004617/0.293, allocations: 366 kB / 0.5128 GB, free: 2.566 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.757e-05/0.2931, allocations: 38.28 kB / 0.5128 GB, free: 2.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003924/0.2935, allocations: 223.8 kB / 0.513 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002162/0.2937, allocations: 230.3 kB / 0.5132 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002282/0.294, allocations: 255.8 kB / 0.5135 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007212/0.2947, allocations: 0.6713 MB / 0.5141 GB, free: 2.039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2947, allocations: 1.125 kB / 0.5141 GB, free: 2.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2947, allocations: 0 / 0.5141 GB, free: 2.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.2947, allocations: 0 / 0.5141 GB, free: 2.039 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001238/0.296, allocations: 0.7782 MB / 0.5149 GB, free: 1.449 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.296, allocations: 11.92 kB / 0.5149 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006016/0.2966, allocations: 94.7 kB / 0.515 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006337/0.2973, allocations: 423.5 kB / 0.5154 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.2973, allocations: 23.31 kB / 0.5154 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.2975, allocations: 52.83 kB / 0.5155 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009287/0.2984, allocations: 0.6943 MB / 0.5162 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.2984, allocations: 1.953 kB / 0.5162 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.842e-05/0.2985, allocations: 13.67 kB / 0.5162 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002095/0.2987, allocations: 73.59 kB / 0.5162 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.2998, allocations: 0.6671 MB / 0.5169 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003319/0.3031, allocations: 2.647 MB / 0.5195 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005235/0.3037, allocations: 315.5 kB / 0.5198 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002697/0.3039, allocations: 209 kB / 0.52 GB, free: 14.53 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.304, allocations: 4.047 kB / 0.52 GB, free: 14.53 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.304, allocations: 45.38 kB / 0.52 GB, free: 14.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 1.874e-06/0.304, allocations: 0 / 0.52 GB, free: 14.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.001917/0.3059, allocations: 1.29 MB / 0.5213 GB, free: 13.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.306, allocations: 80.83 kB / 0.5214 GB, free: 13.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.3063, allocations: 293.6 kB / 0.5216 GB, free: 13.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.3063, allocations: 31.8 kB / 0.5217 GB, free: 13.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.3065, allocations: 256.3 kB / 0.5219 GB, free: 13.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.3066, allocations: 133.4 kB / 0.522 GB, free: 13.19 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.3068, allocations: 86.27 kB / 0.5221 GB, free: 13.14 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3069, allocations: 347.3 kB / 0.5225 GB, free: 12.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002634/0.3072, allocations: 191.3 kB / 0.5226 GB, free: 12.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.3075, allocations: 329.4 kB / 0.523 GB, free: 12.53 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006646/0.3082, allocations: 0.5623 MB / 0.5235 GB, free: 12.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.3082, allocations: 9.469 kB / 0.5235 GB, free: 12.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001204/0.3094, allocations: 0.6817 MB / 0.5242 GB, free: 11.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.3094, allocations: 7.344 kB / 0.5242 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008669/0.3103, allocations: 492.9 kB / 0.5247 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004176/0.3107, allocations: 109.6 kB / 0.5248 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.311, allocations: 85.47 kB / 0.5248 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002774/0.3138, allocations: 3.259 MB / 0.528 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.3141, allocations: 28.53 kB / 0.5281 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.187e-05/0.3141, allocations: 19.8 kB / 0.5281 GB, free: 8.684 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * 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 {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002384/0.3144, allocations: 208.9 kB / 0.5283 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.435e-05/0.3145, allocations: 35.53 kB / 0.5283 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007154/0.3152, allocations: 462.8 kB / 0.5287 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.3152, allocations: 7.547 kB / 0.5288 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3152, allocations: 0 / 0.5288 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001793/0.3154, allocations: 145.6 kB / 0.5289 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.501e-05/0.3154, allocations: 4.141 kB / 0.5289 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.3156, allocations: 20.16 kB / 0.5289 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.3157, allocations: 19.44 kB / 0.5289 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009994/0.3167, allocations: 0.6281 MB / 0.5296 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001007/0.3177, allocations: 0.9014 MB / 0.5304 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00028/0.318, allocations: 199.8 kB / 0.5306 GB, free: 7.312 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002183/0.3183, allocations: 208.9 kB / 0.5308 GB, free: 7.199 MB / 398.1 MB Notification: Performance of Backend: time 4.41e-07/0.3183, allocations: 0 / 0.5308 GB, free: 7.199 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001531/0.3198, allocations: 0.7126 MB / 0.5315 GB, free: 6.781 MB / 398.1 MB Notification: Performance of SimCode: time 0.001802/0.3216, allocations: 1.39 MB / 0.5329 GB, free: 5.766 MB / 398.1 MB Notification: Performance of Templates: time 0.01072/0.3323, allocations: 5.761 MB / 0.5385 GB, free: 3.262 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Source.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches