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.001391/0.001391, allocations: 114.9 kB / 17.74 MB, free: 5.336 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.001493/0.001493, allocations: 188.4 kB / 18.67 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.338/1.338, 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.1736/0.1736, allocations: 38.04 MB / 330.6 MB, free: 8.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 63.91 kB / 458.8 MB, free: 6.875 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3497, allocations: 58.05 MB / 0.5048 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.004752/0.3545, allocations: 4.082 MB / 0.5088 GB, free: 4.938 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.3558, allocations: 0.8606 MB / 0.5096 GB, free: 4.328 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.3559, allocations: 11.22 kB / 0.5096 GB, free: 4.324 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001798/0.3561, allocations: 44.56 kB / 0.5096 GB, free: 4.297 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004177/0.3565, allocations: 159 kB / 0.5098 GB, free: 4.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.3567, allocations: 93.09 kB / 0.5099 GB, free: 4.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003663/0.3571, allocations: 401.5 kB / 0.5103 GB, free: 3.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.3573, allocations: 110.6 kB / 0.5104 GB, free: 3.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.3576, allocations: 179.5 kB / 0.5105 GB, free: 3.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003206/0.3579, allocations: 182.3 kB / 0.5107 GB, free: 3.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.412e-05/0.358, allocations: 20.78 kB / 0.5107 GB, free: 3.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.501e-05/0.358, allocations: 20.81 kB / 0.5108 GB, free: 3.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.3581, allocations: 88.14 kB / 0.5108 GB, free: 3.734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.3583, allocations: 139.8 kB / 0.511 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003251/0.3586, allocations: 291.5 kB / 0.5113 GB, free: 3.531 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3586, allocations: 1.406 kB / 0.5113 GB, free: 3.531 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3586, allocations: 0 / 0.5113 GB, free: 3.531 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.3587, allocations: 0 / 0.5113 GB, free: 3.531 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.0009228/0.3596, allocations: 0.5988 MB / 0.5118 GB, free: 3.031 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.3596, allocations: 16.98 kB / 0.5119 GB, free: 3.023 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.767e-05/0.3597, allocations: 31.47 kB / 0.5119 GB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004907/0.3602, allocations: 338.6 kB / 0.5122 GB, free: 2.738 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.3602, allocations: 17.38 kB / 0.5122 GB, free: 2.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.3604, allocations: 41.11 kB / 0.5123 GB, free: 2.715 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003918/0.3608, allocations: 288.9 kB / 0.5125 GB, free: 2.543 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.3608, allocations: 2.234 kB / 0.5125 GB, free: 2.543 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/0.3608, allocations: 10.28 kB / 0.5126 GB, free: 2.535 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.3608, allocations: 5.719 kB / 0.5126 GB, free: 2.535 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003031/0.3611, allocations: 189.3 kB / 0.5127 GB, free: 2.473 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.3624, allocations: 1.272 MB / 0.514 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.3627, allocations: 119.7 kB / 0.5141 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.301e-05/0.3628, allocations: 50.02 kB / 0.5141 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.3628, allocations: 1.219 kB / 0.5141 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.3628, allocations: 40.31 kB / 0.5142 GB, free: 1.223 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.3628, allocations: 1.031 kB / 0.5142 GB, free: 1.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007943/0.3636, allocations: 0.5297 MB / 0.5147 GB, free: 0.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.3637, allocations: 104.8 kB / 0.5148 GB, free: 0.668 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.3639, allocations: 240.9 kB / 0.515 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.3639, allocations: 30.83 kB / 0.5151 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.996e-05/0.364, allocations: 197.6 kB / 0.5152 GB, free: 332 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.364, allocations: 40.94 kB / 0.5153 GB, free: 300 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-05/0.3641, allocations: 44.8 kB / 0.5153 GB, free: 268 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.454e-05/0.3642, allocations: 338.9 kB / 0.5157 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.923e-05/0.3643, allocations: 41.67 kB / 0.5157 GB, free: 15.92 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.3644, allocations: 130.5 kB / 0.5158 GB, free: 15.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.3647, allocations: 193.6 kB / 0.516 GB, free: 15.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3647, allocations: 1.375 kB / 0.516 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003988/0.3651, allocations: 230.5 kB / 0.5162 GB, free: 15.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3651, allocations: 6.688 kB / 0.5162 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3651, allocations: 2.531 kB / 0.5162 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001247/0.3653, allocations: 25.81 kB / 0.5163 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/0.3656, allocations: 70.3 kB / 0.5163 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.3656, allocations: 9.078 kB / 0.5163 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.3658, allocations: 3.438 kB / 0.5163 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.3658, allocations: 13.72 kB / 0.5163 GB, free: 15.46 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.0001496/0.3659, allocations: 151 kB / 0.5165 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.333e-05/0.366, allocations: 22.33 kB / 0.5165 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.3663, allocations: 142.5 kB / 0.5167 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3663, allocations: 6.188 kB / 0.5167 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3663, allocations: 10.25 kB / 0.5167 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3663, allocations: 1.891 kB / 0.5167 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000389/0.3667, allocations: 287.7 kB / 0.5169 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3667, allocations: 1.125 kB / 0.5169 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.3669, allocations: 27.33 kB / 0.517 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.3669, allocations: 1.156 kB / 0.517 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.3669, allocations: 1.719 kB / 0.517 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/0.3669, allocations: 10.36 kB / 0.517 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.367, allocations: 0.5625 kB / 0.517 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003972/0.3674, allocations: 372.3 kB / 0.5173 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.707e-05/0.3674, allocations: 96.03 kB / 0.5174 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.652e-05/0.3675, allocations: 6.312 kB / 0.5174 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.3676, allocations: 10.72 kB / 0.5174 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.567e-05/0.3677, allocations: 8.219 kB / 0.5175 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.3677, allocations: 7.297 kB / 0.5175 GB, free: 14.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001627/0.3679, allocations: 176 kB / 0.5176 GB, free: 14.46 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3679, allocations: 3.938 kB / 0.5176 GB, free: 14.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003556/0.3682, allocations: 45.06 kB / 0.5177 GB, free: 14.45 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001157/0.3683, allocations: 95.27 kB / 0.5178 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003448/0.3687, allocations: 215.1 kB / 0.518 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.3687, allocations: 4.125 kB / 0.518 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.756e-05/0.3688, allocations: 57.02 kB / 0.518 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005198/0.3693, allocations: 45.91 kB / 0.5181 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.3704, allocations: 0.6359 MB / 0.5187 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.3708, allocations: 0.7693 MB / 0.5194 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.992e-05/0.3709, allocations: 22.27 kB / 0.5195 GB, free: 13.03 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3709, allocations: 0 / 0.5195 GB, free: 13.03 MB / 398.1 MB Notification: Performance of Templates: time 0.006575/0.3774, allocations: 3.51 MB / 0.5229 GB, free: 12.71 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