Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009221/0.000922, allocations: 175 kB / 17.4 MB, free: 4.418 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.631/1.631, allocations: 205.4 MB / 223.5 MB, free: 9.02 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.000744/0.0007439, allocations: 85.42 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2105/0.2105, allocations: 38.08 MB / 358.2 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.00036, allocations: 15.98 kB / 425.2 MB, free: 37.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2805, allocations: 56.32 MB / 481.6 MB, free: 9.594 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1287/0.4093, allocations: 96.43 MB / 0.5644 GB, free: 5.824 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.4095, allocations: 95.81 kB / 0.5645 GB, free: 5.734 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03512/0.4446, allocations: 12.51 MB / 0.5767 GB, free: 9.062 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4447, allocations: 0 / 0.5767 GB, free: 9.062 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.592e-05/0.4447, allocations: 11.94 kB / 0.5768 GB, free: 9.051 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001211/0.4459, allocations: 0.6608 MB / 0.5774 GB, free: 8.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.446, allocations: 12.02 kB / 0.5774 GB, free: 8.328 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006285/0.4466, allocations: 92.31 kB / 0.5775 GB, free: 8.238 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.4479, allocations: 0.577 MB / 0.5781 GB, free: 7.621 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.018e-05/0.4479, allocations: 25.38 kB / 0.5781 GB, free: 7.598 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.202e-05/0.448, allocations: 32.38 kB / 0.5781 GB, free: 7.566 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000788/0.4488, allocations: 477.3 kB / 0.5786 GB, free: 7.074 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.4488, allocations: 7.938 kB / 0.5786 GB, free: 7.066 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.975e-05/0.4489, allocations: 12 kB / 0.5786 GB, free: 7.055 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-05/0.4489, allocations: 20.98 kB / 0.5786 GB, free: 7.035 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006015/0.4495, allocations: 347.7 kB / 0.5789 GB, free: 6.695 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00244/0.452, allocations: 1.725 MB / 0.5806 GB, free: 4.852 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.4523, allocations: 145.1 kB / 0.5808 GB, free: 4.691 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.4525, allocations: 113.7 kB / 0.5809 GB, free: 4.574 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.4525, allocations: 4 kB / 0.5809 GB, free: 4.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.4525, allocations: 46.5 kB / 0.5809 GB, free: 4.516 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 2.294e-06/0.4525, allocations: 0 / 0.5809 GB, free: 4.516 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.001569/0.4541, allocations: 0.8854 MB / 0.5818 GB, free: 3.559 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.4542, allocations: 89.03 kB / 0.5819 GB, free: 3.453 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000354/0.4546, allocations: 308.5 kB / 0.5822 GB, free: 3.145 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.4546, allocations: 33.69 kB / 0.5822 GB, free: 3.105 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.4548, allocations: 251.5 kB / 0.5824 GB, free: 2.852 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.51e-05/0.4548, allocations: 59.11 kB / 0.5825 GB, free: 2.793 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.288e-05/0.4549, allocations: 4 kB / 0.5825 GB, free: 2.789 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.455, allocations: 342.8 kB / 0.5828 GB, free: 2.445 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.4552, allocations: 100.2 kB / 0.5829 GB, free: 2.344 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.4554, allocations: 197.2 kB / 0.5831 GB, free: 2.105 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004603/0.4559, allocations: 324.5 kB / 0.5834 GB, free: 1.742 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.4559, allocations: 3.938 kB / 0.5834 GB, free: 1.738 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001323/0.4572, allocations: 477.4 kB / 0.5839 GB, free: 1.262 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.4573, allocations: 4 kB / 0.5839 GB, free: 1.258 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008947/0.4582, allocations: 312.8 kB / 0.5842 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007626/0.459, allocations: 132.7 kB / 0.5843 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003532/0.4593, allocations: 59.91 kB / 0.5844 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00409/0.4634, allocations: 2.209 MB / 0.5865 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/0.4639, allocations: 15.91 kB / 0.5865 GB, free: 14.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.581e-05/0.4639, allocations: 12 kB / 0.5866 GB, free: 14.39 MB / 426.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 (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004383/0.4644, allocations: 205 kB / 0.5867 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.656e-05/0.4645, allocations: 27.72 kB / 0.5868 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007312/0.4652, allocations: 269.3 kB / 0.587 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.4653, allocations: 0 / 0.587 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4653, allocations: 4 kB / 0.587 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.4653, allocations: 3.984 kB / 0.587 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/0.4672, allocations: 0.743 MB / 0.5878 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.4672, allocations: 4 kB / 0.5878 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003294/0.4676, allocations: 35.97 kB / 0.5878 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001694/0.4677, allocations: 44.77 kB / 0.5878 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.4678, allocations: 3.938 kB / 0.5879 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.4678, allocations: 4 kB / 0.5879 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4678, allocations: 0 / 0.5879 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008723/0.4687, allocations: 442.3 kB / 0.5883 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.4689, allocations: 108.7 kB / 0.5884 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.854e-05/0.469, allocations: 4.031 kB / 0.5884 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.4692, allocations: 8 kB / 0.5884 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.4692, allocations: 11.98 kB / 0.5884 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/0.4693, allocations: 15.98 kB / 0.5884 GB, free: 12.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003726/0.4697, allocations: 215.3 kB / 0.5886 GB, free: 12.14 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4697, allocations: 0 / 0.5886 GB, free: 12.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009103/0.4706, allocations: 95.98 kB / 0.5887 GB, free: 12.05 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002554/0.4709, allocations: 130 kB / 0.5888 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.472, allocations: 407.4 kB / 0.5892 GB, free: 11.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.472, allocations: 192 / 0.5892 GB, free: 11.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000239/0.4722, allocations: 185.7 kB / 0.5894 GB, free: 11.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007687/0.473, allocations: 61.69 kB / 0.5895 GB, free: 11.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.4752, allocations: 1.079 MB / 0.5905 GB, free: 10.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006188/0.4759, allocations: 0.8421 MB / 0.5913 GB, free: 9.258 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003403/0.4762, allocations: 62.92 kB / 0.5914 GB, free: 9.195 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.226e-05/0.4763, allocations: 23.44 kB / 0.5914 GB, free: 9.172 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/0.4763, allocations: 0 / 0.5914 GB, free: 9.172 MB / 426.7 MB Notification: Performance of Templates: time 0.0132/0.4895, allocations: 3.779 MB / 0.5951 GB, free: 5.402 MB / 426.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches