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.001299/0.001299, allocations: 110.9 kB / 17.75 MB, free: 5.332 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.00161/0.00161, allocations: 190.6 kB / 18.68 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.288/1.288, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.172/0.172, allocations: 38.04 MB / 330.6 MB, free: 8.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 71.89 kB / 458.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3084, allocations: 58.05 MB / 0.5048 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.005345/0.3138, allocations: 4.916 MB / 0.5096 GB, free: 4.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.3156, allocations: 1.298 MB / 0.5108 GB, free: 3.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.3158, allocations: 18.09 kB / 0.5109 GB, free: 3.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004041/0.3162, allocations: 123.5 kB / 0.511 GB, free: 3.445 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005565/0.3168, allocations: 329 kB / 0.5113 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.3171, allocations: 155.7 kB / 0.5114 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006412/0.3178, allocations: 0.6954 MB / 0.5121 GB, free: 2.906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002716/0.3181, allocations: 163.6 kB / 0.5123 GB, free: 2.844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000403/0.3185, allocations: 306.5 kB / 0.5126 GB, free: 2.719 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006752/0.3192, allocations: 441.6 kB / 0.513 GB, free: 2.582 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.768e-05/0.3193, allocations: 44.19 kB / 0.513 GB, free: 2.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.3194, allocations: 52.06 kB / 0.5131 GB, free: 2.578 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000272/0.3197, allocations: 235.7 kB / 0.5133 GB, free: 2.496 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002647/0.32, allocations: 281 kB / 0.5136 GB, free: 2.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006282/0.3206, allocations: 0.6066 MB / 0.5142 GB, free: 2.125 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3206, allocations: 0 / 0.5142 GB, free: 2.125 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3206, allocations: 1.188 kB / 0.5142 GB, free: 2.125 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.836e-06/0.3206, allocations: 4 kB / 0.5142 GB, free: 2.121 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.002057/0.3227, allocations: 0.9507 MB / 0.5151 GB, free: 1.516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.3227, allocations: 9.312 kB / 0.5151 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.3229, allocations: 54.2 kB / 0.5152 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.3242, allocations: 0.6137 MB / 0.5158 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.3242, allocations: 23.86 kB / 0.5158 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.3243, allocations: 43.47 kB / 0.5158 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009284/0.3253, allocations: 0.5574 MB / 0.5164 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.3253, allocations: 0.5 kB / 0.5164 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.826e-05/0.3253, allocations: 12.28 kB / 0.5164 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003666/0.3257, allocations: 93.59 kB / 0.5165 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006325/0.3263, allocations: 358.9 kB / 0.5168 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002753/0.3291, allocations: 2.052 MB / 0.5188 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008276/0.3299, allocations: 380.6 kB / 0.5192 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004792/0.3304, allocations: 296.8 kB / 0.5195 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.3305, allocations: 7.344 kB / 0.5195 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.3305, allocations: 41.36 kB / 0.5195 GB, free: 15.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.843e-06/0.3305, allocations: 0 / 0.5195 GB, free: 15.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.004686/0.3352, allocations: 2.534 MB / 0.522 GB, free: 13.74 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.3353, allocations: 81.02 kB / 0.5221 GB, free: 13.65 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004362/0.3357, allocations: 380.7 kB / 0.5224 GB, free: 13.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/0.3358, allocations: 35.84 kB / 0.5225 GB, free: 13.42 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.336, allocations: 249 kB / 0.5227 GB, free: 13.21 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.3361, allocations: 131.2 kB / 0.5228 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.3363, allocations: 103 kB / 0.5229 GB, free: 13.06 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3364, allocations: 363 kB / 0.5233 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003601/0.3368, allocations: 242.1 kB / 0.5235 GB, free: 12.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004359/0.3372, allocations: 362.5 kB / 0.5238 GB, free: 12.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007937/0.338, allocations: 0.6061 MB / 0.5244 GB, free: 12.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.338, allocations: 1.531 kB / 0.5244 GB, free: 12.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001711/0.3398, allocations: 1.009 MB / 0.5254 GB, free: 11.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.3398, allocations: 11.12 kB / 0.5254 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.3398, allocations: 3.016 kB / 0.5254 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.3409, allocations: 407.4 kB / 0.5258 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.3412, allocations: 83.91 kB / 0.5259 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005169/0.3463, allocations: 5.137 MB / 0.5309 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.3467, allocations: 43.44 kB / 0.531 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-05/0.3467, allocations: 18.75 kB / 0.531 GB, free: 8.098 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.0002612/0.347, allocations: 203.2 kB / 0.5312 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.331e-05/0.3471, allocations: 44.02 kB / 0.5312 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001452/0.3485, allocations: 0.8327 MB / 0.532 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.84e-06/0.3486, allocations: 3.938 kB / 0.532 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3486, allocations: 1 kB / 0.532 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.3487, allocations: 120.9 kB / 0.5321 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.49e-05/0.3488, allocations: 32.67 kB / 0.5322 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.3491, allocations: 36.09 kB / 0.5322 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.574e-05/0.3491, allocations: 31.5 kB / 0.5322 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00248/0.3516, allocations: 1.265 MB / 0.5335 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001328/0.353, allocations: 1.177 MB / 0.5346 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003994/0.3534, allocations: 312.8 kB / 0.5349 GB, free: 5.887 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000268/0.3537, allocations: 262.4 kB / 0.5352 GB, free: 5.723 MB / 398.1 MB Notification: Performance of Backend: time 6.01e-07/0.3537, allocations: 0 / 0.5352 GB, free: 5.723 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001825/0.3555, allocations: 0.8058 MB / 0.536 GB, free: 5.188 MB / 398.1 MB Notification: Performance of SimCode: time 0.002733/0.3582, allocations: 2.135 MB / 0.538 GB, free: 3.527 MB / 398.1 MB Notification: Performance of Templates: time 0.01274/0.371, allocations: 8.054 MB / 0.5459 GB, free: 13.48 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