Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.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.PVsource,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.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,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.PVsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 176.9 kB / 17.4 MB, free: 4.297 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.52/1.52, allocations: 205.4 MB / 223.6 MB, free: 8.93 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.0007868/0.0007869, allocations: 83.88 kB / 271.9 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1719/0.1719, allocations: 38.08 MB / 358.3 MB, free: 1.719 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003718, allocations: 12 kB / 425.2 MB, free: 37.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2928, allocations: 56.31 MB / 481.6 MB, free: 9.594 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1311/0.4239, allocations: 96.62 MB / 0.5646 GB, free: 5.637 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.4243, allocations: 95.8 kB / 0.5647 GB, free: 5.547 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03539/0.4597, allocations: 12.53 MB / 0.577 GB, free: 8.855 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4598, allocations: 0 / 0.577 GB, free: 8.855 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.889e-05/0.4598, allocations: 8 kB / 0.577 GB, free: 8.848 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.001236/0.461, allocations: 0.6608 MB / 0.5776 GB, free: 8.137 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.4611, allocations: 8.031 kB / 0.5776 GB, free: 8.129 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006315/0.4617, allocations: 96.3 kB / 0.5777 GB, free: 8.035 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.4629, allocations: 0.5731 MB / 0.5783 GB, free: 7.422 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.4629, allocations: 26.12 kB / 0.5783 GB, free: 7.398 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.028e-05/0.463, allocations: 36 kB / 0.5783 GB, free: 7.363 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006873/0.4637, allocations: 468.7 kB / 0.5788 GB, free: 6.879 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.4637, allocations: 4 kB / 0.5788 GB, free: 6.875 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.582e-05/0.4638, allocations: 12 kB / 0.5788 GB, free: 6.863 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.546e-05/0.4638, allocations: 28.92 kB / 0.5788 GB, free: 6.836 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005333/0.4644, allocations: 331.7 kB / 0.5791 GB, free: 6.512 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002095/0.4665, allocations: 1.706 MB / 0.5808 GB, free: 4.688 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.4667, allocations: 145.2 kB / 0.5809 GB, free: 4.527 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.4669, allocations: 105.7 kB / 0.581 GB, free: 4.418 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.4669, allocations: 7.938 kB / 0.581 GB, free: 4.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.467, allocations: 34.56 kB / 0.5811 GB, free: 4.367 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.914e-06/0.467, allocations: 0 / 0.5811 GB, free: 4.367 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.00143/0.4684, allocations: 0.8605 MB / 0.5819 GB, free: 3.434 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.4685, allocations: 81.11 kB / 0.582 GB, free: 3.336 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.4688, allocations: 300.5 kB / 0.5823 GB, free: 3.035 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.4688, allocations: 29.7 kB / 0.5823 GB, free: 3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.469, allocations: 255.5 kB / 0.5825 GB, free: 2.742 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.218e-05/0.469, allocations: 63.09 kB / 0.5826 GB, free: 2.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.188e-05/0.469, allocations: 4 kB / 0.5826 GB, free: 2.676 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.4692, allocations: 342.8 kB / 0.5829 GB, free: 2.332 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.4693, allocations: 96.22 kB / 0.583 GB, free: 2.234 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.4695, allocations: 189.2 kB / 0.5832 GB, free: 2.004 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000363/0.4699, allocations: 320.4 kB / 0.5835 GB, free: 1.645 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.4699, allocations: 0 / 0.5835 GB, free: 1.645 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007914/0.4707, allocations: 449.4 kB / 0.5839 GB, free: 1.195 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.4707, allocations: 10.94 kB / 0.584 GB, free: 1.188 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005537/0.4713, allocations: 296.4 kB / 0.5842 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004454/0.4718, allocations: 128.7 kB / 0.5844 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.4719, allocations: 55.91 kB / 0.5844 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0024/0.4744, allocations: 2.154 MB / 0.5865 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.4746, allocations: 19.89 kB / 0.5865 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.4746, allocations: 8 kB / 0.5865 GB, free: 14.4 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.0002148/0.4748, allocations: 201.6 kB / 0.5867 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.538e-05/0.4749, allocations: 27.66 kB / 0.5868 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004113/0.4753, allocations: 249.4 kB / 0.587 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.4753, allocations: 7.984 kB / 0.587 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.4753, allocations: 3.938 kB / 0.587 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.4754, allocations: 3.984 kB / 0.587 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.4764, allocations: 0.7234 MB / 0.5877 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.4764, allocations: 0 / 0.5877 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/0.4767, allocations: 31.98 kB / 0.5878 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.652e-05/0.4768, allocations: 32.83 kB / 0.5878 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.4768, allocations: 12 kB / 0.5878 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/0.478, allocations: 1.482 MB / 0.5892 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.478, allocations: 0 / 0.5892 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005034/0.4785, allocations: 421.2 kB / 0.5896 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-05/0.4786, allocations: 108.9 kB / 0.5898 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.4786, allocations: 4 kB / 0.5898 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.4788, allocations: 15.89 kB / 0.5898 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.4788, allocations: 15.92 kB / 0.5898 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.4789, allocations: 8 kB / 0.5898 GB, free: 10.81 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002071/0.4791, allocations: 215.1 kB / 0.59 GB, free: 10.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4791, allocations: 0 / 0.59 GB, free: 10.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004786/0.4796, allocations: 103.9 kB / 0.5901 GB, free: 10.5 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): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001871/0.4798, allocations: 131.1 kB / 0.5902 GB, free: 10.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006228/0.4804, allocations: 387 kB / 0.5906 GB, free: 9.969 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.4804, allocations: 0 / 0.5906 GB, free: 9.969 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000302/0.4807, allocations: 228.2 kB / 0.5908 GB, free: 9.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.4812, allocations: 61.77 kB / 0.5909 GB, free: 9.672 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.4826, allocations: 1.079 MB / 0.5919 GB, free: 8.559 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004348/0.483, allocations: 0.8422 MB / 0.5927 GB, free: 7.691 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001925/0.4832, allocations: 62.91 kB / 0.5928 GB, free: 7.629 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.956e-05/0.4833, allocations: 23.44 kB / 0.5928 GB, free: 7.605 MB / 426.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4833, allocations: 0 / 0.5928 GB, free: 7.605 MB / 426.7 MB Notification: Performance of Templates: time 0.007474/0.4908, allocations: 3.889 MB / 0.5966 GB, free: 3.723 MB / 426.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PVsource.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches