Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 107.9 kB / 17.06 MB, free: 6.004 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.001114/0.001114, allocations: 189.4 kB / 18 MB, free: 5.09 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.407/1.407, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1796/0.1796, allocations: 38.05 MB / 329.9 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 68.08 kB / 458.2 MB, free: 6.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4311/0.4323, allocations: 58.04 MB / 0.5041 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.005552/0.4379, allocations: 4.341 MB / 0.5083 GB, free: 4.734 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.4399, allocations: 0.9437 MB / 0.5093 GB, free: 4.066 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002362/0.4401, allocations: 11.06 kB / 0.5093 GB, free: 4.062 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002549/0.4404, allocations: 54.31 kB / 0.5093 GB, free: 4.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007901/0.4412, allocations: 242.1 kB / 0.5096 GB, free: 3.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.4416, allocations: 105.5 kB / 0.5097 GB, free: 3.844 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006927/0.4423, allocations: 495.7 kB / 0.5101 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003172/0.4426, allocations: 152.5 kB / 0.5103 GB, free: 3.582 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003137/0.4429, allocations: 222 kB / 0.5105 GB, free: 3.484 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004609/0.4434, allocations: 267 kB / 0.5107 GB, free: 3.391 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.525e-05/0.4434, allocations: 28.44 kB / 0.5108 GB, free: 3.387 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.617e-05/0.4435, allocations: 23.38 kB / 0.5108 GB, free: 3.387 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000181/0.4437, allocations: 150.5 kB / 0.5109 GB, free: 3.336 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.4439, allocations: 172.4 kB / 0.5111 GB, free: 3.238 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005018/0.4444, allocations: 375.2 kB / 0.5115 GB, free: 3.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.4444, allocations: 0 / 0.5115 GB, free: 3.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.4444, allocations: 1.188 kB / 0.5115 GB, free: 3.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.4445, allocations: 0 / 0.5115 GB, free: 3.09 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001136/0.4456, allocations: 0.6732 MB / 0.5121 GB, free: 2.551 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.4457, allocations: 12.95 kB / 0.5121 GB, free: 2.547 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.58e-05/0.4458, allocations: 39.91 kB / 0.5122 GB, free: 2.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006048/0.4464, allocations: 373.5 kB / 0.5125 GB, free: 2.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.4464, allocations: 31.89 kB / 0.5126 GB, free: 2.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.962e-05/0.4465, allocations: 29.33 kB / 0.5126 GB, free: 2.219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000638/0.4471, allocations: 353 kB / 0.5129 GB, free: 2.027 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.4471, allocations: 1.156 kB / 0.5129 GB, free: 2.027 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/0.4472, allocations: 10.98 kB / 0.5129 GB, free: 2.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001308/0.4473, allocations: 25.31 kB / 0.513 GB, free: 2.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004429/0.4478, allocations: 243.6 kB / 0.5132 GB, free: 1.941 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001652/0.4494, allocations: 1.378 MB / 0.5145 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/0.4498, allocations: 162 kB / 0.5147 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/0.45, allocations: 100.6 kB / 0.5148 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.464e-05/0.4501, allocations: 5.609 kB / 0.5148 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.4501, allocations: 37.31 kB / 0.5148 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.4501, allocations: 0 / 0.5148 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.001386/0.4515, allocations: 0.7646 MB / 0.5156 GB, free: 160 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.4516, allocations: 84.73 kB / 0.5157 GB, free: 60 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000371/0.4519, allocations: 300 kB / 0.5159 GB, free: 15.9 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.452, allocations: 27.05 kB / 0.516 GB, free: 15.87 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.4522, allocations: 219.8 kB / 0.5162 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.997e-05/0.4522, allocations: 57.11 kB / 0.5162 GB, free: 15.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.731e-05/0.4523, allocations: 52.81 kB / 0.5163 GB, free: 15.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4525, allocations: 338.5 kB / 0.5166 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.4526, allocations: 71.14 kB / 0.5167 GB, free: 15.26 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.4528, allocations: 170.6 kB / 0.5168 GB, free: 15.11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004269/0.4533, allocations: 260.6 kB / 0.5171 GB, free: 14.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.4533, allocations: 1.062 kB / 0.5171 GB, free: 14.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006034/0.4539, allocations: 321.9 kB / 0.5174 GB, free: 14.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.4539, allocations: 7.266 kB / 0.5174 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.4539, allocations: 4 kB / 0.5174 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00025/0.4542, allocations: 51.11 kB / 0.5174 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.4544, allocations: 48.27 kB / 0.5175 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/0.4561, allocations: 1.616 MB / 0.5191 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.4563, allocations: 11.67 kB / 0.5191 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.4563, allocations: 13.97 kB / 0.5191 GB, free: 13.27 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 (28): * Single equations (assignments): 27 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000231/0.4566, allocations: 171.6 kB / 0.5193 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.539e-05/0.4566, allocations: 24.41 kB / 0.5193 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005934/0.4572, allocations: 248.5 kB / 0.5195 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.4573, allocations: 3.75 kB / 0.5195 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.4573, allocations: 1.406 kB / 0.5195 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.4573, allocations: 0 / 0.5195 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.4586, allocations: 0.6341 MB / 0.5201 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.4587, allocations: 0.9375 kB / 0.5201 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.4588, allocations: 29.52 kB / 0.5202 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002677/0.4591, allocations: 63.33 kB / 0.5202 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/0.4591, allocations: 7.984 kB / 0.5202 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002052/0.4612, allocations: 1.597 MB / 0.5218 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.4612, allocations: 1.844 kB / 0.5218 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009118/0.4621, allocations: 420.7 kB / 0.5222 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.4623, allocations: 103.8 kB / 0.5223 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.4623, allocations: 7.25 kB / 0.5223 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.4625, allocations: 4.953 kB / 0.5223 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.4625, allocations: 15.17 kB / 0.5223 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.4626, allocations: 4.531 kB / 0.5223 GB, free: 10.69 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003966/0.463, allocations: 207.9 kB / 0.5225 GB, free: 10.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.463, allocations: 1.312 kB / 0.5225 GB, free: 10.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005838/0.4636, allocations: 74.25 kB / 0.5226 GB, free: 10.56 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001887/0.4638, allocations: 104 kB / 0.5227 GB, free: 10.47 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007107/0.4645, allocations: 302.7 kB / 0.523 GB, free: 10.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4645, allocations: 4 kB / 0.523 GB, free: 10.3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004015/0.4649, allocations: 213.8 kB / 0.5232 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000584/0.4655, allocations: 66.78 kB / 0.5233 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.4669, allocations: 0.73 MB / 0.524 GB, free: 9.684 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000613/0.4675, allocations: 0.8068 MB / 0.5248 GB, free: 8.973 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001925/0.4677, allocations: 44.84 kB / 0.5248 GB, free: 8.965 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.568e-05/0.4678, allocations: 22.72 kB / 0.5248 GB, free: 8.957 MB / 398.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4678, allocations: 0 / 0.5248 GB, free: 8.957 MB / 398.1 MB Notification: Performance of Templates: time 0.008475/0.4763, allocations: 2.987 MB / 0.5277 GB, free: 8.723 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches