Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 109.2 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.001177/0.001177, allocations: 184.3 kB / 18.68 MB, free: 4.41 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.305/1.305, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1707/0.1707, allocations: 38.04 MB / 330.6 MB, free: 8.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.91 kB / 458.8 MB, free: 6.824 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3138, allocations: 58.05 MB / 0.5048 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.004295/0.3181, allocations: 3.913 MB / 0.5086 GB, free: 5.059 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.3192, allocations: 0.8732 MB / 0.5094 GB, free: 4.445 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.3194, allocations: 11.38 kB / 0.5095 GB, free: 4.441 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001541/0.3195, allocations: 48.56 kB / 0.5095 GB, free: 4.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004201/0.32, allocations: 170.5 kB / 0.5097 GB, free: 4.309 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001729/0.3201, allocations: 83.86 kB / 0.5097 GB, free: 4.266 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003463/0.3205, allocations: 378 kB / 0.5101 GB, free: 4.094 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.3207, allocations: 82.22 kB / 0.5102 GB, free: 4.066 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002306/0.3209, allocations: 166.9 kB / 0.5103 GB, free: 3.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002827/0.3212, allocations: 168.5 kB / 0.5105 GB, free: 3.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.072e-05/0.3213, allocations: 17.53 kB / 0.5105 GB, free: 3.926 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.249e-05/0.3213, allocations: 21.03 kB / 0.5105 GB, free: 3.922 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.3214, allocations: 79.12 kB / 0.5106 GB, free: 3.891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.3216, allocations: 123.2 kB / 0.5107 GB, free: 3.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.3218, allocations: 259.4 kB / 0.511 GB, free: 3.715 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3219, allocations: 0 / 0.511 GB, free: 3.715 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3219, allocations: 0 / 0.511 GB, free: 3.715 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.3219, allocations: 0 / 0.511 GB, free: 3.715 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007583/0.3226, allocations: 0.5596 MB / 0.5115 GB, free: 3.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.3227, allocations: 12.45 kB / 0.5115 GB, free: 3.234 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.08e-05/0.3227, allocations: 34.67 kB / 0.5116 GB, free: 3.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004258/0.3232, allocations: 323.8 kB / 0.5119 GB, free: 2.957 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.3232, allocations: 20.5 kB / 0.5119 GB, free: 2.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.844e-05/0.3233, allocations: 18.09 kB / 0.5119 GB, free: 2.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003575/0.3236, allocations: 270.4 kB / 0.5122 GB, free: 2.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3236, allocations: 1.094 kB / 0.5122 GB, free: 2.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.3237, allocations: 10.22 kB / 0.5122 GB, free: 2.762 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.3237, allocations: 6.266 kB / 0.5122 GB, free: 2.762 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002581/0.3239, allocations: 160.5 kB / 0.5123 GB, free: 2.711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.325, allocations: 1.18 MB / 0.5135 GB, free: 1.691 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.3251, allocations: 70.81 kB / 0.5136 GB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.373e-05/0.3252, allocations: 30.8 kB / 0.5136 GB, free: 1.609 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.3252, allocations: 5.688 kB / 0.5136 GB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.3252, allocations: 36.58 kB / 0.5136 GB, free: 1.562 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.3252, allocations: 0 / 0.5136 GB, free: 1.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005873/0.3258, allocations: 409.2 kB / 0.514 GB, free: 1.207 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.977e-05/0.3258, allocations: 79.31 kB / 0.5141 GB, free: 1.113 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.326, allocations: 244.5 kB / 0.5143 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.3261, allocations: 26.27 kB / 0.5144 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.562e-05/0.3261, allocations: 199.7 kB / 0.5146 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.3262, allocations: 35.03 kB / 0.5146 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/0.3262, allocations: 43.02 kB / 0.5146 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.202e-05/0.3263, allocations: 334.4 kB / 0.5149 GB, free: 384 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.375e-05/0.3263, allocations: 25.62 kB / 0.515 GB, free: 376 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.7e-05/0.3264, allocations: 119.2 kB / 0.5151 GB, free: 240 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.3266, allocations: 164.4 kB / 0.5152 GB, free: 72 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3266, allocations: 1 kB / 0.5152 GB, free: 72 kB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002648/0.3269, allocations: 187.3 kB / 0.5154 GB, free: 15.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.3269, allocations: 10.88 kB / 0.5154 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.3269, allocations: 2.75 kB / 0.5154 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.3269, allocations: 9.797 kB / 0.5154 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.3271, allocations: 42.7 kB / 0.5155 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.3271, allocations: 8.859 kB / 0.5155 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.3272, allocations: 16.62 kB / 0.5155 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.3272, allocations: 8.219 kB / 0.5155 GB, free: 15.95 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 (22): * Single equations (assignments): 22 * 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.0001378/0.3274, allocations: 147.3 kB / 0.5157 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.3274, allocations: 21.59 kB / 0.5157 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000236/0.3277, allocations: 95.2 kB / 0.5158 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3277, allocations: 0.9531 kB / 0.5158 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3277, allocations: 1.094 kB / 0.5158 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.683e-05/0.3278, allocations: 95.52 kB / 0.5159 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.3278, allocations: 9.516 kB / 0.5159 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.826e-05/0.3279, allocations: 1.672 kB / 0.5159 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.839e-05/0.3279, allocations: 5 kB / 0.5159 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000255/0.3282, allocations: 249.1 kB / 0.5161 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003001/0.3285, allocations: 372.1 kB / 0.5165 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.08e-05/0.3286, allocations: 24.86 kB / 0.5165 GB, free: 15.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002406/0.3288, allocations: 174.2 kB / 0.5167 GB, free: 14.98 MB / 398.1 MB Notification: Performance of Backend: time 4.51e-07/0.3288, allocations: 0 / 0.5167 GB, free: 14.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000757/0.3296, allocations: 144.1 kB / 0.5168 GB, free: 14.89 MB / 398.1 MB Notification: Performance of SimCode: time 0.001514/0.3311, allocations: 0.9778 MB / 0.5177 GB, free: 14.1 MB / 398.1 MB Notification: Performance of Templates: time 0.005493/0.3366, allocations: 1.928 MB / 0.5196 GB, free: 13.91 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Source.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches