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.001365/0.001365, allocations: 175.8 kB / 17.4 MB, free: 4.418 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.538/1.538, allocations: 205.4 MB / 223.5 MB, free: 9.023 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.0007195/0.0007195, allocations: 78.44 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1776/0.1776, allocations: 38.07 MB / 358.2 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003504, allocations: 8 kB / 425.2 MB, free: 37.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3189, allocations: 56.32 MB / 481.6 MB, free: 9.594 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1242/0.4431, allocations: 93.97 MB / 0.562 GB, free: 8.285 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.4434, allocations: 103.8 kB / 0.5621 GB, free: 8.188 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01759/0.461, allocations: 6.453 MB / 0.5684 GB, free: 1.656 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4611, allocations: 0 / 0.5684 GB, free: 1.656 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.824e-05/0.4611, allocations: 4 kB / 0.5685 GB, free: 1.652 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.0008352/0.4619, allocations: 0.5705 MB / 0.569 GB, free: 1.035 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.462, allocations: 8.031 kB / 0.569 GB, free: 1.027 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.744e-05/0.4621, allocations: 32.56 kB / 0.569 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006993/0.4628, allocations: 430.8 kB / 0.5695 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.4628, allocations: 16.81 kB / 0.5695 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.463, allocations: 44.67 kB / 0.5695 GB, free: 488 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004059/0.4634, allocations: 289.8 kB / 0.5698 GB, free: 164 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.4634, allocations: 0 / 0.5698 GB, free: 164 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.4634, allocations: 12 kB / 0.5698 GB, free: 152 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.4634, allocations: 8 kB / 0.5698 GB, free: 144 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002979/0.4637, allocations: 183.8 kB / 0.57 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.4651, allocations: 1.272 MB / 0.5712 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.4654, allocations: 124.1 kB / 0.5713 GB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.357e-05/0.4655, allocations: 54.61 kB / 0.5714 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.4655, allocations: 0 / 0.5714 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.4655, allocations: 42.55 kB / 0.5714 GB, free: 14.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.163e-06/0.4655, allocations: 0 / 0.5714 GB, free: 14.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008641/0.4664, allocations: 0.5348 MB / 0.572 GB, free: 13.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.4665, allocations: 102.8 kB / 0.5721 GB, free: 13.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.4667, allocations: 238.7 kB / 0.5723 GB, free: 13.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.4667, allocations: 33.64 kB / 0.5723 GB, free: 13.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.4668, allocations: 195.6 kB / 0.5725 GB, free: 13.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.4669, allocations: 39.69 kB / 0.5725 GB, free: 13.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-06/0.4669, allocations: 8 kB / 0.5726 GB, free: 13.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.467, allocations: 338.8 kB / 0.5729 GB, free: 12.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.735e-05/0.4671, allocations: 35.98 kB / 0.5729 GB, free: 12.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.4672, allocations: 132.3 kB / 0.573 GB, free: 12.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.4674, allocations: 187.8 kB / 0.5732 GB, free: 12.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.4674, allocations: 0 / 0.5732 GB, free: 12.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003591/0.4678, allocations: 229.9 kB / 0.5734 GB, free: 12.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.4678, allocations: 8 kB / 0.5734 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.4678, allocations: 3.938 kB / 0.5734 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001136/0.468, allocations: 29.25 kB / 0.5735 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/0.4683, allocations: 67.88 kB / 0.5735 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.4683, allocations: 4 kB / 0.5735 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.4684, allocations: 11.94 kB / 0.5736 GB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.4684, allocations: 12 kB / 0.5736 GB, free: 11.94 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.0001377/0.4686, allocations: 153.6 kB / 0.5737 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.68e-05/0.4686, allocations: 23.72 kB / 0.5737 GB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/0.4689, allocations: 143.4 kB / 0.5739 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.4689, allocations: 4 kB / 0.5739 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4689, allocations: 0 / 0.5739 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.4689, allocations: 3.938 kB / 0.5739 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003422/0.4693, allocations: 281.5 kB / 0.5741 GB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4693, allocations: 3.938 kB / 0.5742 GB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.4694, allocations: 23.98 kB / 0.5742 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.4694, allocations: 4 kB / 0.5742 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.4695, allocations: 11.92 kB / 0.5742 GB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.4695, allocations: 4 kB / 0.5742 GB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4695, allocations: 4 kB / 0.5742 GB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003574/0.4698, allocations: 362.1 kB / 0.5745 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.4699, allocations: 104.8 kB / 0.5746 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.4699, allocations: 0 / 0.5746 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.4701, allocations: 7.984 kB / 0.5746 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.4702, allocations: 16 kB / 0.5747 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.4702, allocations: 7.984 kB / 0.5747 GB, free: 10.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001284/0.4703, allocations: 166 kB / 0.5748 GB, free: 10.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4703, allocations: 96 / 0.5748 GB, free: 10.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000322/0.4706, allocations: 51.94 kB / 0.5749 GB, free: 10.5 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 (14): * Single equations (assignments): 13 * 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.0001256/0.4708, allocations: 99.25 kB / 0.575 GB, free: 10.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003057/0.4711, allocations: 217.7 kB / 0.5752 GB, free: 10.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4711, allocations: 4 kB / 0.5752 GB, free: 10.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.712e-05/0.4712, allocations: 51.91 kB / 0.5752 GB, free: 10.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.4717, allocations: 45.05 kB / 0.5753 GB, free: 10.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009893/0.4727, allocations: 0.7731 MB / 0.576 GB, free: 9.246 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.473, allocations: 0.7716 MB / 0.5768 GB, free: 8.449 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000117/0.4731, allocations: 26.28 kB / 0.5768 GB, free: 8.426 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.57e-05/0.4732, allocations: 19.44 kB / 0.5768 GB, free: 8.406 MB / 410.7 MB Notification: Performance of SimCode: time 2.01e-07/0.4732, allocations: 0 / 0.5768 GB, free: 8.406 MB / 410.7 MB Notification: Performance of Templates: time 0.004728/0.4779, allocations: 2.041 MB / 0.5788 GB, free: 6.379 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/jenkins1/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