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.001428/0.001428, allocations: 108.3 kB / 17.06 MB, free: 5.824 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.001508/0.001509, allocations: 191 kB / 18 MB, free: 4.977 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.397/1.397, allocations: 222.9 MB / 241.7 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.1819/0.1819, allocations: 38.04 MB / 329.9 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 67.89 kB / 458.2 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4171, allocations: 58.05 MB / 0.5041 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.00709/0.4242, allocations: 4.56 MB / 0.5086 GB, free: 4.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002714/0.4269, allocations: 1.557 MB / 0.5101 GB, free: 3.445 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000412/0.4274, allocations: 11.59 kB / 0.5101 GB, free: 3.441 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.4285, allocations: 289.7 kB / 0.5104 GB, free: 3.266 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008091/0.4293, allocations: 268.7 kB / 0.5106 GB, free: 3.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008993/0.4302, allocations: 255.7 kB / 0.5109 GB, free: 3.004 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009469/0.4312, allocations: 0.6086 MB / 0.5115 GB, free: 2.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004914/0.4317, allocations: 261.1 kB / 0.5117 GB, free: 2.629 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004962/0.4322, allocations: 274.7 kB / 0.512 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005835/0.4328, allocations: 325.2 kB / 0.5123 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.452e-05/0.4328, allocations: 33.91 kB / 0.5123 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004042/0.4333, allocations: 147.4 kB / 0.5125 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002889/0.4336, allocations: 215.9 kB / 0.5127 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003091/0.4339, allocations: 251.1 kB / 0.5129 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008361/0.4347, allocations: 0.5982 MB / 0.5135 GB, free: 1.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.4347, allocations: 3.938 kB / 0.5135 GB, free: 1.906 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.4347, allocations: 0 / 0.5135 GB, free: 1.906 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.4348, allocations: 0 / 0.5135 GB, free: 1.906 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.001271/0.436, allocations: 0.7641 MB / 0.5142 GB, free: 1.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.4361, allocations: 13.36 kB / 0.5142 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006184/0.4367, allocations: 95.14 kB / 0.5143 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007247/0.4374, allocations: 422.8 kB / 0.5147 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.4375, allocations: 28.97 kB / 0.5148 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/0.4377, allocations: 51.06 kB / 0.5148 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009827/0.4387, allocations: 0.6662 MB / 0.5155 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.4387, allocations: 6.469 kB / 0.5155 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.4387, allocations: 17.08 kB / 0.5155 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001489/0.4389, allocations: 47.5 kB / 0.5155 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000956/0.4399, allocations: 494.6 kB / 0.516 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005119/0.445, allocations: 3.141 MB / 0.5191 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005825/0.4456, allocations: 249.8 kB / 0.5193 GB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.4458, allocations: 121 kB / 0.5194 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.955e-05/0.4459, allocations: 16.45 kB / 0.5194 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.4459, allocations: 40.7 kB / 0.5195 GB, free: 13.69 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.134e-06/0.4459, allocations: 0 / 0.5195 GB, free: 13.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001786/0.4477, allocations: 0.887 MB / 0.5203 GB, free: 13.13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.4478, allocations: 88.28 kB / 0.5204 GB, free: 13.03 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000398/0.4482, allocations: 327.5 kB / 0.5207 GB, free: 12.86 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.4482, allocations: 30.73 kB / 0.5208 GB, free: 12.83 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.4484, allocations: 294 kB / 0.5211 GB, free: 12.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.151e-05/0.4485, allocations: 91.67 kB / 0.5211 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.4487, allocations: 90.72 kB / 0.5212 GB, free: 12.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.4488, allocations: 345.4 kB / 0.5216 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.449, allocations: 133.6 kB / 0.5217 GB, free: 12.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/0.4494, allocations: 322.7 kB / 0.522 GB, free: 11.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006352/0.45, allocations: 498.4 kB / 0.5225 GB, free: 11.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.45, allocations: 1.219 kB / 0.5225 GB, free: 11.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001255/0.4513, allocations: 0.5916 MB / 0.523 GB, free: 11.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.4513, allocations: 8.25 kB / 0.5231 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007103/0.4521, allocations: 328.5 kB / 0.5234 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004559/0.4525, allocations: 119.5 kB / 0.5235 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.4528, allocations: 95.25 kB / 0.5236 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00307/0.4559, allocations: 3.279 MB / 0.5268 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.4562, allocations: 19.59 kB / 0.5268 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.121e-05/0.4563, allocations: 28.95 kB / 0.5268 GB, free: 7.992 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.0003092/0.4566, allocations: 210.1 kB / 0.527 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.641e-05/0.4567, allocations: 35.27 kB / 0.5271 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005915/0.4573, allocations: 317.2 kB / 0.5274 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.4573, allocations: 3.312 kB / 0.5274 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.4573, allocations: 3.938 kB / 0.5274 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.4573, allocations: 3.062 kB / 0.5274 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.4586, allocations: 0.7964 MB / 0.5281 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4586, allocations: 1.344 kB / 0.5281 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003177/0.459, allocations: 61.61 kB / 0.5282 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.459, allocations: 11.69 kB / 0.5282 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.459, allocations: 7.469 kB / 0.5282 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.459, allocations: 2.25 kB / 0.5282 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.459, allocations: 1.906 kB / 0.5282 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007077/0.4597, allocations: 0.5034 MB / 0.5287 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.4599, allocations: 133.9 kB / 0.5288 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.031e-05/0.46, allocations: 4.312 kB / 0.5288 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.4601, allocations: 10.73 kB / 0.5289 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/0.4602, allocations: 22.28 kB / 0.5289 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.4602, allocations: 7.688 kB / 0.5289 GB, free: 6.738 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002608/0.4605, allocations: 221.7 kB / 0.5291 GB, free: 6.621 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4605, allocations: 0 / 0.5291 GB, free: 6.621 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005576/0.4611, allocations: 98.03 kB / 0.5292 GB, free: 6.609 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.0001381/0.4612, allocations: 113.7 kB / 0.5293 GB, free: 6.508 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009909/0.4622, allocations: 0.5855 MB / 0.5299 GB, free: 6.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.615e-06/0.4622, allocations: 1.156 kB / 0.5299 GB, free: 6.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.4624, allocations: 131.7 kB / 0.53 GB, free: 6.117 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.463, allocations: 69.86 kB / 0.5301 GB, free: 6.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.4646, allocations: 0.9938 MB / 0.531 GB, free: 5.496 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004789/0.4651, allocations: 0.8708 MB / 0.5319 GB, free: 4.777 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002997/0.4654, allocations: 111.5 kB / 0.532 GB, free: 4.766 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.346e-05/0.4655, allocations: 33.03 kB / 0.532 GB, free: 4.754 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4655, allocations: 0 / 0.532 GB, free: 4.754 MB / 398.1 MB Notification: Performance of Templates: time 0.009354/0.4749, allocations: 3.895 MB / 0.5358 GB, free: 3.391 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