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.001844/0.001844, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.491/1.491, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.0008412/0.0008412, allocations: 90.62 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2097/0.2097, allocations: 37.98 MB / 353.5 MB, free: 1.75 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.352e-05/3.361e-05, allocations: 4 kB / 417.7 MB, free: 29.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1113, allocations: 56.32 MB / 474.1 MB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3581/0.4695, allocations: 102 MB / 0.5625 GB, free: 0.9688 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/0.4697, allocations: 87.44 kB / 0.5626 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04098/0.5107, allocations: 14.59 MB / 0.5768 GB, free: 4.383 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.5108, allocations: 0 / 0.5768 GB, free: 4.383 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.918e-05/0.5108, allocations: 16 kB / 0.5769 GB, free: 4.367 MB / 378.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.001071/0.5119, allocations: 0.6687 MB / 0.5775 GB, free: 3.676 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.5119, allocations: 15.97 kB / 0.5775 GB, free: 3.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005518/0.5125, allocations: 87.38 kB / 0.5776 GB, free: 3.574 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/0.5145, allocations: 0.8629 MB / 0.5785 GB, free: 2.809 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.5145, allocations: 28.44 kB / 0.5785 GB, free: 2.793 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.621e-05/0.5146, allocations: 41.3 kB / 0.5785 GB, free: 2.766 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008453/0.5154, allocations: 0.6357 MB / 0.5791 GB, free: 2.215 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.5155, allocations: 4 kB / 0.5791 GB, free: 2.211 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.475e-05/0.5155, allocations: 17.62 kB / 0.5792 GB, free: 2.207 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.59e-05/0.5156, allocations: 39.64 kB / 0.5792 GB, free: 2.168 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006521/0.5163, allocations: 455.1 kB / 0.5796 GB, free: 1.852 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003006/0.5193, allocations: 3.037 MB / 0.5826 GB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004729/0.5198, allocations: 257.1 kB / 0.5828 GB, free: 14.76 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.52, allocations: 152.3 kB / 0.583 GB, free: 14.65 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.663e-05/0.52, allocations: 7.859 kB / 0.583 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.5201, allocations: 34.56 kB / 0.583 GB, free: 14.6 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 2.064e-06/0.5201, allocations: 0 / 0.583 GB, free: 14.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.00147/0.5216, allocations: 0.9055 MB / 0.5839 GB, free: 13.79 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.5216, allocations: 81.11 kB / 0.584 GB, free: 13.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.5219, allocations: 279.9 kB / 0.5843 GB, free: 13.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.5219, allocations: 29.33 kB / 0.5843 GB, free: 13.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.5221, allocations: 280.8 kB / 0.5846 GB, free: 13.19 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.501e-05/0.5222, allocations: 98.66 kB / 0.5847 GB, free: 13.11 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.811e-05/0.5222, allocations: 6.562 kB / 0.5847 GB, free: 13.11 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.5224, allocations: 348.9 kB / 0.585 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.5226, allocations: 142.1 kB / 0.5851 GB, free: 12.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/0.5229, allocations: 324.3 kB / 0.5854 GB, free: 12.33 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.5232, allocations: 203.6 kB / 0.5856 GB, free: 12.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5232, allocations: 0 / 0.5856 GB, free: 12.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001074/0.5243, allocations: 0.6257 MB / 0.5862 GB, free: 11.67 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.5244, allocations: 6.5 kB / 0.5862 GB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000656/0.525, allocations: 374.4 kB / 0.5866 GB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004231/0.5255, allocations: 110.2 kB / 0.5867 GB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.5258, allocations: 91.12 kB / 0.5868 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00259/0.5284, allocations: 3.019 MB / 0.5897 GB, free: 8.148 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.5286, allocations: 22.92 kB / 0.5898 GB, free: 8.133 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.5287, allocations: 19.12 kB / 0.5898 GB, free: 8.117 MB / 394.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 () * 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.0001068/0.5288, allocations: 130.4 kB / 0.5899 GB, free: 7.992 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.321e-05/0.5289, allocations: 34.69 kB / 0.5899 GB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005991/0.5295, allocations: 374.2 kB / 0.5903 GB, free: 7.684 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.5295, allocations: 4 kB / 0.5903 GB, free: 7.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.5295, allocations: 0 / 0.5903 GB, free: 7.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5295, allocations: 4 kB / 0.5903 GB, free: 7.676 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.5308, allocations: 0.8814 MB / 0.5912 GB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.5308, allocations: 0 / 0.5912 GB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003883/0.5312, allocations: 66.7 kB / 0.5912 GB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.5312, allocations: 4 kB / 0.5912 GB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.5312, allocations: 8.078 kB / 0.5912 GB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.5312, allocations: 0 / 0.5912 GB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5312, allocations: 4 kB / 0.5912 GB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007376/0.532, allocations: 0.6167 MB / 0.5918 GB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.5321, allocations: 132.4 kB / 0.592 GB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.34e-05/0.5322, allocations: 11.77 kB / 0.592 GB, free: 6.148 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.5324, allocations: 15.91 kB / 0.592 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.5325, allocations: 19.97 kB / 0.592 GB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.5325, allocations: 7.875 kB / 0.592 GB, free: 6.113 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001853/0.5327, allocations: 213.1 kB / 0.5922 GB, free: 5.938 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5327, allocations: 4 kB / 0.5922 GB, free: 5.934 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004996/0.5332, allocations: 115.2 kB / 0.5923 GB, free: 5.832 MB / 394.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 () * 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.000219/0.5334, allocations: 134.9 kB / 0.5925 GB, free: 5.691 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008994/0.5343, allocations: 0.6129 MB / 0.5931 GB, free: 5.156 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.5343, allocations: 8 kB / 0.5931 GB, free: 5.148 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.5345, allocations: 149.6 kB / 0.5932 GB, free: 5.043 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.5349, allocations: 68.19 kB / 0.5933 GB, free: 4.996 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.5361, allocations: 0.7775 MB / 0.594 GB, free: 4.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.5365, allocations: 0.8847 MB / 0.5949 GB, free: 3.375 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003104/0.5368, allocations: 111.2 kB / 0.595 GB, free: 3.266 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.828e-05/0.5369, allocations: 27.44 kB / 0.595 GB, free: 3.238 MB / 394.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5369, allocations: 0 / 0.595 GB, free: 3.238 MB / 394.7 MB Notification: Performance of Templates: time 0.007729/0.5447, allocations: 3.842 MB / 0.5988 GB, free: 15.41 MB / 410.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