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.00156/0.00156, 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.584/1.584, allocations: 205.4 MB / 223.5 MB, free: 9.035 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.0008599/0.00086, allocations: 93.41 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.1913/0.1913, allocations: 38.09 MB / 358.3 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003704, allocations: 12 kB / 425.2 MB, free: 37.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2719, allocations: 56.32 MB / 481.6 MB, free: 9.598 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1402/0.4122, allocations: 104.7 MB / 0.5725 GB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/0.4126, allocations: 99.8 kB / 0.5726 GB, free: 13.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04903/0.4616, allocations: 17.45 MB / 0.5896 GB, free: 11.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4616, allocations: 0 / 0.5896 GB, free: 11.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.794e-05/0.4617, allocations: 19.94 kB / 0.5896 GB, free: 11.85 MB / 426.7 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.00198/0.4637, allocations: 0.8479 MB / 0.5905 GB, free: 10.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.4637, allocations: 8.031 kB / 0.5905 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/0.4649, allocations: 148 kB / 0.5906 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/0.4668, allocations: 0.7849 MB / 0.5914 GB, free: 9.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.668e-05/0.4668, allocations: 34.12 kB / 0.5914 GB, free: 9.949 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.467, allocations: 59.88 kB / 0.5915 GB, free: 9.891 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.4684, allocations: 0.8547 MB / 0.5923 GB, free: 8.965 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/0.4685, allocations: 8 kB / 0.5923 GB, free: 8.957 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.566e-05/0.4686, allocations: 19.98 kB / 0.5923 GB, free: 8.938 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001554/0.4687, allocations: 28.98 kB / 0.5924 GB, free: 8.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000989/0.4697, allocations: 0.6009 MB / 0.5929 GB, free: 8.309 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01131/0.481, allocations: 5.784 MB / 0.5986 GB, free: 2.371 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.4822, allocations: 0.7635 MB / 0.5993 GB, free: 1.594 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008394/0.4831, allocations: 0.6551 MB / 0.6 GB, free: 0.9336 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.703e-05/0.4832, allocations: 16.3 kB / 0.6 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.4832, allocations: 42.98 kB / 0.6 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of pre-optimization done (n=52): time 3.026e-06/0.4833, allocations: 0 / 0.6 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of matching and sorting (n=53): time 0.01883/0.5021, allocations: 6.412 MB / 0.6063 GB, free: 10.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/0.5022, allocations: 85.55 kB / 0.6064 GB, free: 10.24 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005306/0.5027, allocations: 401.8 kB / 0.6068 GB, free: 9.836 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001693/0.5029, allocations: 33.7 kB / 0.6068 GB, free: 9.797 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/0.5032, allocations: 323.7 kB / 0.6071 GB, free: 9.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003356/0.5035, allocations: 253 kB / 0.6073 GB, free: 9.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.529e-05/0.5036, allocations: 16 kB / 0.6074 GB, free: 9.215 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.5038, allocations: 374.7 kB / 0.6077 GB, free: 8.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/0.5051, allocations: 0.802 MB / 0.6085 GB, free: 8.039 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/0.5064, allocations: 1.009 MB / 0.6095 GB, free: 6.949 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002643/0.509, allocations: 1.934 MB / 0.6114 GB, free: 4.926 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/0.509, allocations: 4 kB / 0.6114 GB, free: 4.922 MB / 442.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.01543/0.5245, allocations: 5.392 MB / 0.6166 GB, free: 15.51 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.5245, allocations: 12.03 kB / 0.6167 GB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01147/0.536, allocations: 4.274 MB / 0.6208 GB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01725/0.5533, allocations: 5.839 MB / 0.6265 GB, free: 5.359 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005535/0.5539, allocations: 115.8 kB / 0.6266 GB, free: 5.246 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0171/0.571, allocations: 10.95 MB / 0.6373 GB, free: 10.15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008543/0.5719, allocations: 63.84 kB / 0.6374 GB, free: 10.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003588/0.5723, allocations: 163.9 kB / 0.6376 GB, free: 9.926 MB / 474.7 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 () * Number of clocked 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.000619/0.573, allocations: 257.5 kB / 0.6378 GB, free: 9.664 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/0.5731, allocations: 47.44 kB / 0.6379 GB, free: 9.617 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01276/0.5859, allocations: 4.087 MB / 0.6418 GB, free: 5.52 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-05/0.586, allocations: 8 kB / 0.6419 GB, free: 5.512 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.586, allocations: 3.984 kB / 0.6419 GB, free: 5.508 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.477e-05/0.5861, allocations: 4 kB / 0.6419 GB, free: 5.504 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2479/0.834, allocations: 5.479 MB / 0.6472 GB, free: 139.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.916e-05/0.8341, allocations: 3.188 kB / 0.6472 GB, free: 139.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003827/0.8344, allocations: 60.36 kB / 0.6473 GB, free: 139.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02582/0.8603, allocations: 7.973 MB / 0.6551 GB, free: 139.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004396/0.8608, allocations: 240.5 kB / 0.6553 GB, free: 139.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01866/0.8794, allocations: 13.65 MB / 0.6686 GB, free: 135.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.8795, allocations: 2.438 kB / 0.6686 GB, free: 135.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01181/0.8913, allocations: 4.502 MB / 0.673 GB, free: 134.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001986/0.8915, allocations: 121.6 kB / 0.6731 GB, free: 134.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003422/0.8919, allocations: 189.4 kB / 0.6733 GB, free: 134.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005658/0.8925, allocations: 44.12 kB / 0.6734 GB, free: 134.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005669/0.8931, allocations: 145.1 kB / 0.6735 GB, free: 134.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001876/0.8932, allocations: 171 kB / 0.6737 GB, free: 134.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002805/0.8935, allocations: 273.5 kB / 0.6739 GB, free: 134.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8935, allocations: 0 / 0.6739 GB, free: 134.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001537/0.8951, allocations: 390.2 kB / 0.6743 GB, free: 134.3 MB / 474.7 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 () * Number of clocked 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.000383/0.8955, allocations: 159.2 kB / 0.6744 GB, free: 134.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00411/0.8996, allocations: 2.431 MB / 0.6768 GB, free: 133.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.8996, allocations: 0 / 0.6768 GB, free: 133.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003016/0.9026, allocations: 1.58 MB / 0.6784 GB, free: 132.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007706/0.9034, allocations: 127.9 kB / 0.6785 GB, free: 132.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004804/0.9082, allocations: 3.988 MB / 0.6824 GB, free: 130.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004471/0.9087, allocations: 0.967 MB / 0.6833 GB, free: 129.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004205/0.9091, allocations: 142.1 kB / 0.6835 GB, free: 129.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.928e-05/0.9092, allocations: 38.12 kB / 0.6835 GB, free: 129.9 MB / 474.7 MB Notification: Performance of SimCode: time 5.71e-07/0.9092, allocations: 0 / 0.6835 GB, free: 129.9 MB / 474.7 MB Notification: Performance of Templates: time 0.03848/0.9477, allocations: 33.05 MB / 0.7158 GB, free: 104.3 MB / 474.7 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/jenkins1/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