Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.ImpedanceOneTerm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 110.3 kB / 17.75 MB, free: 5.359 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.00152/0.00152, allocations: 185.4 kB / 18.67 MB, free: 4.438 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.382/1.382, 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.1787/0.1787, allocations: 38.04 MB / 330.6 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 63.91 kB / 458.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3358, allocations: 58.05 MB / 0.5048 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.005021/0.3409, allocations: 4.071 MB / 0.5088 GB, free: 4.918 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.3423, allocations: 0.9108 MB / 0.5096 GB, free: 4.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001698/0.3425, allocations: 10.62 kB / 0.5097 GB, free: 4.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.3427, allocations: 47.62 kB / 0.5097 GB, free: 4.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000502/0.3433, allocations: 180.6 kB / 0.5099 GB, free: 4.133 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.3435, allocations: 93.31 kB / 0.51 GB, free: 4.086 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004608/0.344, allocations: 401 kB / 0.5103 GB, free: 3.906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002669/0.3442, allocations: 118.8 kB / 0.5105 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002758/0.3445, allocations: 185.8 kB / 0.5106 GB, free: 3.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003219/0.3448, allocations: 183 kB / 0.5108 GB, free: 3.711 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.3449, allocations: 19.41 kB / 0.5108 GB, free: 3.711 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.714e-05/0.3449, allocations: 18.97 kB / 0.5108 GB, free: 3.711 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.3451, allocations: 96.33 kB / 0.5109 GB, free: 3.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.3452, allocations: 140.7 kB / 0.5111 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003292/0.3455, allocations: 293 kB / 0.5113 GB, free: 3.465 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3455, allocations: 4 kB / 0.5114 GB, free: 3.461 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3456, allocations: 1.188 kB / 0.5114 GB, free: 3.461 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.3456, allocations: 0 / 0.5114 GB, free: 3.461 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008539/0.3464, allocations: 0.5839 MB / 0.5119 GB, free: 2.973 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3465, allocations: 9.312 kB / 0.5119 GB, free: 2.973 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.321e-05/0.3465, allocations: 35.58 kB / 0.512 GB, free: 2.953 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.347, allocations: 346.7 kB / 0.5123 GB, free: 2.676 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.347, allocations: 25.56 kB / 0.5123 GB, free: 2.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.656e-05/0.347, allocations: 18.69 kB / 0.5123 GB, free: 2.656 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004229/0.3475, allocations: 291.2 kB / 0.5126 GB, free: 2.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3475, allocations: 0 / 0.5126 GB, free: 2.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.3475, allocations: 10.72 kB / 0.5126 GB, free: 2.473 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.3475, allocations: 10.2 kB / 0.5126 GB, free: 2.473 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.3478, allocations: 185.9 kB / 0.5128 GB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.3491, allocations: 1.222 MB / 0.514 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.3494, allocations: 110.3 kB / 0.5141 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.893e-05/0.3495, allocations: 47.42 kB / 0.5142 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.3495, allocations: 2 kB / 0.5142 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.3495, allocations: 32.55 kB / 0.5142 GB, free: 1.246 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.3495, allocations: 0 / 0.5142 GB, free: 1.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007534/0.3503, allocations: 488.7 kB / 0.5147 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/0.3503, allocations: 82.17 kB / 0.5147 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.3506, allocations: 245 kB / 0.515 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.3506, allocations: 34.7 kB / 0.515 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.3507, allocations: 199.4 kB / 0.5152 GB, free: 420 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.3507, allocations: 35.48 kB / 0.5152 GB, free: 392 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.599e-05/0.3508, allocations: 52.17 kB / 0.5153 GB, free: 352 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.502e-05/0.3509, allocations: 336.6 kB / 0.5156 GB, free: 20 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.369e-05/0.3509, allocations: 39.95 kB / 0.5156 GB, free: 4 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.3511, allocations: 127.5 kB / 0.5158 GB, free: 15.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.3514, allocations: 192.1 kB / 0.5159 GB, free: 15.69 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3514, allocations: 9.125 kB / 0.5159 GB, free: 15.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003131/0.3517, allocations: 200.2 kB / 0.5161 GB, free: 15.58 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.3517, allocations: 7.812 kB / 0.5161 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3517, allocations: 4.25 kB / 0.5161 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.3518, allocations: 9.672 kB / 0.5162 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.3519, allocations: 42.92 kB / 0.5162 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.352, allocations: 10.09 kB / 0.5162 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.3521, allocations: 8.031 kB / 0.5162 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.3521, allocations: 13.73 kB / 0.5162 GB, free: 15.56 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001438/0.3522, allocations: 157.2 kB / 0.5164 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.12e-05/0.3523, allocations: 23.08 kB / 0.5164 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/0.3526, allocations: 129.3 kB / 0.5165 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3526, allocations: 5.312 kB / 0.5165 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3526, allocations: 2.297 kB / 0.5165 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.845e-05/0.3526, allocations: 94.36 kB / 0.5166 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.3527, allocations: 10.17 kB / 0.5166 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.823e-05/0.3528, allocations: 1.156 kB / 0.5166 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.3528, allocations: 7.266 kB / 0.5166 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003235/0.3532, allocations: 277.5 kB / 0.5169 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003906/0.3536, allocations: 427.9 kB / 0.5173 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.607e-05/0.3536, allocations: 42.38 kB / 0.5174 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00017/0.3538, allocations: 177.2 kB / 0.5175 GB, free: 14.54 MB / 398.1 MB Notification: Performance of Backend: time 2.51e-07/0.3538, allocations: 0 / 0.5175 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005261/0.3544, allocations: 161.2 kB / 0.5177 GB, free: 14.44 MB / 398.1 MB Notification: Performance of SimCode: time 0.001307/0.3557, allocations: 1.007 MB / 0.5187 GB, free: 13.63 MB / 398.1 MB Notification: Performance of Templates: time 0.007117/0.3628, allocations: 2.173 MB / 0.5208 GB, free: 13.43 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches