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.001613/0.001613, allocations: 114.3 kB / 17.75 MB, free: 5.316 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.001951/0.001951, allocations: 189.3 kB / 18.68 MB, free: 4.387 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.321/1.321, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1798/0.1798, allocations: 38.04 MB / 330.6 MB, free: 8.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.91 kB / 458.8 MB, free: 6.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3058, allocations: 58.05 MB / 0.5048 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.004495/0.3103, allocations: 4.068 MB / 0.5088 GB, free: 4.961 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.3115, allocations: 0.9121 MB / 0.5096 GB, free: 4.312 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.3116, allocations: 11.31 kB / 0.5097 GB, free: 4.309 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.3118, allocations: 46.44 kB / 0.5097 GB, free: 4.281 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004185/0.3122, allocations: 185.6 kB / 0.5099 GB, free: 4.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.3124, allocations: 84.48 kB / 0.51 GB, free: 4.129 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003703/0.3128, allocations: 405.4 kB / 0.5103 GB, free: 3.945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002134/0.313, allocations: 122.1 kB / 0.5105 GB, free: 3.902 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002294/0.3133, allocations: 180.9 kB / 0.5106 GB, free: 3.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002973/0.3136, allocations: 181.6 kB / 0.5108 GB, free: 3.754 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.138e-05/0.3136, allocations: 19.59 kB / 0.5108 GB, free: 3.754 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.645e-05/0.3137, allocations: 27.41 kB / 0.5108 GB, free: 3.746 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.3138, allocations: 96.38 kB / 0.5109 GB, free: 3.703 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.3139, allocations: 136.1 kB / 0.5111 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.3143, allocations: 284 kB / 0.5113 GB, free: 3.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3143, allocations: 4 kB / 0.5113 GB, free: 3.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3143, allocations: 1.188 kB / 0.5113 GB, free: 3.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.3143, allocations: 0 / 0.5113 GB, free: 3.508 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.0007754/0.3151, allocations: 0.6068 MB / 0.5119 GB, free: 2.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.3151, allocations: 9.438 kB / 0.5119 GB, free: 2.996 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.046e-05/0.3152, allocations: 36.42 kB / 0.512 GB, free: 2.977 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004007/0.3156, allocations: 338 kB / 0.5123 GB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.3156, allocations: 22.59 kB / 0.5123 GB, free: 2.695 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.925e-05/0.3157, allocations: 21.62 kB / 0.5123 GB, free: 2.688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003701/0.316, allocations: 291.2 kB / 0.5126 GB, free: 2.512 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3161, allocations: 3.938 kB / 0.5126 GB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.3161, allocations: 11.98 kB / 0.5126 GB, free: 2.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.3161, allocations: 5.5 kB / 0.5126 GB, free: 2.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/0.3164, allocations: 178.6 kB / 0.5128 GB, free: 2.445 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.3175, allocations: 1.229 MB / 0.514 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/0.3178, allocations: 111.3 kB / 0.5141 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.623e-05/0.3178, allocations: 42.67 kB / 0.5142 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.3179, allocations: 1.125 kB / 0.5142 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.3179, allocations: 41.2 kB / 0.5142 GB, free: 1.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.3179, allocations: 0 / 0.5142 GB, free: 1.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006931/0.3186, allocations: 491.5 kB / 0.5147 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.3186, allocations: 80.2 kB / 0.5147 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.3188, allocations: 251.6 kB / 0.515 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.3188, allocations: 34.83 kB / 0.515 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.225e-05/0.3189, allocations: 198.2 kB / 0.5152 GB, free: 440 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.319, allocations: 41.38 kB / 0.5152 GB, free: 408 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.498e-05/0.319, allocations: 40.88 kB / 0.5153 GB, free: 380 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.947e-05/0.3191, allocations: 343.2 kB / 0.5156 GB, free: 40 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.669e-05/0.3192, allocations: 44.3 kB / 0.5157 GB, free: 20 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.3193, allocations: 129.9 kB / 0.5158 GB, free: 15.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.3195, allocations: 199 kB / 0.516 GB, free: 15.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.3195, allocations: 0 / 0.516 GB, free: 15.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003095/0.3198, allocations: 210.1 kB / 0.5162 GB, free: 15.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.3199, allocations: 6.875 kB / 0.5162 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.3199, allocations: 3.719 kB / 0.5162 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3199, allocations: 4.547 kB / 0.5162 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.3201, allocations: 44.11 kB / 0.5162 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.3201, allocations: 6.672 kB / 0.5162 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.3202, allocations: 8.125 kB / 0.5162 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.3202, allocations: 12.39 kB / 0.5163 GB, free: 15.58 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.0001289/0.3204, allocations: 158.5 kB / 0.5164 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-05/0.3204, allocations: 21.81 kB / 0.5164 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.3207, allocations: 133.9 kB / 0.5166 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3207, allocations: 2.078 kB / 0.5166 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3207, allocations: 0 / 0.5166 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.627e-05/0.3207, allocations: 100.4 kB / 0.5167 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.3208, allocations: 10.84 kB / 0.5167 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.3209, allocations: 1.25 kB / 0.5167 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.337e-05/0.3209, allocations: 6.438 kB / 0.5167 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003137/0.3212, allocations: 281 kB / 0.5169 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003759/0.3216, allocations: 428.4 kB / 0.5173 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.922e-05/0.3217, allocations: 41.8 kB / 0.5174 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001492/0.3219, allocations: 177.2 kB / 0.5176 GB, free: 14.55 MB / 398.1 MB Notification: Performance of Backend: time 4.11e-07/0.3219, allocations: 0 / 0.5176 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004915/0.3224, allocations: 156.8 kB / 0.5177 GB, free: 14.46 MB / 398.1 MB Notification: Performance of SimCode: time 0.001142/0.3235, allocations: 1.024 MB / 0.5187 GB, free: 13.63 MB / 398.1 MB Notification: Performance of Templates: time 0.005522/0.3291, allocations: 2.172 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