Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.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.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009318/0.000932, allocations: 176.5 kB / 17.4 MB, free: 4.305 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.432/1.432, allocations: 205.4 MB / 223.5 MB, free: 9.012 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.000797/0.0007971, allocations: 81.56 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.1822/0.1822, allocations: 38.07 MB / 358.2 MB, free: 1.723 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003712, allocations: 16 kB / 425.2 MB, free: 37.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2618, allocations: 56.32 MB / 481.6 MB, free: 9.578 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1233/0.3852, allocations: 95.71 MB / 0.5637 GB, free: 6.535 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.3855, allocations: 91.81 kB / 0.5638 GB, free: 6.449 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1365/0.522, allocations: 57.86 MB / 0.6203 GB, free: 11.88 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.5221, allocations: 0 / 0.6203 GB, free: 11.88 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.077e-05/0.5221, allocations: 12 kB / 0.6203 GB, free: 11.87 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003192/0.5253, allocations: 1.039 MB / 0.6214 GB, free: 10.78 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.5254, allocations: 8.031 kB / 0.6214 GB, free: 10.77 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003734/0.5291, allocations: 431.3 kB / 0.6218 GB, free: 10.35 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.5302, allocations: 0.5051 MB / 0.6223 GB, free: 9.805 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.927e-05/0.5303, allocations: 54.36 kB / 0.6223 GB, free: 9.75 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002387/0.5305, allocations: 76.27 kB / 0.6224 GB, free: 9.676 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/0.5327, allocations: 1.2 MB / 0.6236 GB, free: 8.453 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.83e-05/0.5327, allocations: 4.188 kB / 0.6236 GB, free: 8.449 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/0.5329, allocations: 35.92 kB / 0.6236 GB, free: 8.414 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002803/0.5331, allocations: 109.9 kB / 0.6237 GB, free: 8.305 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.5352, allocations: 1.253 MB / 0.6249 GB, free: 7.055 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006105/0.5413, allocations: 3.712 MB / 0.6286 GB, free: 3.23 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.5431, allocations: 1.086 MB / 0.6296 GB, free: 2.117 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008812/0.544, allocations: 0.6369 MB / 0.6302 GB, free: 1.473 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.888e-05/0.5441, allocations: 13.14 kB / 0.6303 GB, free: 1.461 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.5442, allocations: 43.56 kB / 0.6303 GB, free: 1.41 MB / 458.7 MB Notification: Performance of pre-optimization done (n=92): time 3.526e-06/0.5442, allocations: 4 kB / 0.6303 GB, free: 1.406 MB / 458.7 MB Notification: Performance of matching and sorting (n=93): time 0.006948/0.5511, allocations: 3.084 MB / 0.6333 GB, free: 14.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.5512, allocations: 86.11 kB / 0.6334 GB, free: 14.19 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005068/0.5517, allocations: 373.6 kB / 0.6337 GB, free: 13.82 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.239e-05/0.5518, allocations: 41.7 kB / 0.6338 GB, free: 13.77 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000249/0.5521, allocations: 332.1 kB / 0.6341 GB, free: 13.44 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003555/0.5524, allocations: 315.3 kB / 0.6344 GB, free: 13.13 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.709e-05/0.5525, allocations: 20 kB / 0.6344 GB, free: 13.11 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002078/0.5527, allocations: 366.8 kB / 0.6348 GB, free: 12.74 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000707/0.5534, allocations: 441.7 kB / 0.6352 GB, free: 12.31 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009053/0.5543, allocations: 0.5509 MB / 0.6357 GB, free: 11.73 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001609/0.556, allocations: 1.071 MB / 0.6368 GB, free: 10.62 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.556, allocations: 0 / 0.6368 GB, free: 10.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002504/0.5585, allocations: 1.431 MB / 0.6382 GB, free: 9.188 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.5585, allocations: 12 kB / 0.6382 GB, free: 9.176 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.5586, allocations: 4 kB / 0.6382 GB, free: 9.172 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009594/0.5595, allocations: 338.9 kB / 0.6385 GB, free: 8.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007614/0.5603, allocations: 191.7 kB / 0.6387 GB, free: 8.652 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005527/0.5658, allocations: 3.904 MB / 0.6425 GB, free: 4.586 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006737/0.5665, allocations: 67.91 kB / 0.6426 GB, free: 4.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.079e-05/0.5666, allocations: 28 kB / 0.6426 GB, free: 4.492 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * Array equations: 0 * 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 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005694/0.5672, allocations: 301.5 kB / 0.6429 GB, free: 4.188 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.5674, allocations: 71.25 kB / 0.643 GB, free: 4.117 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002711/0.5701, allocations: 1.516 MB / 0.6444 GB, free: 2.586 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.5701, allocations: 12 kB / 0.6445 GB, free: 2.574 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.5701, allocations: 7.938 kB / 0.6445 GB, free: 2.566 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.5701, allocations: 7.984 kB / 0.6445 GB, free: 2.559 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2157/0.7858, allocations: 2.995 MB / 0.6474 GB, free: 121 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/0.7859, allocations: 3.5 kB / 0.6474 GB, free: 121 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007439/0.7867, allocations: 174.7 kB / 0.6476 GB, free: 121 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007892/0.7875, allocations: 274.3 kB / 0.6478 GB, free: 121 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.358e-05/0.7875, allocations: 27.12 kB / 0.6478 GB, free: 121 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004595/0.7921, allocations: 3.615 MB / 0.6514 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/0.7922, allocations: 11.84 kB / 0.6514 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002785/0.7949, allocations: 1.536 MB / 0.6529 GB, free: 119.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.7952, allocations: 149.6 kB / 0.653 GB, free: 119.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.529e-05/0.7952, allocations: 25.03 kB / 0.6531 GB, free: 119.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004353/0.7957, allocations: 49.67 kB / 0.6531 GB, free: 119.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.7958, allocations: 80.91 kB / 0.6532 GB, free: 119.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.533e-05/0.7959, allocations: 31.67 kB / 0.6532 GB, free: 119.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000291/0.7962, allocations: 263.4 kB / 0.6535 GB, free: 119.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.7962, allocations: 0 / 0.6535 GB, free: 119.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009982/0.7972, allocations: 331.3 kB / 0.6538 GB, free: 119.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000158/0.7974, allocations: 128.6 kB / 0.6539 GB, free: 119.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002043/0.7994, allocations: 1.343 MB / 0.6552 GB, free: 118.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.7994, allocations: 1.375 kB / 0.6552 GB, free: 118.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.8006, allocations: 0.8262 MB / 0.656 GB, free: 118.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007857/0.8014, allocations: 105.3 kB / 0.6561 GB, free: 118.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/0.8047, allocations: 2.152 MB / 0.6582 GB, free: 117.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007457/0.8055, allocations: 1.083 MB / 0.6593 GB, free: 117.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005302/0.806, allocations: 181.1 kB / 0.6595 GB, free: 117.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.8062, allocations: 56.41 kB / 0.6595 GB, free: 117.2 MB / 474.7 MB Notification: Performance of SimCode: time 7.02e-07/0.8062, allocations: 0 / 0.6595 GB, free: 117.2 MB / 474.7 MB Notification: Performance of Templates: time 0.01598/0.8222, allocations: 9.076 MB / 0.6684 GB, free: 116.8 MB / 474.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkOpened.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches