Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.ImpedanceOneTerm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 179.3 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.492/1.492, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0008035/0.0008035, allocations: 100.1 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1697/0.1697, allocations: 38.06 MB / 357.2 MB, free: 1.891 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004081/0.0004084, allocations: 8 kB / 424 MB, free: 37.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2932, allocations: 56.32 MB / 480.3 MB, free: 9.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1351/0.4284, allocations: 94.86 MB / 0.5617 GB, free: 7.555 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.4287, allocations: 87.95 kB / 0.5618 GB, free: 7.469 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01842/0.4471, allocations: 6.626 MB / 0.5682 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4472, allocations: 0 / 0.5682 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.123e-05/0.4472, allocations: 7.938 kB / 0.5683 GB, free: 0.7578 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.0008748/0.4481, allocations: 0.5745 MB / 0.5688 GB, free: 140 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.4481, allocations: 8.031 kB / 0.5688 GB, free: 132 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.4482, allocations: 35.92 kB / 0.5689 GB, free: 96 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001796/0.45, allocations: 0.7803 MB / 0.5696 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.45, allocations: 12.44 kB / 0.5696 GB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.227e-05/0.4501, allocations: 31.84 kB / 0.5697 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004099/0.4505, allocations: 290.8 kB / 0.5699 GB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4505, allocations: 3.938 kB / 0.5699 GB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.4506, allocations: 15.98 kB / 0.57 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.4506, allocations: 4 kB / 0.57 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003212/0.4509, allocations: 184.9 kB / 0.5701 GB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.4522, allocations: 1.224 MB / 0.5713 GB, free: 13.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/0.4525, allocations: 105.2 kB / 0.5714 GB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.4525, allocations: 4.125 kB / 0.5714 GB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.4526, allocations: 42.61 kB / 0.5715 GB, free: 13.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.4526, allocations: 0 / 0.5715 GB, free: 13.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.001055/0.4536, allocations: 476.5 kB / 0.5719 GB, free: 12.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/0.4537, allocations: 81.11 kB / 0.572 GB, free: 12.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.454, allocations: 213.8 kB / 0.5722 GB, free: 12.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.4541, allocations: 37.77 kB / 0.5722 GB, free: 12.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.4542, allocations: 207.5 kB / 0.5724 GB, free: 12.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.562e-05/0.4543, allocations: 35.45 kB / 0.5725 GB, free: 12.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.189e-05/0.4543, allocations: 4 kB / 0.5725 GB, free: 12.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.4545, allocations: 338.8 kB / 0.5728 GB, free: 11.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.4546, allocations: 31.98 kB / 0.5728 GB, free: 11.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.4548, allocations: 132.7 kB / 0.573 GB, free: 11.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.455, allocations: 60.67 kB / 0.573 GB, free: 11.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.455, allocations: 0 / 0.573 GB, free: 11.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004529/0.4555, allocations: 205.1 kB / 0.5732 GB, free: 11.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.4555, allocations: 15.92 kB / 0.5732 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.4555, allocations: 0 / 0.5732 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.4556, allocations: 8 kB / 0.5732 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/0.4558, allocations: 39.92 kB / 0.5733 GB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/0.4558, allocations: 8 kB / 0.5733 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.456, allocations: 8 kB / 0.5733 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.4561, allocations: 12.31 kB / 0.5733 GB, free: 11.2 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 (24): * Single equations (assignments): 24 * 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.0002076/0.4563, allocations: 165.6 kB / 0.5735 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.751e-05/0.4564, allocations: 19.72 kB / 0.5735 GB, free: 11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003343/0.4567, allocations: 131.3 kB / 0.5736 GB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.4567, allocations: 0 / 0.5736 GB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.4567, allocations: 0 / 0.5736 GB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.4568, allocations: 4 kB / 0.5736 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008263/0.4576, allocations: 487.2 kB / 0.5741 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4576, allocations: 0 / 0.5741 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.4578, allocations: 27.92 kB / 0.5741 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4578, allocations: 0 / 0.5741 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.4579, allocations: 8 kB / 0.5741 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.4579, allocations: 0 / 0.5741 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.4579, allocations: 4 kB / 0.5741 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004906/0.4584, allocations: 303.1 kB / 0.5744 GB, free: 9.965 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.775e-05/0.4585, allocations: 104.8 kB / 0.5745 GB, free: 9.844 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/0.4586, allocations: 0 / 0.5745 GB, free: 9.844 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.4587, allocations: 11.95 kB / 0.5745 GB, free: 9.832 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.4588, allocations: 7.984 kB / 0.5745 GB, free: 9.824 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.4588, allocations: 0 / 0.5745 GB, free: 9.824 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002164/0.459, allocations: 170 kB / 0.5747 GB, free: 9.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4591, allocations: 4.062 kB / 0.5747 GB, free: 9.656 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005826/0.4596, allocations: 59.94 kB / 0.5747 GB, free: 9.598 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 (13): * Single equations (assignments): 12 * 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.0001539/0.4598, allocations: 99.23 kB / 0.5748 GB, free: 9.492 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003124/0.4601, allocations: 112.6 kB / 0.5749 GB, free: 9.383 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4601, allocations: 0 / 0.5749 GB, free: 9.383 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.4603, allocations: 48.2 kB / 0.575 GB, free: 9.336 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005542/0.4608, allocations: 59.12 kB / 0.575 GB, free: 9.281 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.4622, allocations: 0.6732 MB / 0.5757 GB, free: 8.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.4627, allocations: 0.7794 MB / 0.5765 GB, free: 7.766 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002026/0.4629, allocations: 34.28 kB / 0.5765 GB, free: 7.734 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.69e-05/0.463, allocations: 23.42 kB / 0.5765 GB, free: 7.711 MB / 410.7 MB Notification: Performance of SimCode: time 2.275e-06/0.463, allocations: 0 / 0.5765 GB, free: 7.711 MB / 410.7 MB Notification: Performance of Templates: time 0.006924/0.4699, allocations: 1.827 MB / 0.5783 GB, free: 5.895 MB / 410.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches