Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.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.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 175.1 kB / 13.63 MB, free: 1.684 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.474/1.474, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0008518/0.0008518, allocations: 78.72 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.163/0.163, allocations: 37.98 MB / 353.5 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.322e-05/2.324e-05, allocations: 4 kB / 417.7 MB, free: 29.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1089, allocations: 56.32 MB / 474.1 MB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3556/0.4646, allocations: 94.37 MB / 0.5551 GB, free: 8.234 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.4649, allocations: 86.17 kB / 0.5552 GB, free: 8.191 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01718/0.4821, allocations: 6.662 MB / 0.5617 GB, free: 2.453 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4821, allocations: 3.938 kB / 0.5617 GB, free: 2.449 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.9e-05/0.4822, allocations: 11.94 kB / 0.5617 GB, free: 2.438 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0006617/0.4828, allocations: 0.546 MB / 0.5622 GB, free: 1.867 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.4829, allocations: 16.03 kB / 0.5623 GB, free: 1.852 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.271e-05/0.483, allocations: 31.92 kB / 0.5623 GB, free: 1.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.4841, allocations: 0.592 MB / 0.5629 GB, free: 1.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.4841, allocations: 15.38 kB / 0.5629 GB, free: 1.258 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.786e-05/0.4842, allocations: 19.25 kB / 0.5629 GB, free: 1.246 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004093/0.4846, allocations: 319.1 kB / 0.5632 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.4846, allocations: 0 / 0.5632 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.4847, allocations: 7.609 kB / 0.5632 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.4847, allocations: 8 kB / 0.5632 GB, free: 0.9688 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002937/0.485, allocations: 214.4 kB / 0.5634 GB, free: 0.8203 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.4863, allocations: 1.351 MB / 0.5647 GB, free: 15.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003343/0.4867, allocations: 149.4 kB / 0.5649 GB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.58e-05/0.4868, allocations: 56.95 kB / 0.5649 GB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.4868, allocations: 4 kB / 0.5649 GB, free: 15.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.4868, allocations: 34.56 kB / 0.565 GB, free: 15.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.4869, allocations: 0 / 0.565 GB, free: 15.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007071/0.4876, allocations: 313.8 kB / 0.5653 GB, free: 15.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/0.4876, allocations: 85.05 kB / 0.5654 GB, free: 14.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.4879, allocations: 234.5 kB / 0.5656 GB, free: 14.72 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.4879, allocations: 25.7 kB / 0.5656 GB, free: 14.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.488, allocations: 207 kB / 0.5658 GB, free: 14.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.036e-05/0.4881, allocations: 45.11 kB / 0.5658 GB, free: 14.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.622e-05/0.4881, allocations: 7.375 kB / 0.5659 GB, free: 14.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.4883, allocations: 331.8 kB / 0.5662 GB, free: 14.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.476e-05/0.4884, allocations: 52.17 kB / 0.5662 GB, free: 14.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.4885, allocations: 145 kB / 0.5664 GB, free: 13.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.4887, allocations: 80.86 kB / 0.5664 GB, free: 13.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4887, allocations: 0 / 0.5664 GB, free: 13.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003438/0.489, allocations: 246.7 kB / 0.5667 GB, free: 13.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.489, allocations: 4 kB / 0.5667 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.4891, allocations: 7.984 kB / 0.5667 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.4891, allocations: 4 kB / 0.5667 GB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.4893, allocations: 44.36 kB / 0.5667 GB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.4893, allocations: 19.92 kB / 0.5667 GB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.4894, allocations: 11.38 kB / 0.5668 GB, free: 13.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.4895, allocations: 15.39 kB / 0.5668 GB, free: 13.59 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 8.616e-05/0.4896, allocations: 116.3 kB / 0.5669 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.4896, allocations: 23.72 kB / 0.5669 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003375/0.49, allocations: 195 kB / 0.5671 GB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.49, allocations: 7.938 kB / 0.5671 GB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.49, allocations: 4 kB / 0.5671 GB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.49, allocations: 0 / 0.5671 GB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00066/0.4907, allocations: 0.5555 MB / 0.5676 GB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4907, allocations: 0 / 0.5676 GB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.4908, allocations: 23.98 kB / 0.5677 GB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.4908, allocations: 4 kB / 0.5677 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.4909, allocations: 6.812 kB / 0.5677 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.4909, allocations: 4 kB / 0.5677 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4909, allocations: 0 / 0.5677 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/0.4912, allocations: 317.9 kB / 0.568 GB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.619e-05/0.4913, allocations: 100.1 kB / 0.5681 GB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.4913, allocations: 11.94 kB / 0.5681 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.4914, allocations: 3.562 kB / 0.5681 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.4915, allocations: 15.98 kB / 0.5681 GB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.4915, allocations: 7.062 kB / 0.5681 GB, free: 12.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001607/0.4917, allocations: 181.6 kB / 0.5683 GB, free: 12.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4917, allocations: 0 / 0.5683 GB, free: 12.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003218/0.492, allocations: 51.5 kB / 0.5683 GB, free: 12.08 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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.0001799/0.4922, allocations: 113.9 kB / 0.5684 GB, free: 11.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000276/0.4925, allocations: 158.5 kB / 0.5686 GB, free: 11.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4925, allocations: 4 kB / 0.5686 GB, free: 11.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.4926, allocations: 64.73 kB / 0.5687 GB, free: 11.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.493, allocations: 57.81 kB / 0.5687 GB, free: 11.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006122/0.4936, allocations: 342.5 kB / 0.569 GB, free: 11.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.494, allocations: 0.7823 MB / 0.5698 GB, free: 10.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000148/0.4941, allocations: 53.97 kB / 0.5699 GB, free: 10.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.043e-05/0.4942, allocations: 27.44 kB / 0.5699 GB, free: 10.53 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4942, allocations: 0 / 0.5699 GB, free: 10.53 MB / 378.7 MB Notification: Performance of Templates: time 0.005246/0.4994, allocations: 2.148 MB / 0.572 GB, free: 8.395 MB / 378.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches