Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 107 kB / 17.74 MB, free: 5.355 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.001312/0.001312, allocations: 190.4 kB / 18.68 MB, free: 4.426 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.282/1.282, 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.1706/0.1706, allocations: 38.05 MB / 330.6 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 67.89 kB / 458.8 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.288, allocations: 58.05 MB / 0.5048 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.005077/0.2931, allocations: 4.903 MB / 0.5096 GB, free: 4.352 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.2948, allocations: 1.303 MB / 0.5108 GB, free: 3.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.2949, allocations: 13.78 kB / 0.5109 GB, free: 3.426 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003853/0.2953, allocations: 121.2 kB / 0.511 GB, free: 3.359 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005612/0.2959, allocations: 330.3 kB / 0.5113 GB, free: 3.188 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003387/0.2963, allocations: 159.3 kB / 0.5114 GB, free: 3.113 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006166/0.2969, allocations: 0.6966 MB / 0.5121 GB, free: 2.816 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002459/0.2971, allocations: 165.6 kB / 0.5123 GB, free: 2.758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003666/0.2975, allocations: 307.4 kB / 0.5126 GB, free: 2.633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006219/0.2981, allocations: 444.3 kB / 0.513 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.253e-05/0.2982, allocations: 44.72 kB / 0.513 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.2984, allocations: 47.94 kB / 0.5131 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002481/0.2986, allocations: 232.1 kB / 0.5133 GB, free: 2.414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002707/0.2989, allocations: 281.3 kB / 0.5136 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000598/0.2995, allocations: 0.6133 MB / 0.5142 GB, free: 2.035 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2995, allocations: 1.156 kB / 0.5142 GB, free: 2.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2995, allocations: 0 / 0.5142 GB, free: 2.035 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.2995, allocations: 0 / 0.5142 GB, free: 2.035 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00169/0.3012, allocations: 0.9628 MB / 0.5151 GB, free: 1.418 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.3013, allocations: 11.73 kB / 0.5151 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.3014, allocations: 59.73 kB / 0.5152 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.3024, allocations: 0.619 MB / 0.5158 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.3025, allocations: 26.5 kB / 0.5158 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.719e-05/0.3025, allocations: 44.08 kB / 0.5159 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007745/0.3033, allocations: 0.549 MB / 0.5164 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.3033, allocations: 1.156 kB / 0.5164 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.425e-05/0.3034, allocations: 15.28 kB / 0.5164 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003446/0.3037, allocations: 90.11 kB / 0.5165 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005988/0.3044, allocations: 358.6 kB / 0.5168 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002749/0.3071, allocations: 2.056 MB / 0.5188 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007997/0.3079, allocations: 389.4 kB / 0.5192 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004762/0.3084, allocations: 290.7 kB / 0.5195 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/0.3085, allocations: 11.16 kB / 0.5195 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.3085, allocations: 44.12 kB / 0.5195 GB, free: 15.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.753e-06/0.3085, allocations: 0 / 0.5195 GB, free: 15.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.004509/0.313, allocations: 2.547 MB / 0.522 GB, free: 13.62 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.3131, allocations: 86.14 kB / 0.5221 GB, free: 13.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004294/0.3135, allocations: 380.1 kB / 0.5225 GB, free: 13.33 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.3136, allocations: 34.89 kB / 0.5225 GB, free: 13.29 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.3137, allocations: 254.7 kB / 0.5227 GB, free: 13.08 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.3139, allocations: 144.2 kB / 0.5229 GB, free: 12.97 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.314, allocations: 98.77 kB / 0.523 GB, free: 12.92 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.3142, allocations: 361.2 kB / 0.5233 GB, free: 12.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003577/0.3146, allocations: 243.8 kB / 0.5236 GB, free: 12.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004227/0.315, allocations: 357.3 kB / 0.5239 GB, free: 12.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008007/0.3158, allocations: 0.6118 MB / 0.5245 GB, free: 12.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.3158, allocations: 1.438 kB / 0.5245 GB, free: 12.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001727/0.3176, allocations: 1.005 MB / 0.5255 GB, free: 11.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3176, allocations: 10.47 kB / 0.5255 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.3176, allocations: 7.844 kB / 0.5255 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.3186, allocations: 404.6 kB / 0.5259 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/0.3189, allocations: 78.41 kB / 0.526 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005209/0.3242, allocations: 5.134 MB / 0.531 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003544/0.3245, allocations: 46.45 kB / 0.531 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.104e-05/0.3246, allocations: 19.06 kB / 0.531 GB, free: 7.965 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 (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,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002982/0.3249, allocations: 206.8 kB / 0.5312 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.287e-05/0.325, allocations: 44.89 kB / 0.5313 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001481/0.3265, allocations: 0.8384 MB / 0.5321 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3265, allocations: 6.359 kB / 0.5321 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3265, allocations: 1.25 kB / 0.5321 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.3266, allocations: 114.8 kB / 0.5322 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.902e-05/0.3267, allocations: 29.61 kB / 0.5322 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.327, allocations: 37.11 kB / 0.5323 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.868e-05/0.3271, allocations: 34.78 kB / 0.5323 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002448/0.3295, allocations: 1.27 MB / 0.5335 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0013/0.3308, allocations: 1.189 MB / 0.5347 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003693/0.3312, allocations: 300.8 kB / 0.535 GB, free: 5.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002744/0.3315, allocations: 266.6 kB / 0.5352 GB, free: 5.652 MB / 398.1 MB Notification: Performance of Backend: time 2.71e-07/0.3315, allocations: 0 / 0.5352 GB, free: 5.652 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001753/0.3333, allocations: 0.799 MB / 0.536 GB, free: 5.121 MB / 398.1 MB Notification: Performance of SimCode: time 0.002622/0.3359, allocations: 2.151 MB / 0.5381 GB, free: 3.441 MB / 398.1 MB Notification: Performance of Templates: time 0.01312/0.349, allocations: 8.061 MB / 0.546 GB, free: 13.45 MB / 414.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Line.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches