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.001439/0.001439, allocations: 115 kB / 17.06 MB, free: 6 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.001478/0.001478, allocations: 196 kB / 18 MB, free: 5.078 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.429/1.429, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1843/0.1843, allocations: 38.04 MB / 329.9 MB, free: 8.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 59.91 kB / 458.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4053, allocations: 58.06 MB / 0.5041 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.007049/0.4124, allocations: 4.412 MB / 0.5084 GB, free: 4.633 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002646/0.4151, allocations: 1.512 MB / 0.5099 GB, free: 3.582 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002786/0.4154, allocations: 12.28 kB / 0.5099 GB, free: 3.578 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009407/0.4164, allocations: 288.4 kB / 0.5102 GB, free: 3.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007133/0.4171, allocations: 283.4 kB / 0.5104 GB, free: 3.246 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007882/0.4179, allocations: 250 kB / 0.5107 GB, free: 3.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006805/0.4186, allocations: 0.6076 MB / 0.5113 GB, free: 2.879 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004136/0.419, allocations: 225.9 kB / 0.5115 GB, free: 2.793 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003942/0.4194, allocations: 273.7 kB / 0.5118 GB, free: 2.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000631/0.42, allocations: 372.7 kB / 0.5121 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.073e-05/0.4201, allocations: 40.03 kB / 0.5122 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005819/0.4207, allocations: 226.5 kB / 0.5124 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003554/0.4211, allocations: 232 kB / 0.5126 GB, free: 2.406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003361/0.4214, allocations: 250.9 kB / 0.5128 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.4226, allocations: 0.6638 MB / 0.5135 GB, free: 2.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4226, allocations: 0 / 0.5135 GB, free: 2.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.4226, allocations: 0 / 0.5135 GB, free: 2.027 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.4226, allocations: 1.469 kB / 0.5135 GB, free: 2.027 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.001723/0.4243, allocations: 0.7812 MB / 0.5142 GB, free: 1.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.476e-05/0.4244, allocations: 12.45 kB / 0.5143 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007506/0.4252, allocations: 91.12 kB / 0.5143 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006943/0.4259, allocations: 421.6 kB / 0.5147 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.4259, allocations: 29.67 kB / 0.5148 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.4261, allocations: 51.53 kB / 0.5148 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.4271, allocations: 0.6951 MB / 0.5155 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.4271, allocations: 1.094 kB / 0.5155 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.007e-05/0.4272, allocations: 20.17 kB / 0.5155 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00024/0.4274, allocations: 66.7 kB / 0.5156 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.4288, allocations: 0.6703 MB / 0.5162 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003913/0.4327, allocations: 2.647 MB / 0.5188 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006169/0.4334, allocations: 316.2 kB / 0.5191 GB, free: 14.6 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003256/0.4337, allocations: 212.9 kB / 0.5193 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.4338, allocations: 8.922 kB / 0.5193 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.4338, allocations: 33 kB / 0.5194 GB, free: 14.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 2.765e-06/0.4338, allocations: 0 / 0.5194 GB, free: 14.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002386/0.4362, allocations: 1.294 MB / 0.5206 GB, free: 13.78 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/0.4363, allocations: 85.58 kB / 0.5207 GB, free: 13.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003519/0.4366, allocations: 293.6 kB / 0.521 GB, free: 13.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/0.4367, allocations: 30.77 kB / 0.521 GB, free: 13.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.4369, allocations: 253.3 kB / 0.5213 GB, free: 13.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.437, allocations: 132.6 kB / 0.5214 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.4371, allocations: 86.64 kB / 0.5215 GB, free: 13.12 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.4373, allocations: 351.6 kB / 0.5218 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003216/0.4376, allocations: 194.1 kB / 0.522 GB, free: 12.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00043/0.4381, allocations: 324.3 kB / 0.5223 GB, free: 12.51 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007372/0.4388, allocations: 0.5571 MB / 0.5228 GB, free: 12.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.4388, allocations: 6.25 kB / 0.5229 GB, free: 12.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001339/0.4402, allocations: 0.6809 MB / 0.5235 GB, free: 11.9 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.4402, allocations: 8.266 kB / 0.5235 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008962/0.4411, allocations: 497.1 kB / 0.524 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004516/0.4416, allocations: 117.4 kB / 0.5241 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.4419, allocations: 79.05 kB / 0.5242 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002829/0.4447, allocations: 3.251 MB / 0.5274 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/0.445, allocations: 32.3 kB / 0.5274 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-05/0.4451, allocations: 22.88 kB / 0.5274 GB, free: 8.668 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.0003018/0.4454, allocations: 212.5 kB / 0.5276 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.4455, allocations: 36.59 kB / 0.5277 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000775/0.4463, allocations: 467 kB / 0.5281 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-05/0.4463, allocations: 10.91 kB / 0.5281 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.4463, allocations: 2 kB / 0.5281 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.4463, allocations: 4.875 kB / 0.5281 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/0.4479, allocations: 1.018 MB / 0.5291 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4479, allocations: 1.125 kB / 0.5291 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003404/0.4482, allocations: 65.58 kB / 0.5292 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.4483, allocations: 6.344 kB / 0.5292 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.4483, allocations: 13.39 kB / 0.5292 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.4483, allocations: 2.016 kB / 0.5292 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4483, allocations: 1.438 kB / 0.5292 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009115/0.4492, allocations: 0.7436 MB / 0.5299 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/0.4494, allocations: 138.1 kB / 0.5301 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.8e-05/0.4495, allocations: 16.05 kB / 0.5301 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.4497, allocations: 17.97 kB / 0.5301 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.4497, allocations: 15.81 kB / 0.5301 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.4498, allocations: 17.14 kB / 0.5301 GB, free: 7.215 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002079/0.45, allocations: 202.9 kB / 0.5303 GB, free: 7.105 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.45, allocations: 3.938 kB / 0.5303 GB, free: 7.102 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005194/0.4505, allocations: 110.1 kB / 0.5304 GB, free: 7.09 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[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 (30): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002228/0.4507, allocations: 141.6 kB / 0.5306 GB, free: 6.984 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.4518, allocations: 0.7077 MB / 0.5312 GB, free: 6.605 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/0.4519, allocations: 3.938 kB / 0.5312 GB, free: 6.602 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000293/0.4522, allocations: 205.8 kB / 0.5314 GB, free: 6.539 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005205/0.4527, allocations: 81.23 kB / 0.5315 GB, free: 6.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.4546, allocations: 1.102 MB / 0.5326 GB, free: 5.879 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005597/0.4552, allocations: 0.8752 MB / 0.5335 GB, free: 5.16 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003073/0.4555, allocations: 107.6 kB / 0.5336 GB, free: 5.148 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.093e-05/0.4556, allocations: 28.62 kB / 0.5336 GB, free: 5.141 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4556, allocations: 0 / 0.5336 GB, free: 5.141 MB / 398.1 MB Notification: Performance of Templates: time 0.009848/0.4654, allocations: 4.366 MB / 0.5378 GB, free: 3.168 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Source.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches