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.001333/0.001333, allocations: 181.1 kB / 16.38 MB, free: 5.766 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.397/1.397, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.000868/0.0008678, allocations: 94.53 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1629/0.1629, allocations: 38.06 MB / 357.2 MB, free: 1.867 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002976/0.0002977, allocations: 8 kB / 424 MB, free: 37.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2918, allocations: 56.31 MB / 480.3 MB, free: 9.527 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1322/0.424, allocations: 102 MB / 0.5687 GB, free: 348 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/0.4243, allocations: 91.95 kB / 0.5688 GB, free: 256 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03956/0.4639, allocations: 14.62 MB / 0.5831 GB, free: 1.445 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.464, allocations: 0 / 0.5831 GB, free: 1.445 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.586e-05/0.464, allocations: 12 kB / 0.5831 GB, free: 1.434 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.001207/0.4652, allocations: 0.7269 MB / 0.5838 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.4653, allocations: 8.031 kB / 0.5838 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005393/0.4658, allocations: 95.28 kB / 0.5839 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002062/0.4679, allocations: 0.8653 MB / 0.5847 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.23e-05/0.4679, allocations: 28.98 kB / 0.5848 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.443e-05/0.468, allocations: 39.91 kB / 0.5848 GB, free: 15.58 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009332/0.4689, allocations: 0.6443 MB / 0.5854 GB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.469, allocations: 11.98 kB / 0.5854 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.333e-05/0.469, allocations: 12 kB / 0.5855 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.297e-05/0.4691, allocations: 44.91 kB / 0.5855 GB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007478/0.4699, allocations: 459.5 kB / 0.5859 GB, free: 14.35 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003759/0.4736, allocations: 3.052 MB / 0.5889 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005047/0.4742, allocations: 269.3 kB / 0.5892 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.4742, allocations: 0 / 0.5892 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.4743, allocations: 34.62 kB / 0.5892 GB, free: 10.81 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 1.863e-06/0.4743, allocations: 0 / 0.5892 GB, free: 10.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.001699/0.476, allocations: 1.101 MB / 0.5903 GB, free: 9.633 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.4761, allocations: 81.11 kB / 0.5904 GB, free: 9.535 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/0.4763, allocations: 283.6 kB / 0.5906 GB, free: 9.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.4764, allocations: 29.7 kB / 0.5907 GB, free: 9.215 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.4766, allocations: 275.2 kB / 0.5909 GB, free: 8.941 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.058e-05/0.4767, allocations: 114.5 kB / 0.591 GB, free: 8.828 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.895e-05/0.4767, allocations: 4 kB / 0.591 GB, free: 8.824 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.4768, allocations: 342.8 kB / 0.5914 GB, free: 8.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.4771, allocations: 152.9 kB / 0.5915 GB, free: 8.332 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003422/0.4774, allocations: 323.3 kB / 0.5918 GB, free: 7.934 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.4777, allocations: 208.8 kB / 0.592 GB, free: 7.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.4777, allocations: 4 kB / 0.592 GB, free: 7.727 MB / 426.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00103/0.4788, allocations: 0.6115 MB / 0.5926 GB, free: 7.102 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.4788, allocations: 8 kB / 0.5926 GB, free: 7.094 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006477/0.4794, allocations: 383.1 kB / 0.593 GB, free: 6.715 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004084/0.4799, allocations: 113.6 kB / 0.5931 GB, free: 6.598 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/0.4802, allocations: 91.75 kB / 0.5932 GB, free: 6.508 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002584/0.4828, allocations: 3.061 MB / 0.5962 GB, free: 3.176 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.483, allocations: 23.97 kB / 0.5962 GB, free: 3.152 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/0.4831, allocations: 20 kB / 0.5962 GB, free: 3.133 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.0002955/0.4834, allocations: 217.5 kB / 0.5964 GB, free: 2.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-05/0.4835, allocations: 35.53 kB / 0.5965 GB, free: 2.875 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005949/0.4841, allocations: 373.4 kB / 0.5968 GB, free: 2.504 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.4841, allocations: 8 kB / 0.5968 GB, free: 2.496 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.4841, allocations: 0 / 0.5968 GB, free: 2.496 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.4841, allocations: 0 / 0.5968 GB, free: 2.496 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.4853, allocations: 0.8826 MB / 0.5977 GB, free: 1.551 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.4854, allocations: 4 kB / 0.5977 GB, free: 1.547 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003961/0.4858, allocations: 63.95 kB / 0.5977 GB, free: 1.484 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.4858, allocations: 0 / 0.5977 GB, free: 1.484 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.4858, allocations: 8 kB / 0.5978 GB, free: 1.477 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.4858, allocations: 4 kB / 0.5978 GB, free: 1.473 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.4858, allocations: 7.922 kB / 0.5978 GB, free: 1.465 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000722/0.4866, allocations: 0.6087 MB / 0.5984 GB, free: 0.8125 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.4867, allocations: 136.6 kB / 0.5985 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/0.4868, allocations: 11.95 kB / 0.5985 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.487, allocations: 19.97 kB / 0.5985 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.487, allocations: 19.92 kB / 0.5985 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.4871, allocations: 4 kB / 0.5985 GB, free: 0.6055 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002208/0.4873, allocations: 223 kB / 0.5988 GB, free: 400 kB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4873, allocations: 0 / 0.5988 GB, free: 400 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005404/0.4878, allocations: 112 kB / 0.5989 GB, free: 288 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.0001947/0.488, allocations: 139.1 kB / 0.599 GB, free: 140 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009331/0.489, allocations: 0.6261 MB / 0.5996 GB, free: 15.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.489, allocations: 0 / 0.5996 GB, free: 15.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.4892, allocations: 158.8 kB / 0.5998 GB, free: 15.33 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.4896, allocations: 63.75 kB / 0.5998 GB, free: 15.27 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.4912, allocations: 1.262 MB / 0.601 GB, free: 13.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/0.4917, allocations: 0.8816 MB / 0.6019 GB, free: 13.07 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003055/0.492, allocations: 107.2 kB / 0.602 GB, free: 12.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.595e-05/0.4921, allocations: 31.42 kB / 0.602 GB, free: 12.93 MB / 442.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4921, allocations: 4 kB / 0.602 GB, free: 12.93 MB / 442.7 MB Notification: Performance of Templates: time 0.007651/0.4998, allocations: 3.821 MB / 0.6058 GB, free: 9.117 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/jenkins/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