Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.Impedance,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.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,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.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 176.4 kB / 17.4 MB, free: 4.426 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.478/1.478, allocations: 205.4 MB / 223.5 MB, free: 9.027 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.0007137/0.0007138, allocations: 85.48 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1935/0.1935, allocations: 38.07 MB / 358.2 MB, free: 1.738 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003522, allocations: 12 kB / 425.3 MB, free: 37.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3063, allocations: 56.3 MB / 481.6 MB, free: 9.609 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1457/0.452, allocations: 101 MB / 0.5689 GB, free: 1.316 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.4524, allocations: 95.81 kB / 0.5689 GB, free: 1.227 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03629/0.4887, allocations: 12.58 MB / 0.5812 GB, free: 4.512 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.135e-06/0.4887, allocations: 0 / 0.5812 GB, free: 4.512 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.105e-05/0.4888, allocations: 12 kB / 0.5812 GB, free: 4.5 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001607/0.4904, allocations: 0.7117 MB / 0.5819 GB, free: 3.734 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4904, allocations: 8.031 kB / 0.5819 GB, free: 3.727 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00069/0.4911, allocations: 96.22 kB / 0.582 GB, free: 3.633 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.4923, allocations: 0.5428 MB / 0.5826 GB, free: 3.047 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.532e-05/0.4924, allocations: 34.12 kB / 0.5826 GB, free: 3.016 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.4925, allocations: 43.98 kB / 0.5826 GB, free: 2.973 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009703/0.4935, allocations: 0.6332 MB / 0.5833 GB, free: 2.273 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.4935, allocations: 0 / 0.5833 GB, free: 2.273 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.856e-05/0.4935, allocations: 23.94 kB / 0.5833 GB, free: 2.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-05/0.4936, allocations: 21 kB / 0.5833 GB, free: 2.227 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007411/0.4943, allocations: 451.5 kB / 0.5837 GB, free: 1.789 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003386/0.4977, allocations: 2.942 MB / 0.5866 GB, free: 14.69 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003236/0.4981, allocations: 197 kB / 0.5868 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.4983, allocations: 140.6 kB / 0.5869 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.232e-05/0.4984, allocations: 7.984 kB / 0.5869 GB, free: 14.33 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.4984, allocations: 30.56 kB / 0.587 GB, free: 14.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 2.024e-06/0.4984, allocations: 0 / 0.587 GB, free: 14.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.0017/0.5001, allocations: 0.9566 MB / 0.5879 GB, free: 13.28 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.5002, allocations: 93.11 kB / 0.588 GB, free: 13.17 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003635/0.5006, allocations: 332.3 kB / 0.5883 GB, free: 12.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.5006, allocations: 33.7 kB / 0.5883 GB, free: 12.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.5008, allocations: 287.1 kB / 0.5886 GB, free: 12.51 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.957e-05/0.5009, allocations: 86.75 kB / 0.5887 GB, free: 12.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.875e-05/0.5009, allocations: 8 kB / 0.5887 GB, free: 12.42 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.5011, allocations: 346.8 kB / 0.589 GB, free: 12.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.5013, allocations: 144.8 kB / 0.5892 GB, free: 11.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003443/0.5017, allocations: 329 kB / 0.5895 GB, free: 11.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006601/0.5023, allocations: 0.5124 MB / 0.59 GB, free: 10.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.5024, allocations: 0 / 0.59 GB, free: 10.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001081/0.5034, allocations: 0.5932 MB / 0.5906 GB, free: 10.33 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.5035, allocations: 8 kB / 0.5906 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005868/0.5041, allocations: 320.5 kB / 0.5909 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003435/0.5044, allocations: 80.78 kB / 0.591 GB, free: 9.922 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/0.5048, allocations: 95.81 kB / 0.591 GB, free: 9.828 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/0.5065, allocations: 1.601 MB / 0.5926 GB, free: 8.094 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002965/0.5068, allocations: 27.98 kB / 0.5926 GB, free: 8.066 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.5068, allocations: 24 kB / 0.5927 GB, free: 8.043 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 46 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003139/0.5072, allocations: 213.6 kB / 0.5929 GB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.409e-05/0.5072, allocations: 35.56 kB / 0.5929 GB, free: 7.789 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006063/0.5079, allocations: 348.6 kB / 0.5932 GB, free: 7.445 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/0.5079, allocations: 8 kB / 0.5932 GB, free: 7.438 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.5079, allocations: 4 kB / 0.5932 GB, free: 7.434 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.5079, allocations: 3.984 kB / 0.5932 GB, free: 7.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.5093, allocations: 0.863 MB / 0.5941 GB, free: 6.504 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.5094, allocations: 0 / 0.5941 GB, free: 6.504 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003055/0.5097, allocations: 59.89 kB / 0.5941 GB, free: 6.445 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/0.5097, allocations: 4 kB / 0.5941 GB, free: 6.441 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.5097, allocations: 12.06 kB / 0.5942 GB, free: 6.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.5097, allocations: 3.984 kB / 0.5942 GB, free: 6.426 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5097, allocations: 0 / 0.5942 GB, free: 6.426 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007807/0.5105, allocations: 0.5598 MB / 0.5947 GB, free: 5.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.891e-05/0.5106, allocations: 108.7 kB / 0.5948 GB, free: 5.715 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.482e-05/0.5107, allocations: 12 kB / 0.5948 GB, free: 5.703 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.5109, allocations: 11.98 kB / 0.5948 GB, free: 5.691 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.5109, allocations: 15.92 kB / 0.5948 GB, free: 5.676 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.788e-05/0.511, allocations: 15.98 kB / 0.5949 GB, free: 5.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002262/0.5112, allocations: 219 kB / 0.5951 GB, free: 5.445 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5112, allocations: 0 / 0.5951 GB, free: 5.445 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005449/0.5118, allocations: 112 kB / 0.5952 GB, free: 5.336 MB / 426.7 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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.0002199/0.512, allocations: 127.1 kB / 0.5953 GB, free: 5.199 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008369/0.5128, allocations: 489.6 kB / 0.5958 GB, free: 4.711 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5129, allocations: 3.938 kB / 0.5958 GB, free: 4.707 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.5131, allocations: 140.3 kB / 0.5959 GB, free: 4.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005251/0.5136, allocations: 64.36 kB / 0.596 GB, free: 4.512 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.5156, allocations: 1.246 MB / 0.5972 GB, free: 3.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005196/0.5161, allocations: 0.8698 MB / 0.598 GB, free: 2.332 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003287/0.5164, allocations: 123.1 kB / 0.5981 GB, free: 2.215 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.818e-05/0.5165, allocations: 27.44 kB / 0.5982 GB, free: 2.188 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5165, allocations: 0 / 0.5982 GB, free: 2.188 MB / 426.7 MB Notification: Performance of Templates: time 0.008177/0.5247, allocations: 3.468 MB / 0.6016 GB, free: 14.73 MB / 442.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Impedance.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches