Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.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.Introductory.Frequency,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency") translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001701/0.001702, allocations: 180.2 kB / 16.38 MB, free: 5.762 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.559/1.559, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0009236/0.0009236, allocations: 104.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.2165/0.2165, allocations: 38.06 MB / 357.2 MB, free: 1.887 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.0003239, allocations: 11.98 kB / 424 MB, free: 37.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.372, allocations: 56.31 MB / 480.3 MB, free: 9.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1435/0.5156, allocations: 95.12 MB / 0.5619 GB, free: 7.305 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.5159, allocations: 87.95 kB / 0.562 GB, free: 7.219 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02746/0.5434, allocations: 10.22 MB / 0.572 GB, free: 12.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.5434, allocations: 0 / 0.572 GB, free: 12.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.917e-05/0.5434, allocations: 20.06 kB / 0.572 GB, free: 12.87 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001326/0.5448, allocations: 0.746 MB / 0.5727 GB, free: 12.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.5448, allocations: 8.031 kB / 0.5728 GB, free: 12.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.5449, allocations: 55.64 kB / 0.5728 GB, free: 12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002389/0.5473, allocations: 1.018 MB / 0.5738 GB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.5474, allocations: 33 kB / 0.5738 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.685e-05/0.5475, allocations: 36 kB / 0.5739 GB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006686/0.5481, allocations: 463.3 kB / 0.5743 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.5482, allocations: 3.938 kB / 0.5743 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.849e-05/0.5482, allocations: 12 kB / 0.5743 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.5482, allocations: 8 kB / 0.5743 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004656/0.5487, allocations: 312.6 kB / 0.5746 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002032/0.5507, allocations: 1.756 MB / 0.5763 GB, free: 8.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.551, allocations: 147.8 kB / 0.5765 GB, free: 8.008 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.551, allocations: 7.953 kB / 0.5765 GB, free: 8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.551, allocations: 39.06 kB / 0.5765 GB, free: 7.953 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.402e-06/0.5511, allocations: 0 / 0.5765 GB, free: 7.953 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009999/0.5521, allocations: 0.6038 MB / 0.5771 GB, free: 7.293 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.194e-05/0.5521, allocations: 106.8 kB / 0.5772 GB, free: 7.164 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.5525, allocations: 320.8 kB / 0.5775 GB, free: 6.844 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.5525, allocations: 25.7 kB / 0.5775 GB, free: 6.812 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/0.5527, allocations: 279.4 kB / 0.5778 GB, free: 6.535 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.873e-05/0.5528, allocations: 55.2 kB / 0.5779 GB, free: 6.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.453e-05/0.5528, allocations: 12 kB / 0.5779 GB, free: 6.469 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.553, allocations: 350.8 kB / 0.5782 GB, free: 6.117 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.603e-05/0.5531, allocations: 43.97 kB / 0.5783 GB, free: 6.074 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.5533, allocations: 198.9 kB / 0.5784 GB, free: 5.812 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.5534, allocations: 84.3 kB / 0.5785 GB, free: 5.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.5535, allocations: 4 kB / 0.5785 GB, free: 5.727 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004013/0.5539, allocations: 280.7 kB / 0.5788 GB, free: 5.445 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.5539, allocations: 15.55 kB / 0.5788 GB, free: 5.434 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.5539, allocations: 8 kB / 0.5788 GB, free: 5.426 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.554, allocations: 8 kB / 0.5788 GB, free: 5.418 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.5542, allocations: 71.84 kB / 0.5789 GB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-05/0.5543, allocations: 11.98 kB / 0.5789 GB, free: 5.336 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.5544, allocations: 12 kB / 0.5789 GB, free: 5.324 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.5545, allocations: 16 kB / 0.5789 GB, free: 5.309 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (37): * Single equations (assignments): 37 * 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.0001924/0.5547, allocations: 177.6 kB / 0.5791 GB, free: 5.125 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-05/0.5547, allocations: 43.53 kB / 0.5791 GB, free: 5.082 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003194/0.5551, allocations: 180.5 kB / 0.5793 GB, free: 4.898 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.5551, allocations: 4 kB / 0.5793 GB, free: 4.895 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.5551, allocations: 0 / 0.5793 GB, free: 4.895 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.485e-06/0.5551, allocations: 7.938 kB / 0.5793 GB, free: 4.887 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008419/0.556, allocations: 0.5226 MB / 0.5798 GB, free: 4.305 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.556, allocations: 7.953 kB / 0.5798 GB, free: 4.297 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.5562, allocations: 31.98 kB / 0.5799 GB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.5562, allocations: 3.938 kB / 0.5799 GB, free: 4.262 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.5562, allocations: 12.03 kB / 0.5799 GB, free: 4.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.5562, allocations: 0 / 0.5799 GB, free: 4.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.5562, allocations: 0 / 0.5799 GB, free: 4.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005794/0.5568, allocations: 432.4 kB / 0.5803 GB, free: 3.789 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.557, allocations: 113.1 kB / 0.5804 GB, free: 3.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.889e-05/0.557, allocations: 4.031 kB / 0.5804 GB, free: 3.656 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.5572, allocations: 11.94 kB / 0.5804 GB, free: 3.645 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.5572, allocations: 15.94 kB / 0.5804 GB, free: 3.629 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.5573, allocations: 8 kB / 0.5805 GB, free: 3.621 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002895/0.5576, allocations: 251.2 kB / 0.5807 GB, free: 3.379 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5576, allocations: 0 / 0.5807 GB, free: 3.379 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000433/0.558, allocations: 80 kB / 0.5808 GB, free: 3.301 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (voltage2.theta,ind2.i,ind1.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 (18): * Single equations (assignments): 17 * 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.0001806/0.5582, allocations: 103.2 kB / 0.5809 GB, free: 3.191 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002946/0.5585, allocations: 156.7 kB / 0.581 GB, free: 3.039 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.5585, allocations: 0 / 0.581 GB, free: 3.039 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.5586, allocations: 60.11 kB / 0.5811 GB, free: 2.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006164/0.5593, allocations: 90.45 kB / 0.5812 GB, free: 2.895 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.5609, allocations: 1.074 MB / 0.5822 GB, free: 1.781 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005401/0.5615, allocations: 0.8623 MB / 0.583 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001901/0.5617, allocations: 43.27 kB / 0.5831 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.268e-05/0.5618, allocations: 27.44 kB / 0.5831 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5618, allocations: 0 / 0.5831 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of Templates: time 0.007156/0.5689, allocations: 2.986 MB / 0.586 GB, free: 13.85 MB / 426.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Frequency.mat","../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches