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.001355/0.001355, allocations: 106.3 kB / 17.74 MB, free: 5.324 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.001598/0.001598, allocations: 181.4 kB / 18.67 MB, free: 4.406 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.365/1.365, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1728/0.1728, allocations: 38.04 MB / 330.6 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.89 kB / 458.8 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3192, allocations: 58.05 MB / 0.5048 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.004429/0.3237, allocations: 4.343 MB / 0.509 GB, free: 5.023 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.3248, allocations: 0.9418 MB / 0.5099 GB, free: 4.359 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.325, allocations: 11.56 kB / 0.5099 GB, free: 4.355 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.3252, allocations: 54.81 kB / 0.51 GB, free: 4.324 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000508/0.3257, allocations: 241.7 kB / 0.5102 GB, free: 4.191 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.3259, allocations: 100.8 kB / 0.5103 GB, free: 4.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004488/0.3264, allocations: 0.4945 MB / 0.5108 GB, free: 3.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002275/0.3266, allocations: 152.7 kB / 0.5109 GB, free: 3.871 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002644/0.3269, allocations: 232.2 kB / 0.5112 GB, free: 3.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003723/0.3273, allocations: 261.4 kB / 0.5114 GB, free: 3.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.957e-05/0.3273, allocations: 23.09 kB / 0.5114 GB, free: 3.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.314e-05/0.3274, allocations: 27.75 kB / 0.5115 GB, free: 3.676 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001757/0.3276, allocations: 147.1 kB / 0.5116 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.3278, allocations: 176 kB / 0.5118 GB, free: 3.527 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003605/0.3281, allocations: 366.6 kB / 0.5121 GB, free: 3.387 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3281, allocations: 5 kB / 0.5121 GB, free: 3.383 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3281, allocations: 0 / 0.5121 GB, free: 3.383 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.3282, allocations: 0 / 0.5121 GB, free: 3.383 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.000953/0.3291, allocations: 0.6563 MB / 0.5128 GB, free: 2.863 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.3292, allocations: 13.27 kB / 0.5128 GB, free: 2.859 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.559e-05/0.3292, allocations: 38.12 kB / 0.5128 GB, free: 2.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005327/0.3298, allocations: 382.2 kB / 0.5132 GB, free: 2.555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.3298, allocations: 24.09 kB / 0.5132 GB, free: 2.543 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.861e-05/0.3299, allocations: 24.44 kB / 0.5132 GB, free: 2.535 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004891/0.3304, allocations: 362.5 kB / 0.5136 GB, free: 2.336 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3304, allocations: 0 / 0.5136 GB, free: 2.336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.3304, allocations: 7.312 kB / 0.5136 GB, free: 2.332 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001024/0.3305, allocations: 29.83 kB / 0.5136 GB, free: 2.328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/0.3309, allocations: 238.4 kB / 0.5138 GB, free: 2.254 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.3323, allocations: 1.368 MB / 0.5152 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/0.3327, allocations: 172.4 kB / 0.5153 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.3328, allocations: 92.17 kB / 0.5154 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.3329, allocations: 2.281 kB / 0.5154 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.3329, allocations: 36.41 kB / 0.5155 GB, free: 1.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.3329, allocations: 0.9375 kB / 0.5155 GB, free: 1.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.00119/0.3341, allocations: 0.7616 MB / 0.5162 GB, free: 496 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.3341, allocations: 82.52 kB / 0.5163 GB, free: 396 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.3344, allocations: 304.3 kB / 0.5166 GB, free: 232 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.3344, allocations: 26.89 kB / 0.5166 GB, free: 200 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.3345, allocations: 219.3 kB / 0.5168 GB, free: 8 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.26e-05/0.3346, allocations: 52.22 kB / 0.5169 GB, free: 15.97 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.222e-05/0.3347, allocations: 58.33 kB / 0.5169 GB, free: 15.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3348, allocations: 334.7 kB / 0.5172 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.335, allocations: 66.19 kB / 0.5173 GB, free: 15.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.3352, allocations: 173.8 kB / 0.5175 GB, free: 15.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000379/0.3355, allocations: 258.9 kB / 0.5177 GB, free: 15.24 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.3356, allocations: 1.656 kB / 0.5177 GB, free: 15.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005759/0.3361, allocations: 325.4 kB / 0.518 GB, free: 15.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3362, allocations: 7.672 kB / 0.518 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.3362, allocations: 3.094 kB / 0.518 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000246/0.3364, allocations: 55.58 kB / 0.5181 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.3366, allocations: 47.27 kB / 0.5181 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/0.3382, allocations: 1.612 MB / 0.5197 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.3384, allocations: 11.55 kB / 0.5197 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.3384, allocations: 14.61 kB / 0.5197 GB, free: 13.59 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.0001781/0.3386, allocations: 167.4 kB / 0.5199 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.415e-05/0.3387, allocations: 24.39 kB / 0.5199 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004265/0.3391, allocations: 236.6 kB / 0.5201 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.3391, allocations: 5.234 kB / 0.5201 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3391, allocations: 5.031 kB / 0.5202 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-05/0.3392, allocations: 103.1 kB / 0.5202 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/0.3393, allocations: 7.281 kB / 0.5203 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.3394, allocations: 8.688 kB / 0.5203 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.3394, allocations: 10.61 kB / 0.5203 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005383/0.34, allocations: 391.2 kB / 0.5206 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005127/0.3405, allocations: 0.515 MB / 0.5212 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001243/0.3406, allocations: 72.34 kB / 0.5212 GB, free: 12.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002089/0.3409, allocations: 212.4 kB / 0.5214 GB, free: 12.46 MB / 398.1 MB Notification: Performance of Backend: time 4.81e-07/0.3409, allocations: 1.156 kB / 0.5214 GB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000868/0.3417, allocations: 326.6 kB / 0.5217 GB, free: 12.23 MB / 398.1 MB Notification: Performance of SimCode: time 0.001514/0.3433, allocations: 1.183 MB / 0.5229 GB, free: 11.32 MB / 398.1 MB Notification: Performance of Templates: time 0.007147/0.3504, allocations: 3.109 MB / 0.5259 GB, free: 11.08 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.mat","/var/lib/jenkins1/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