Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.ImpedanceYD,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.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,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.ImpedanceYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001587/0.001587, allocations: 172.5 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.536/1.536, allocations: 205.4 MB / 223.6 MB, free: 9.008 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.000893/0.0008929, allocations: 89.41 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2183/0.2183, allocations: 38.08 MB / 358.3 MB, free: 1.715 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003549, allocations: 12 kB / 425.2 MB, free: 37.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2967, allocations: 56.32 MB / 481.6 MB, free: 9.586 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1449/0.4417, allocations: 102.1 MB / 0.57 GB, free: 164 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004704/0.4423, allocations: 95.8 kB / 0.5701 GB, free: 72 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04209/0.4844, allocations: 14.61 MB / 0.5843 GB, free: 1.281 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.4844, allocations: 0 / 0.5843 GB, free: 1.281 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.483e-05/0.4845, allocations: 16 kB / 0.5843 GB, free: 1.266 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001856/0.4864, allocations: 0.7154 MB / 0.585 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.4864, allocations: 12.03 kB / 0.585 GB, free: 496 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006556/0.4871, allocations: 92.22 kB / 0.5851 GB, free: 404 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.4884, allocations: 0.5545 MB / 0.5857 GB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.879e-05/0.4884, allocations: 29.38 kB / 0.5857 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.4886, allocations: 36.36 kB / 0.5857 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.4897, allocations: 0.6488 MB / 0.5864 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.4897, allocations: 11.81 kB / 0.5864 GB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.991e-05/0.4898, allocations: 19.98 kB / 0.5864 GB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.169e-05/0.4899, allocations: 40.97 kB / 0.5864 GB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008123/0.4907, allocations: 459.5 kB / 0.5869 GB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003398/0.4941, allocations: 3.048 MB / 0.5899 GB, free: 11.28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004925/0.4946, allocations: 261.3 kB / 0.5901 GB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.4949, allocations: 153 kB / 0.5903 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.663e-05/0.4949, allocations: 0 / 0.5903 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.495, allocations: 38.5 kB / 0.5903 GB, free: 10.81 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 2.394e-06/0.495, allocations: 0 / 0.5903 GB, free: 10.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.001891/0.4969, allocations: 1.017 MB / 0.5913 GB, free: 9.734 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.086e-05/0.4969, allocations: 81.11 kB / 0.5914 GB, free: 9.637 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004148/0.4974, allocations: 316.4 kB / 0.5917 GB, free: 9.316 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.4974, allocations: 29.7 kB / 0.5917 GB, free: 9.281 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.4976, allocations: 283.2 kB / 0.592 GB, free: 9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.605e-05/0.4977, allocations: 106.5 kB / 0.5921 GB, free: 8.895 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.902e-05/0.4977, allocations: 8 kB / 0.5921 GB, free: 8.887 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.4979, allocations: 350.9 kB / 0.5924 GB, free: 8.535 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.4981, allocations: 148.9 kB / 0.5925 GB, free: 8.391 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003791/0.4985, allocations: 323.3 kB / 0.5929 GB, free: 7.992 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006365/0.4992, allocations: 0.5185 MB / 0.5934 GB, free: 7.395 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.4992, allocations: 4 kB / 0.5934 GB, free: 7.391 MB / 426.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001134/0.5003, allocations: 0.6119 MB / 0.594 GB, free: 6.766 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.5003, allocations: 8 kB / 0.594 GB, free: 6.758 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006601/0.501, allocations: 370.5 kB / 0.5943 GB, free: 6.391 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004184/0.5014, allocations: 121.8 kB / 0.5944 GB, free: 6.266 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.5017, allocations: 91.88 kB / 0.5945 GB, free: 6.176 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002702/0.5045, allocations: 3.022 MB / 0.5975 GB, free: 2.883 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/0.5047, allocations: 31.86 kB / 0.5975 GB, free: 2.852 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.509e-05/0.5048, allocations: 24.12 kB / 0.5975 GB, free: 2.828 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (46): * Single equations (assignments): 43 * Array equations: 1 * 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.000291/0.5051, allocations: 209.7 kB / 0.5977 GB, free: 2.613 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.926e-05/0.5052, allocations: 31.62 kB / 0.5978 GB, free: 2.582 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006171/0.5058, allocations: 365.2 kB / 0.5981 GB, free: 2.219 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/0.5058, allocations: 11.98 kB / 0.5981 GB, free: 2.207 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.5058, allocations: 4 kB / 0.5981 GB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.5058, allocations: 0 / 0.5981 GB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.5071, allocations: 0.8786 MB / 0.599 GB, free: 1.262 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.5071, allocations: 4 kB / 0.599 GB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003776/0.5075, allocations: 67.89 kB / 0.5991 GB, free: 1.191 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.5075, allocations: 3.984 kB / 0.5991 GB, free: 1.188 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.5076, allocations: 8.062 kB / 0.5991 GB, free: 1.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.5076, allocations: 8 kB / 0.5991 GB, free: 1.172 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.5076, allocations: 3.938 kB / 0.5991 GB, free: 1.168 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007343/0.5083, allocations: 0.5839 MB / 0.5996 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.5085, allocations: 132.7 kB / 0.5998 GB, free: 420 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.305e-05/0.5085, allocations: 15.98 kB / 0.5998 GB, free: 404 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.5087, allocations: 15.98 kB / 0.5998 GB, free: 388 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.5088, allocations: 15.92 kB / 0.5998 GB, free: 372 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.5088, allocations: 11.98 kB / 0.5998 GB, free: 360 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002006/0.509, allocations: 211.1 kB / 0.6 GB, free: 152 kB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.509, allocations: 0 / 0.6 GB, free: 152 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005263/0.5096, allocations: 127.8 kB / 0.6002 GB, free: 28 kB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.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 (28): * Single equations (assignments): 26 * Array equations: 1 * 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.0002351/0.5098, allocations: 138.7 kB / 0.6003 GB, free: 15.89 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.5108, allocations: 0.6075 MB / 0.6009 GB, free: 15.25 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5108, allocations: 448 / 0.6009 GB, free: 15.25 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002198/0.5111, allocations: 157.6 kB / 0.601 GB, free: 15.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005027/0.5116, allocations: 61.55 kB / 0.6011 GB, free: 15.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.5133, allocations: 1.26 MB / 0.6023 GB, free: 13.75 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/0.5138, allocations: 0.8699 MB / 0.6032 GB, free: 12.85 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003297/0.5141, allocations: 115.2 kB / 0.6033 GB, free: 12.74 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.561e-05/0.5142, allocations: 31.42 kB / 0.6033 GB, free: 12.71 MB / 442.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5142, allocations: 0 / 0.6033 GB, free: 12.71 MB / 442.7 MB Notification: Performance of Templates: time 0.008338/0.5226, allocations: 3.842 MB / 0.6071 GB, free: 8.879 MB / 442.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches