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.00107/0.00107, allocations: 176.4 kB / 17.4 MB, free: 4.422 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.483/1.483, allocations: 205.4 MB / 223.5 MB, free: 9.027 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.0008334/0.0008335, allocations: 89.48 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.184/0.184, allocations: 38.08 MB / 358.2 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003776, allocations: 12 kB / 425.2 MB, free: 37.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2989, allocations: 56.32 MB / 481.6 MB, free: 9.602 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1303/0.4292, allocations: 94.25 MB / 0.5623 GB, free: 8.023 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.4295, allocations: 95.81 kB / 0.5624 GB, free: 7.934 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01695/0.4464, allocations: 6.13 MB / 0.5684 GB, free: 1.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4465, allocations: 0 / 0.5684 GB, free: 1.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.347e-05/0.4465, allocations: 4 kB / 0.5684 GB, free: 1.727 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.0008496/0.4474, allocations: 0.5436 MB / 0.5689 GB, free: 1.137 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.4474, allocations: 8.031 kB / 0.5689 GB, free: 1.129 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.482e-05/0.4475, allocations: 32.5 kB / 0.569 GB, free: 1.098 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008055/0.4483, allocations: 471.5 kB / 0.5694 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.4484, allocations: 16.81 kB / 0.5694 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.288e-05/0.4484, allocations: 20.38 kB / 0.5694 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004023/0.4488, allocations: 266.6 kB / 0.5697 GB, free: 280 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.4488, allocations: 3.938 kB / 0.5697 GB, free: 276 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.4489, allocations: 12 kB / 0.5697 GB, free: 264 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.4489, allocations: 4 kB / 0.5697 GB, free: 260 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002624/0.4492, allocations: 163.8 kB / 0.5699 GB, free: 96 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.4505, allocations: 1.175 MB / 0.571 GB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.4506, allocations: 77.11 kB / 0.5711 GB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.414e-05/0.4507, allocations: 37.75 kB / 0.5711 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.4507, allocations: 0 / 0.5711 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.4507, allocations: 34.56 kB / 0.5712 GB, free: 14.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.4507, allocations: 0 / 0.5712 GB, free: 14.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007366/0.4515, allocations: 409.4 kB / 0.5716 GB, free: 14.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.4516, allocations: 89.08 kB / 0.5716 GB, free: 14.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.4518, allocations: 238.5 kB / 0.5719 GB, free: 13.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.4518, allocations: 29.7 kB / 0.5719 GB, free: 13.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.4519, allocations: 191.6 kB / 0.5721 GB, free: 13.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.452, allocations: 31.55 kB / 0.5721 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/0.452, allocations: 0 / 0.5721 GB, free: 13.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.4521, allocations: 338.8 kB / 0.5724 GB, free: 13.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.093e-05/0.4522, allocations: 27.92 kB / 0.5725 GB, free: 13.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.4523, allocations: 124.8 kB / 0.5726 GB, free: 13.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.4525, allocations: 164.7 kB / 0.5727 GB, free: 12.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.4525, allocations: 0 / 0.5727 GB, free: 12.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002856/0.4528, allocations: 185 kB / 0.5729 GB, free: 12.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.4528, allocations: 8 kB / 0.5729 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.4528, allocations: 192 / 0.5729 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.4528, allocations: 11.98 kB / 0.5729 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.453, allocations: 43.98 kB / 0.573 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.453, allocations: 11.92 kB / 0.573 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.876e-05/0.4531, allocations: 12.38 kB / 0.573 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.4531, allocations: 15.94 kB / 0.573 GB, free: 12.55 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.0001365/0.4533, allocations: 149.7 kB / 0.5732 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.255e-05/0.4533, allocations: 15.81 kB / 0.5732 GB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001663/0.4535, allocations: 95.38 kB / 0.5733 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4535, allocations: 0 / 0.5733 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4535, allocations: 0 / 0.5733 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.4535, allocations: 7.984 kB / 0.5733 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004369/0.454, allocations: 427.2 kB / 0.5737 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.454, allocations: 0 / 0.5737 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.124e-05/0.4541, allocations: 19.94 kB / 0.5737 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.4541, allocations: 0 / 0.5737 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.4541, allocations: 3.984 kB / 0.5737 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.4541, allocations: 7.938 kB / 0.5737 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4541, allocations: 0 / 0.5737 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.4544, allocations: 225 kB / 0.5739 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.286e-05/0.4545, allocations: 96.86 kB / 0.574 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.4545, allocations: 0 / 0.574 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.752e-05/0.4546, allocations: 7.938 kB / 0.574 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-05/0.4546, allocations: 7.984 kB / 0.574 GB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.4547, allocations: 4.094 kB / 0.574 GB, free: 11.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001464/0.4548, allocations: 169.9 kB / 0.5742 GB, free: 11.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4548, allocations: 4.062 kB / 0.5742 GB, free: 11.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003043/0.4551, allocations: 44 kB / 0.5742 GB, free: 11.18 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.0001227/0.4553, allocations: 110.9 kB / 0.5743 GB, free: 11.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001739/0.4554, allocations: 79.84 kB / 0.5744 GB, free: 10.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4555, allocations: 0.875 kB / 0.5744 GB, free: 10.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.934e-05/0.4555, allocations: 32 kB / 0.5745 GB, free: 10.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000472/0.456, allocations: 59.78 kB / 0.5745 GB, free: 10.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009637/0.457, allocations: 0.6178 MB / 0.5751 GB, free: 10.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.4573, allocations: 0.7599 MB / 0.5759 GB, free: 9.457 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001332/0.4575, allocations: 30.27 kB / 0.5759 GB, free: 9.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.4575, allocations: 19.44 kB / 0.5759 GB, free: 9.41 MB / 410.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4575, allocations: 0 / 0.5759 GB, free: 9.41 MB / 410.7 MB Notification: Performance of Templates: time 0.004665/0.4622, allocations: 1.649 MB / 0.5775 GB, free: 7.777 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/jenkins1/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