Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.ImpedanceYD,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.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,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.ImpedanceYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.00142, allocations: 112.4 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.001631/0.001631, allocations: 200 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.46/1.46, 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.1761/0.1761, allocations: 38.05 MB / 329.9 MB, free: 8.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 67.89 kB / 458.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4418/0.4433, allocations: 58.05 MB / 0.5041 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.005638/0.449, allocations: 4.565 MB / 0.5086 GB, free: 4.688 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002765/0.4518, allocations: 1.556 MB / 0.5101 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003381/0.4521, allocations: 17.03 kB / 0.5101 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009853/0.4531, allocations: 286.2 kB / 0.5104 GB, free: 3.426 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007832/0.4539, allocations: 273.2 kB / 0.5106 GB, free: 3.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009046/0.4548, allocations: 254.7 kB / 0.5109 GB, free: 3.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008119/0.4557, allocations: 0.6093 MB / 0.5115 GB, free: 2.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000494/0.4562, allocations: 264.5 kB / 0.5117 GB, free: 2.785 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000443/0.4566, allocations: 266.5 kB / 0.512 GB, free: 2.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000556/0.4572, allocations: 336.6 kB / 0.5123 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.625e-05/0.4573, allocations: 34.34 kB / 0.5123 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003531/0.4576, allocations: 136.2 kB / 0.5125 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000296/0.4579, allocations: 225 kB / 0.5127 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003056/0.4582, allocations: 246 kB / 0.5129 GB, free: 2.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008406/0.4591, allocations: 0.5975 MB / 0.5135 GB, free: 2.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4591, allocations: 0.6094 kB / 0.5135 GB, free: 2.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4591, allocations: 0 / 0.5135 GB, free: 2.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.4591, allocations: 5.531 kB / 0.5135 GB, free: 2.066 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001406/0.4605, allocations: 0.7668 MB / 0.5142 GB, free: 1.477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.4606, allocations: 12.92 kB / 0.5143 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006291/0.4612, allocations: 90.86 kB / 0.5143 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006198/0.4619, allocations: 423 kB / 0.5147 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/0.4619, allocations: 25.44 kB / 0.5148 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.4621, allocations: 63.02 kB / 0.5148 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.4632, allocations: 0.6619 MB / 0.5155 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.4632, allocations: 2.75 kB / 0.5155 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.982e-05/0.4633, allocations: 13.67 kB / 0.5155 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001571/0.4634, allocations: 50.89 kB / 0.5155 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.4644, allocations: 498.2 kB / 0.516 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003822/0.4683, allocations: 3.149 MB / 0.5191 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005095/0.4688, allocations: 239 kB / 0.5193 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.469, allocations: 119.7 kB / 0.5194 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.913e-05/0.4691, allocations: 11.97 kB / 0.5194 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.4691, allocations: 37.62 kB / 0.5195 GB, free: 13.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.943e-06/0.4691, allocations: 3.938 kB / 0.5195 GB, free: 13.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001674/0.4708, allocations: 0.8938 MB / 0.5204 GB, free: 13.29 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.266e-05/0.4709, allocations: 79.3 kB / 0.5204 GB, free: 13.2 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004397/0.4713, allocations: 331.3 kB / 0.5207 GB, free: 13.03 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.4714, allocations: 30.77 kB / 0.5208 GB, free: 12.99 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.4716, allocations: 293.6 kB / 0.5211 GB, free: 12.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.113e-05/0.4717, allocations: 93.08 kB / 0.5211 GB, free: 12.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.4719, allocations: 86.67 kB / 0.5212 GB, free: 12.63 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.472, allocations: 347.1 kB / 0.5216 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/0.4723, allocations: 133.1 kB / 0.5217 GB, free: 12.26 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003739/0.4727, allocations: 323.6 kB / 0.522 GB, free: 11.97 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006389/0.4733, allocations: 493.5 kB / 0.5225 GB, free: 11.6 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4734, allocations: 6.469 kB / 0.5225 GB, free: 11.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001145/0.4745, allocations: 0.5927 MB / 0.523 GB, free: 11.35 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.4745, allocations: 8.859 kB / 0.5231 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006604/0.4752, allocations: 332.4 kB / 0.5234 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004668/0.4757, allocations: 123.7 kB / 0.5235 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003312/0.476, allocations: 93.59 kB / 0.5236 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003021/0.4791, allocations: 3.281 MB / 0.5268 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003378/0.4794, allocations: 19.42 kB / 0.5268 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.4795, allocations: 19.7 kB / 0.5268 GB, free: 8.156 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * 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.0003486/0.4798, allocations: 215.2 kB / 0.527 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.962e-05/0.4799, allocations: 31.64 kB / 0.5271 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006284/0.4805, allocations: 317.1 kB / 0.5274 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.4806, allocations: 3.578 kB / 0.5274 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.4806, allocations: 3.938 kB / 0.5274 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.4806, allocations: 2.703 kB / 0.5274 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/0.482, allocations: 0.8042 MB / 0.5282 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.482, allocations: 1.375 kB / 0.5282 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003352/0.4824, allocations: 58.52 kB / 0.5282 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.4824, allocations: 5.281 kB / 0.5282 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.4824, allocations: 9.719 kB / 0.5282 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.4824, allocations: 1.344 kB / 0.5282 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4824, allocations: 1.594 kB / 0.5282 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007558/0.4832, allocations: 0.5084 MB / 0.5287 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.4834, allocations: 129.8 kB / 0.5288 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/0.4834, allocations: 8.203 kB / 0.5289 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.4836, allocations: 11.33 kB / 0.5289 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.4837, allocations: 17.39 kB / 0.5289 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/0.4837, allocations: 7.172 kB / 0.5289 GB, free: 6.898 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003249/0.484, allocations: 226.5 kB / 0.5291 GB, free: 6.777 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.484, allocations: 0 / 0.5291 GB, free: 6.777 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006797/0.4847, allocations: 102.8 kB / 0.5292 GB, free: 6.762 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.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 (27): * Single equations (assignments): 26 * Array equations: 0 * 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.0001568/0.4849, allocations: 112.7 kB / 0.5293 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.4861, allocations: 0.5774 MB / 0.5299 GB, free: 6.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4861, allocations: 1.312 kB / 0.5299 GB, free: 6.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.4863, allocations: 128.3 kB / 0.53 GB, free: 6.281 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005634/0.4869, allocations: 74.28 kB / 0.5301 GB, free: 6.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.4892, allocations: 0.9942 MB / 0.531 GB, free: 5.656 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006855/0.4899, allocations: 0.8713 MB / 0.5319 GB, free: 4.938 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003604/0.4903, allocations: 115.2 kB / 0.532 GB, free: 4.922 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.4904, allocations: 28.62 kB / 0.532 GB, free: 4.914 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4904, allocations: 0 / 0.532 GB, free: 4.914 MB / 398.1 MB Notification: Performance of Templates: time 0.01211/0.5025, allocations: 3.888 MB / 0.5358 GB, free: 3.473 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches