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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001363/0.001363, allocations: 181.3 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008811/0.0008813, allocations: 96.06 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1754/0.1754, allocations: 38.07 MB / 357.2 MB, free: 1.871 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003289/0.0003289, allocations: 8 kB / 424 MB, free: 37.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3066, allocations: 56.31 MB / 480.3 MB, free: 9.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1289/0.4355, allocations: 93.94 MB / 0.5608 GB, free: 8.484 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.4358, allocations: 91.94 kB / 0.5609 GB, free: 8.395 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01843/0.4543, allocations: 6.47 MB / 0.5672 GB, free: 1.848 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4543, allocations: 0 / 0.5672 GB, free: 1.848 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.004e-05/0.4543, allocations: 4 kB / 0.5672 GB, free: 1.844 MB / 394.7 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.0009329/0.4553, allocations: 0.582 MB / 0.5678 GB, free: 1.215 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.4553, allocations: 8.031 kB / 0.5678 GB, free: 1.207 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.457e-05/0.4554, allocations: 35.58 kB / 0.5678 GB, free: 1.172 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.4569, allocations: 0.6711 MB / 0.5685 GB, free: 472 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.4569, allocations: 16.44 kB / 0.5685 GB, free: 456 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.4571, allocations: 28 kB / 0.5685 GB, free: 428 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000425/0.4575, allocations: 293.8 kB / 0.5688 GB, free: 100 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.4575, allocations: 0 / 0.5688 GB, free: 100 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.4576, allocations: 15.95 kB / 0.5688 GB, free: 84 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.4576, allocations: 4 kB / 0.5688 GB, free: 80 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003088/0.4579, allocations: 183.8 kB / 0.569 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.4594, allocations: 1.28 MB / 0.5702 GB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.4597, allocations: 119.8 kB / 0.5703 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.4597, allocations: 11.92 kB / 0.5704 GB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.4598, allocations: 38.72 kB / 0.5704 GB, free: 14.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.804e-06/0.4598, allocations: 0 / 0.5704 GB, free: 14.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.000904/0.4607, allocations: 0.531 MB / 0.5709 GB, free: 13.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.4608, allocations: 115 kB / 0.571 GB, free: 13.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.461, allocations: 209.9 kB / 0.5712 GB, free: 13.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.461, allocations: 25.7 kB / 0.5712 GB, free: 13.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.4612, allocations: 199.5 kB / 0.5714 GB, free: 13.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.4612, allocations: 35.45 kB / 0.5715 GB, free: 13.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/0.4612, allocations: 8 kB / 0.5715 GB, free: 13.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.4613, allocations: 334.8 kB / 0.5718 GB, free: 12.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.905e-05/0.4614, allocations: 39.97 kB / 0.5718 GB, free: 12.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.4615, allocations: 139.2 kB / 0.572 GB, free: 12.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.4617, allocations: 55.94 kB / 0.572 GB, free: 12.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4617, allocations: 4 kB / 0.572 GB, free: 12.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003871/0.4621, allocations: 241.8 kB / 0.5723 GB, free: 12.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.4621, allocations: 4 kB / 0.5723 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.4621, allocations: 7.953 kB / 0.5723 GB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001176/0.4622, allocations: 28.84 kB / 0.5723 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/0.4626, allocations: 68.28 kB / 0.5724 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.4626, allocations: 7.938 kB / 0.5724 GB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.4627, allocations: 8 kB / 0.5724 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.4628, allocations: 8 kB / 0.5724 GB, free: 12.12 MB / 410.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001618/0.4629, allocations: 149.8 kB / 0.5725 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.213e-05/0.463, allocations: 23.72 kB / 0.5725 GB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.4633, allocations: 163.2 kB / 0.5727 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.4633, allocations: 3.953 kB / 0.5727 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.4633, allocations: 3.984 kB / 0.5727 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4633, allocations: 4 kB / 0.5727 GB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003601/0.4637, allocations: 289.4 kB / 0.573 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.4637, allocations: 4 kB / 0.573 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.4639, allocations: 27.92 kB / 0.573 GB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.259e-05/0.4639, allocations: 4 kB / 0.573 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.4639, allocations: 4 kB / 0.573 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.4639, allocations: 4 kB / 0.573 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.464, allocations: 3.953 kB / 0.573 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003973/0.4644, allocations: 401.4 kB / 0.5734 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-05/0.4644, allocations: 104.8 kB / 0.5735 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/0.4645, allocations: 0 / 0.5735 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.4646, allocations: 8.047 kB / 0.5735 GB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-05/0.4647, allocations: 12 kB / 0.5735 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.4647, allocations: 7.984 kB / 0.5735 GB, free: 10.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000143/0.4648, allocations: 166 kB / 0.5737 GB, free: 10.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4648, allocations: 0 / 0.5737 GB, free: 10.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003471/0.4652, allocations: 52 kB / 0.5738 GB, free: 10.6 MB / 410.7 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001343/0.4653, allocations: 103.2 kB / 0.5739 GB, free: 10.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003847/0.4657, allocations: 217.8 kB / 0.5741 GB, free: 10.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4657, allocations: 0 / 0.5741 GB, free: 10.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.4658, allocations: 55.92 kB / 0.5741 GB, free: 10.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.4663, allocations: 43.95 kB / 0.5742 GB, free: 10.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009818/0.4673, allocations: 0.7612 MB / 0.5749 GB, free: 9.363 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.4676, allocations: 0.7835 MB / 0.5757 GB, free: 8.555 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.4677, allocations: 34.27 kB / 0.5757 GB, free: 8.523 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.32e-05/0.4678, allocations: 19.44 kB / 0.5757 GB, free: 8.504 MB / 410.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4678, allocations: 3.938 kB / 0.5757 GB, free: 8.5 MB / 410.7 MB Notification: Performance of Templates: time 0.004946/0.4727, allocations: 2.068 MB / 0.5777 GB, free: 6.445 MB / 410.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches