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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.0009842/0.0009843, allocations: 180.9 kB / 16.38 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.494/1.494, 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.001181/0.001181, allocations: 91.23 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1937/0.1937, allocations: 38.05 MB / 357.2 MB, free: 1.887 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004345/0.0004346, allocations: 8 kB / 424 MB, free: 37.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3138, allocations: 56.32 MB / 480.3 MB, free: 9.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1279/0.4417, allocations: 94.23 MB / 0.5611 GB, free: 8.195 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.442, allocations: 95.94 kB / 0.5612 GB, free: 8.102 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01728/0.4593, allocations: 6.147 MB / 0.5672 GB, free: 1.883 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.4593, allocations: 0 / 0.5672 GB, free: 1.883 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.256e-05/0.4593, allocations: 8 kB / 0.5672 GB, free: 1.875 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000881/0.4602, allocations: 0.5357 MB / 0.5677 GB, free: 1.293 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.4603, allocations: 8.031 kB / 0.5677 GB, free: 1.285 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.513e-05/0.4604, allocations: 31.92 kB / 0.5677 GB, free: 1.254 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/0.4622, allocations: 0.7732 MB / 0.5685 GB, free: 452 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.4622, allocations: 20.44 kB / 0.5685 GB, free: 428 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.923e-05/0.4623, allocations: 16 kB / 0.5685 GB, free: 412 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003678/0.4627, allocations: 266 kB / 0.5688 GB, free: 120 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.4627, allocations: 4 kB / 0.5688 GB, free: 116 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.4627, allocations: 8 kB / 0.5688 GB, free: 108 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.4627, allocations: 8 kB / 0.5688 GB, free: 100 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000255/0.463, allocations: 155.8 kB / 0.5689 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.4643, allocations: 1.175 MB / 0.5701 GB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.4645, allocations: 81.05 kB / 0.5702 GB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.4645, allocations: 4 kB / 0.5702 GB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.4646, allocations: 34.69 kB / 0.5702 GB, free: 14.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.4646, allocations: 3.938 kB / 0.5702 GB, free: 14.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008285/0.4654, allocations: 401.2 kB / 0.5706 GB, free: 14.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.106e-05/0.4655, allocations: 85.23 kB / 0.5707 GB, free: 13.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.4658, allocations: 221.6 kB / 0.5709 GB, free: 13.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.4658, allocations: 25.7 kB / 0.5709 GB, free: 13.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.4659, allocations: 187.6 kB / 0.5711 GB, free: 13.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.466, allocations: 27.64 kB / 0.5711 GB, free: 13.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.766e-06/0.466, allocations: 4 kB / 0.5711 GB, free: 13.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.4661, allocations: 334.7 kB / 0.5714 GB, free: 13.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.829e-05/0.4662, allocations: 28.36 kB / 0.5715 GB, free: 13.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.4663, allocations: 125.5 kB / 0.5716 GB, free: 12.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.254e-05/0.4664, allocations: 52 kB / 0.5716 GB, free: 12.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.4664, allocations: 0 / 0.5716 GB, free: 12.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002545/0.4667, allocations: 181.1 kB / 0.5718 GB, free: 12.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.4667, allocations: 8 kB / 0.5718 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.4667, allocations: 4.188 kB / 0.5718 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.4668, allocations: 4 kB / 0.5718 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.4669, allocations: 48.36 kB / 0.5719 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.4669, allocations: 7.984 kB / 0.5719 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.421e-05/0.467, allocations: 8 kB / 0.5719 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.4671, allocations: 12 kB / 0.5719 GB, free: 12.65 MB / 410.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000137/0.4672, allocations: 157.6 kB / 0.572 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.846e-05/0.4672, allocations: 23.72 kB / 0.5721 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001568/0.4674, allocations: 87.39 kB / 0.5721 GB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.4674, allocations: 4 kB / 0.5722 GB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.4674, allocations: 3.938 kB / 0.5722 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.4675, allocations: 7.984 kB / 0.5722 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004605/0.4679, allocations: 415.3 kB / 0.5726 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4679, allocations: 4 kB / 0.5726 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.915e-05/0.468, allocations: 15.94 kB / 0.5726 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.468, allocations: 3.984 kB / 0.5726 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.4681, allocations: 4 kB / 0.5726 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4681, allocations: 0 / 0.5726 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4681, allocations: 0 / 0.5726 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.4683, allocations: 263.2 kB / 0.5728 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.4684, allocations: 88.95 kB / 0.5729 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.4684, allocations: 8 kB / 0.5729 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.532e-05/0.4685, allocations: 3.953 kB / 0.5729 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.403e-05/0.4686, allocations: 12.05 kB / 0.5729 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.4686, allocations: 0 / 0.5729 GB, free: 11.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001444/0.4687, allocations: 170 kB / 0.5731 GB, free: 11.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4687, allocations: 0 / 0.5731 GB, free: 11.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002845/0.469, allocations: 40 kB / 0.5731 GB, free: 11.24 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (9): * Single equations (assignments): 8 * 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.0001265/0.4691, allocations: 118.9 kB / 0.5733 GB, free: 11.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001591/0.4693, allocations: 88.33 kB / 0.5733 GB, free: 11.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4693, allocations: 4 kB / 0.5733 GB, free: 11.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.352e-05/0.4694, allocations: 23.94 kB / 0.5734 GB, free: 11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.4697, allocations: 52.47 kB / 0.5734 GB, free: 10.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008465/0.4706, allocations: 0.622 MB / 0.574 GB, free: 10.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.471, allocations: 0.7716 MB / 0.5748 GB, free: 9.492 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001101/0.4711, allocations: 30.28 kB / 0.5748 GB, free: 9.461 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/0.4711, allocations: 23.42 kB / 0.5748 GB, free: 9.438 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4711, allocations: 0 / 0.5748 GB, free: 9.438 MB / 410.7 MB Notification: Performance of Templates: time 0.004255/0.4754, allocations: 1.618 MB / 0.5764 GB, free: 7.836 MB / 410.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Source.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches