Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.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.Line,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.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,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.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000992/0.0009919, allocations: 175.4 kB / 8.345 MB, free: 0.7305 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.654/1.654, 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.0008209/0.000821, allocations: 80.05 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.1668/0.1668, allocations: 37.98 MB / 348 MB, free: 7.77 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.543e-05/1.529e-05, allocations: 4 kB / 410.6 MB, free: 46.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1165, allocations: 56.33 MB / 466.9 MB, free: 6.551 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3884/0.505, allocations: 103.9 MB / 0.5574 GB, free: 7.043 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.5053, allocations: 95.89 kB / 0.5575 GB, free: 6.949 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04685/0.5521, allocations: 17.31 MB / 0.5744 GB, free: 5.477 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.5521, allocations: 0 / 0.5744 GB, free: 5.477 MB / 411.1 MB Notification: Performance of Transformations before backend: time 2.988e-05/0.5522, allocations: 16 kB / 0.5744 GB, free: 5.461 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.00135/0.5535, allocations: 0.7658 MB / 0.5752 GB, free: 4.645 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.5536, allocations: 8.031 kB / 0.5752 GB, free: 4.637 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.5546, allocations: 151.1 kB / 0.5753 GB, free: 4.488 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002928/0.5576, allocations: 1.202 MB / 0.5765 GB, free: 3.246 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.5576, allocations: 16 kB / 0.5765 GB, free: 3.23 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.5577, allocations: 28 kB / 0.5765 GB, free: 3.203 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007879/0.5585, allocations: 0.5257 MB / 0.577 GB, free: 2.676 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.5596, allocations: 0.7878 MB / 0.5778 GB, free: 1.82 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.5596, allocations: 3.906 kB / 0.5778 GB, free: 1.816 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.308e-05/0.5597, allocations: 4 kB / 0.5778 GB, free: 1.812 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001762/0.5599, allocations: 32.77 kB / 0.5778 GB, free: 1.781 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01082/0.5707, allocations: 5.666 MB / 0.5834 GB, free: 11.98 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009439/0.5717, allocations: 0.7327 MB / 0.5841 GB, free: 11.23 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006845/0.5724, allocations: 0.6317 MB / 0.5847 GB, free: 10.59 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.994e-05/0.5725, allocations: 12.44 kB / 0.5847 GB, free: 10.58 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.5725, allocations: 35.75 kB / 0.5848 GB, free: 10.53 MB / 427.1 MB Notification: Performance of pre-optimization done (n=52): time 2.876e-06/0.5725, allocations: 0 / 0.5848 GB, free: 10.53 MB / 427.1 MB Notification: Performance of matching and sorting (n=53): time 0.0151/0.5876, allocations: 5.237 MB / 0.5899 GB, free: 5.23 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.5877, allocations: 85.48 kB / 0.59 GB, free: 5.129 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004502/0.5882, allocations: 333 kB / 0.5903 GB, free: 4.797 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001839/0.5883, allocations: 25.7 kB / 0.5903 GB, free: 4.766 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.5886, allocations: 327.8 kB / 0.5906 GB, free: 4.441 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002749/0.5889, allocations: 249 kB / 0.5908 GB, free: 4.195 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-05/0.5889, allocations: 3.938 kB / 0.5908 GB, free: 4.191 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.5891, allocations: 374.7 kB / 0.5912 GB, free: 3.816 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009893/0.5901, allocations: 0.7713 MB / 0.592 GB, free: 3.047 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.5912, allocations: 0.9906 MB / 0.5929 GB, free: 1.969 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.5923, allocations: 0.8865 MB / 0.5938 GB, free: 1.082 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.5924, allocations: 0 / 0.5938 GB, free: 1.082 MB / 427.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.01595/0.6083, allocations: 5.298 MB / 0.599 GB, free: 11.76 MB / 443.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/0.6084, allocations: 15.94 kB / 0.599 GB, free: 11.75 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01192/0.6203, allocations: 4.203 MB / 0.6031 GB, free: 7.535 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01793/0.6383, allocations: 5.79 MB / 0.6087 GB, free: 1.738 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004838/0.6388, allocations: 123.8 kB / 0.6089 GB, free: 1.617 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01468/0.6535, allocations: 10.43 MB / 0.619 GB, free: 7.062 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006858/0.6542, allocations: 39.94 kB / 0.6191 GB, free: 7.023 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002009/0.6544, allocations: 175.9 kB / 0.6192 GB, free: 6.852 MB / 459.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (65): * Single equations (assignments): 62 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(7,32.7%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002667/0.6547, allocations: 120.8 kB / 0.6194 GB, free: 6.727 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.6549, allocations: 51.39 kB / 0.6194 GB, free: 6.676 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01328/0.6681, allocations: 4.021 MB / 0.6233 GB, free: 2.633 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.149e-05/0.6682, allocations: 8 kB / 0.6233 GB, free: 2.625 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.6682, allocations: 0 / 0.6233 GB, free: 2.625 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.848e-05/0.6682, allocations: 3.984 kB / 0.6234 GB, free: 2.621 MB / 459.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01581/0.6841, allocations: 5.352 MB / 0.6286 GB, free: 13.2 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/0.6841, allocations: 0 / 0.6286 GB, free: 13.2 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003202/0.6844, allocations: 55.91 kB / 0.6286 GB, free: 13.15 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02489/0.7093, allocations: 7.861 MB / 0.6363 GB, free: 5.262 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000408/0.7098, allocations: 235.7 kB / 0.6365 GB, free: 5.031 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2178/0.9275, allocations: 13.35 MB / 0.6496 GB, free: 141.5 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.9276, allocations: 4.547 kB / 0.6496 GB, free: 141.5 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01413/0.9417, allocations: 4.48 MB / 0.6539 GB, free: 141.2 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001897/0.942, allocations: 123.4 kB / 0.6541 GB, free: 141.1 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003595/0.9423, allocations: 183.5 kB / 0.6542 GB, free: 141.1 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005159/0.9429, allocations: 37.39 kB / 0.6543 GB, free: 141.1 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005505/0.9434, allocations: 146.4 kB / 0.6544 GB, free: 141.1 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002137/0.9436, allocations: 166.2 kB / 0.6546 GB, free: 141.1 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.0002659/0.9439, allocations: 243.6 kB / 0.6548 GB, free: 141 MB / 475.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.9439, allocations: 0 / 0.6548 GB, free: 141 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.00156/0.9455, allocations: 379.3 kB / 0.6552 GB, free: 141 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 30 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {12,9} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000314/0.9458, allocations: 156.7 kB / 0.6553 GB, free: 140.9 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.004334/0.9502, allocations: 2.328 MB / 0.6576 GB, free: 140.6 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.9502, allocations: 0 / 0.6576 GB, free: 140.6 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003179/0.9534, allocations: 1.534 MB / 0.6591 GB, free: 140 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006189/0.954, allocations: 102 kB / 0.6592 GB, free: 140 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004139/0.9582, allocations: 3.248 MB / 0.6624 GB, free: 138.6 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/0.9586, allocations: 0.9814 MB / 0.6633 GB, free: 137.9 MB / 475.1 MB Notification: Performance of simCode: alias equations: time 0.0004236/0.9591, allocations: 139.7 kB / 0.6634 GB, free: 137.9 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.9592, allocations: 47.72 kB / 0.6635 GB, free: 137.9 MB / 475.1 MB Notification: Performance of SimCode: time 9.82e-07/0.9592, allocations: 0 / 0.6635 GB, free: 137.9 MB / 475.1 MB Notification: Performance of Templates: time 0.0383/0.9975, allocations: 32.25 MB / 0.695 GB, free: 123.5 MB / 475.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Line.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches