Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009922/0.000992, allocations: 176.4 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008072/0.0008071, allocations: 86.98 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1763/0.1763, allocations: 37.98 MB / 348 MB, free: 7.773 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.522e-05/1.525e-05, allocations: 0 / 410.6 MB, free: 46.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1259, allocations: 56.33 MB / 466.9 MB, free: 6.566 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4633/0.5894, allocations: 100.7 MB / 0.5543 GB, free: 10.27 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003534/0.5898, allocations: 91.94 kB / 0.5544 GB, free: 10.18 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05958/0.6494, allocations: 14.97 MB / 0.569 GB, free: 11.04 MB / 411.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.6495, allocations: 0 / 0.569 GB, free: 11.04 MB / 411.1 MB Notification: Performance of Transformations before backend: time 3.561e-05/0.6495, allocations: 12 kB / 0.569 GB, free: 11.03 MB / 411.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001534/0.6511, allocations: 0.6715 MB / 0.5696 GB, free: 10.31 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.6511, allocations: 12.03 kB / 0.5697 GB, free: 10.3 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008221/0.652, allocations: 87.38 kB / 0.5697 GB, free: 10.21 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002819/0.6548, allocations: 0.8604 MB / 0.5706 GB, free: 9.309 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.6549, allocations: 12 kB / 0.5706 GB, free: 9.297 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.97e-05/0.655, allocations: 27.84 kB / 0.5706 GB, free: 9.27 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001031/0.656, allocations: 469.9 kB / 0.5711 GB, free: 8.812 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.6573, allocations: 0.6169 MB / 0.5717 GB, free: 8.16 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/0.6573, allocations: 7.938 kB / 0.5717 GB, free: 8.152 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-05/0.6574, allocations: 3.953 kB / 0.5717 GB, free: 8.148 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002236/0.6576, allocations: 60.73 kB / 0.5717 GB, free: 8.086 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005335/0.663, allocations: 2.534 MB / 0.5742 GB, free: 5.434 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006648/0.6637, allocations: 333.3 kB / 0.5745 GB, free: 5.09 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004228/0.6641, allocations: 237.7 kB / 0.5748 GB, free: 4.852 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.378e-05/0.6642, allocations: 7.984 kB / 0.5748 GB, free: 4.844 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.6642, allocations: 34.56 kB / 0.5748 GB, free: 4.801 MB / 411.1 MB Notification: Performance of pre-optimization done (n=43): time 3.747e-06/0.6642, allocations: 0 / 0.5748 GB, free: 4.801 MB / 411.1 MB Notification: Performance of matching and sorting (n=44): time 0.004188/0.6684, allocations: 1.527 MB / 0.5763 GB, free: 3.215 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.067e-05/0.6685, allocations: 85.05 kB / 0.5764 GB, free: 3.113 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003329/0.6689, allocations: 214.3 kB / 0.5766 GB, free: 2.902 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 4.27e-05/0.6689, allocations: 29.69 kB / 0.5766 GB, free: 2.867 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.6691, allocations: 248.3 kB / 0.5768 GB, free: 2.617 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.6693, allocations: 141.9 kB / 0.577 GB, free: 2.477 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.6694, allocations: 0 / 0.577 GB, free: 2.477 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0002191/0.6696, allocations: 362.7 kB / 0.5773 GB, free: 2.113 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000411/0.67, allocations: 208.9 kB / 0.5775 GB, free: 1.91 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005029/0.6705, allocations: 317.9 kB / 0.5778 GB, free: 1.551 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.6716, allocations: 376 kB / 0.5782 GB, free: 1.18 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6716, allocations: 0 / 0.5782 GB, free: 1.18 MB / 411.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002179/0.6738, allocations: 0.7874 MB / 0.5789 GB, free: 392 kB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.6738, allocations: 8 kB / 0.579 GB, free: 384 kB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001806/0.6756, allocations: 0.6244 MB / 0.5796 GB, free: 15.74 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005632/0.6762, allocations: 109.7 kB / 0.5797 GB, free: 15.62 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004847/0.6767, allocations: 75.89 kB / 0.5797 GB, free: 15.55 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003351/0.6801, allocations: 2.88 MB / 0.5826 GB, free: 12.44 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004308/0.6805, allocations: 24.03 kB / 0.5826 GB, free: 12.41 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-05/0.6806, allocations: 24 kB / 0.5826 GB, free: 12.39 MB / 427.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (43): * Single equations (assignments): 38 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001884/0.6808, allocations: 112.8 kB / 0.5827 GB, free: 12.27 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.6809, allocations: 35.53 kB / 0.5827 GB, free: 12.24 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/0.6827, allocations: 0.6218 MB / 0.5833 GB, free: 11.61 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.59e-05/0.6828, allocations: 23.89 kB / 0.5834 GB, free: 11.59 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.6828, allocations: 0 / 0.5834 GB, free: 11.59 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.6829, allocations: 7.984 kB / 0.5834 GB, free: 11.59 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002767/0.6856, allocations: 1.14 MB / 0.5845 GB, free: 10.4 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.6857, allocations: 0 / 0.5845 GB, free: 10.4 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006299/0.6863, allocations: 75.88 kB / 0.5846 GB, free: 10.32 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.6863, allocations: 0 / 0.5846 GB, free: 10.32 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.872e-05/0.6864, allocations: 4 kB / 0.5846 GB, free: 10.32 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.6864, allocations: 4 kB / 0.5846 GB, free: 10.32 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.6864, allocations: 4.062 kB / 0.5846 GB, free: 10.31 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002033/0.6884, allocations: 0.9809 MB / 0.5855 GB, free: 9.289 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.6887, allocations: 140.7 kB / 0.5857 GB, free: 9.133 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.583e-05/0.6888, allocations: 11.94 kB / 0.5857 GB, free: 9.121 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003671/0.6891, allocations: 23.97 kB / 0.5857 GB, free: 9.098 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.949e-05/0.6892, allocations: 20.14 kB / 0.5857 GB, free: 9.078 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.985e-05/0.6893, allocations: 12 kB / 0.5857 GB, free: 9.066 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0002316/0.6895, allocations: 174 kB / 0.5859 GB, free: 8.898 MB / 427.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6895, allocations: 0 / 0.5859 GB, free: 8.898 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0008845/0.6904, allocations: 119.9 kB / 0.586 GB, free: 8.781 MB / 427.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 3 * 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.0003311/0.6908, allocations: 148.1 kB / 0.5862 GB, free: 8.625 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.001505/0.6923, allocations: 0.7274 MB / 0.5869 GB, free: 7.879 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.6923, allocations: 0 / 0.5869 GB, free: 7.879 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004513/0.6928, allocations: 244 kB / 0.5871 GB, free: 7.641 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005706/0.6934, allocations: 52.78 kB / 0.5871 GB, free: 7.582 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.6955, allocations: 0.9042 MB / 0.588 GB, free: 6.648 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006454/0.6961, allocations: 0.8859 MB / 0.5889 GB, free: 5.738 MB / 427.1 MB Notification: Performance of simCode: alias equations: time 0.0004971/0.6966, allocations: 107.2 kB / 0.589 GB, free: 5.633 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.6968, allocations: 31.42 kB / 0.589 GB, free: 5.602 MB / 427.1 MB Notification: Performance of SimCode: time 9.82e-07/0.6968, allocations: 3.938 kB / 0.589 GB, free: 5.598 MB / 427.1 MB Notification: Performance of Templates: time 0.009647/0.7065, allocations: 4.072 MB / 0.593 GB, free: 1.531 MB / 427.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Source.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches