Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.LoadDC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7406,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7406,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001543, allocations: 108.7 kB / 17.75 MB, free: 5.223 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.001868/0.001868, allocations: 190.4 kB / 18.67 MB, free: 4.305 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.31/1.31, allocations: 222.9 MB / 242.4 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.1759/0.1759, allocations: 38.04 MB / 330.6 MB, free: 8.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 60.14 kB / 458.8 MB, free: 6.887 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3071, allocations: 58.06 MB / 0.5048 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.004364/0.3115, allocations: 4.073 MB / 0.5088 GB, free: 4.914 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.3125, allocations: 0.8592 MB / 0.5096 GB, free: 4.312 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.3127, allocations: 11.16 kB / 0.5096 GB, free: 4.309 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001585/0.3128, allocations: 45.94 kB / 0.5096 GB, free: 4.281 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003683/0.3132, allocations: 161.7 kB / 0.5098 GB, free: 4.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.3134, allocations: 93 kB / 0.5099 GB, free: 4.133 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000362/0.3138, allocations: 399.2 kB / 0.5103 GB, free: 3.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.314, allocations: 108.6 kB / 0.5104 GB, free: 3.914 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002169/0.3142, allocations: 183.6 kB / 0.5105 GB, free: 3.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002768/0.3145, allocations: 178.1 kB / 0.5107 GB, free: 3.758 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.226e-05/0.3145, allocations: 19.88 kB / 0.5107 GB, free: 3.758 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.052e-05/0.3146, allocations: 25.59 kB / 0.5108 GB, free: 3.754 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.888e-05/0.3147, allocations: 84 kB / 0.5108 GB, free: 3.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.3148, allocations: 147.4 kB / 0.511 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002877/0.3151, allocations: 284.2 kB / 0.5113 GB, free: 3.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3151, allocations: 0 / 0.5113 GB, free: 3.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3151, allocations: 0 / 0.5113 GB, free: 3.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.3151, allocations: 1.188 kB / 0.5113 GB, free: 3.516 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.0008378/0.316, allocations: 0.6024 MB / 0.5118 GB, free: 3.012 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.316, allocations: 16.11 kB / 0.5119 GB, free: 3.004 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.103e-05/0.3161, allocations: 31.97 kB / 0.5119 GB, free: 2.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004787/0.3166, allocations: 343 kB / 0.5122 GB, free: 2.715 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.3166, allocations: 18.23 kB / 0.5122 GB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.3167, allocations: 32.62 kB / 0.5123 GB, free: 2.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003696/0.3171, allocations: 293.3 kB / 0.5125 GB, free: 2.523 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3171, allocations: 0 / 0.5125 GB, free: 2.523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.3171, allocations: 6.625 kB / 0.5125 GB, free: 2.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.3172, allocations: 9.781 kB / 0.5126 GB, free: 2.516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002951/0.3175, allocations: 188.9 kB / 0.5127 GB, free: 2.453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.3187, allocations: 1.281 MB / 0.514 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.319, allocations: 115.2 kB / 0.5141 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.495e-05/0.3191, allocations: 58.16 kB / 0.5142 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.3191, allocations: 1.031 kB / 0.5142 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.3191, allocations: 37.53 kB / 0.5142 GB, free: 1.195 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.3191, allocations: 0 / 0.5142 GB, free: 1.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007618/0.3199, allocations: 0.5254 MB / 0.5147 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/0.3199, allocations: 110 kB / 0.5148 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.3201, allocations: 243.3 kB / 0.515 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.3201, allocations: 26.92 kB / 0.5151 GB, free: 476 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.3202, allocations: 194.8 kB / 0.5153 GB, free: 308 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.3202, allocations: 48.61 kB / 0.5153 GB, free: 268 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.539e-05/0.3203, allocations: 40.72 kB / 0.5153 GB, free: 240 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.819e-05/0.3204, allocations: 338.7 kB / 0.5157 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.362e-05/0.3205, allocations: 43.14 kB / 0.5157 GB, free: 15.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.3206, allocations: 130.4 kB / 0.5158 GB, free: 15.76 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.3208, allocations: 191 kB / 0.516 GB, free: 15.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3208, allocations: 1.156 kB / 0.516 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004123/0.3213, allocations: 233.5 kB / 0.5162 GB, free: 15.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3213, allocations: 7.406 kB / 0.5162 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.3213, allocations: 2.438 kB / 0.5162 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001247/0.3214, allocations: 26.75 kB / 0.5163 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/0.3218, allocations: 64.16 kB / 0.5163 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.3218, allocations: 10.08 kB / 0.5163 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.3219, allocations: 12 kB / 0.5163 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.3219, allocations: 9.547 kB / 0.5164 GB, free: 15.43 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.3221, allocations: 147.1 kB / 0.5165 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.49e-05/0.3222, allocations: 21.62 kB / 0.5165 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.3224, allocations: 147.8 kB / 0.5167 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3224, allocations: 0.75 kB / 0.5167 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.3225, allocations: 5.062 kB / 0.5167 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-05/0.3225, allocations: 96.67 kB / 0.5168 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.487e-05/0.3226, allocations: 11.52 kB / 0.5168 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.3227, allocations: 1.344 kB / 0.5168 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/0.3228, allocations: 15.12 kB / 0.5168 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004329/0.3232, allocations: 379.7 kB / 0.5171 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004069/0.3236, allocations: 0.5139 MB / 0.5176 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.471e-05/0.3237, allocations: 45 kB / 0.5177 GB, free: 14.33 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000162/0.3239, allocations: 171 kB / 0.5179 GB, free: 14.22 MB / 398.1 MB Notification: Performance of Backend: time 3.6e-07/0.3239, allocations: 1.469 kB / 0.5179 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006683/0.3245, allocations: 252.3 kB / 0.5181 GB, free: 14.02 MB / 398.1 MB Notification: Performance of SimCode: time 0.001255/0.3258, allocations: 1.064 MB / 0.5191 GB, free: 13.16 MB / 398.1 MB Notification: Performance of Templates: time 0.005878/0.3317, allocations: 2.291 MB / 0.5214 GB, free: 12.96 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches