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.001145/0.001145, allocations: 180.4 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.503/1.503, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.000919/0.000919, allocations: 100.9 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1707/0.1707, allocations: 38.06 MB / 357.2 MB, free: 1.891 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002911/0.0002911, allocations: 8 kB / 424 MB, free: 37.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3031, allocations: 56.31 MB / 480.3 MB, free: 9.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.139/0.4422, allocations: 95.69 MB / 0.5625 GB, free: 6.727 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.4424, allocations: 87.95 kB / 0.5626 GB, free: 6.641 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1333/0.5757, allocations: 57.79 MB / 0.619 GB, free: 12.15 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5757, allocations: 3.938 kB / 0.619 GB, free: 12.14 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.66e-05/0.5758, allocations: 23.94 kB / 0.619 GB, free: 12.12 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.001976/0.5778, allocations: 1.043 MB / 0.6201 GB, free: 11.03 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.5778, allocations: 12.03 kB / 0.6201 GB, free: 11.02 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003456/0.5813, allocations: 426.3 kB / 0.6205 GB, free: 10.6 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009479/0.5823, allocations: 0.4923 MB / 0.621 GB, free: 10.06 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.465e-05/0.5823, allocations: 57.98 kB / 0.621 GB, free: 10 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.5825, allocations: 71.98 kB / 0.6211 GB, free: 9.934 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002038/0.5845, allocations: 1.203 MB / 0.6222 GB, free: 8.703 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/0.5846, allocations: 3.984 kB / 0.6223 GB, free: 8.699 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.5847, allocations: 35.97 kB / 0.6223 GB, free: 8.664 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002971/0.585, allocations: 105.9 kB / 0.6224 GB, free: 8.562 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001925/0.5869, allocations: 1.257 MB / 0.6236 GB, free: 7.301 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005956/0.5929, allocations: 3.7 MB / 0.6272 GB, free: 3.492 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/0.5947, allocations: 1.094 MB / 0.6283 GB, free: 2.367 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.945e-05/0.5947, allocations: 21.19 kB / 0.6283 GB, free: 2.348 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.5948, allocations: 43.56 kB / 0.6284 GB, free: 2.297 MB / 458.7 MB Notification: Performance of pre-optimization done (n=92): time 4.458e-06/0.5948, allocations: 4 kB / 0.6284 GB, free: 2.293 MB / 458.7 MB Notification: Performance of matching and sorting (n=93): time 0.006514/0.6013, allocations: 3.044 MB / 0.6313 GB, free: 15.22 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.6014, allocations: 90.23 kB / 0.6314 GB, free: 15.12 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003842/0.6018, allocations: 328.8 kB / 0.6317 GB, free: 14.79 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.725e-05/0.6019, allocations: 41.7 kB / 0.6318 GB, free: 14.75 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.6021, allocations: 320.1 kB / 0.6321 GB, free: 14.43 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/0.6023, allocations: 323.3 kB / 0.6324 GB, free: 14.11 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.6024, allocations: 16 kB / 0.6324 GB, free: 14.09 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.6026, allocations: 370.7 kB / 0.6328 GB, free: 13.72 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006068/0.6032, allocations: 445.7 kB / 0.6332 GB, free: 13.28 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007036/0.6039, allocations: 0.547 MB / 0.6337 GB, free: 12.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007411/0.6046, allocations: 0.5222 MB / 0.6342 GB, free: 12.18 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6046, allocations: 0 / 0.6342 GB, free: 12.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002331/0.607, allocations: 1.427 MB / 0.6356 GB, free: 10.75 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.607, allocations: 8 kB / 0.6356 GB, free: 10.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.607, allocations: 0 / 0.6356 GB, free: 10.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009477/0.608, allocations: 339.1 kB / 0.636 GB, free: 10.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007721/0.6088, allocations: 199.7 kB / 0.6361 GB, free: 10.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005228/0.614, allocations: 3.994 MB / 0.64 GB, free: 6.051 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006261/0.6147, allocations: 67.91 kB / 0.6401 GB, free: 5.984 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.344e-05/0.6147, allocations: 32 kB / 0.6401 GB, free: 5.953 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.0005287/0.6153, allocations: 297.6 kB / 0.6404 GB, free: 5.652 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.6154, allocations: 59.3 kB / 0.6405 GB, free: 5.594 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002598/0.618, allocations: 1.524 MB / 0.642 GB, free: 4.055 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.618, allocations: 12 kB / 0.642 GB, free: 4.043 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.618, allocations: 7.938 kB / 0.642 GB, free: 4.035 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.618, allocations: 7.922 kB / 0.642 GB, free: 4.027 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.00491/0.623, allocations: 3.006 MB / 0.6449 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.623, allocations: 15.92 kB / 0.6449 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006394/0.6236, allocations: 167.8 kB / 0.6451 GB, free: 0.7148 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007935/0.6244, allocations: 284.6 kB / 0.6454 GB, free: 444 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.247e-05/0.6245, allocations: 24 kB / 0.6454 GB, free: 420 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.273/0.8975, allocations: 3.691 MB / 0.649 GB, free: 120.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.8975, allocations: 5.625 kB / 0.649 GB, free: 120.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002713/0.9003, allocations: 1.721 MB / 0.6507 GB, free: 119.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001923/0.9005, allocations: 142.8 kB / 0.6508 GB, free: 119.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.682e-05/0.9006, allocations: 28.86 kB / 0.6509 GB, free: 119.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004861/0.9011, allocations: 55.72 kB / 0.6509 GB, free: 119.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.9012, allocations: 74.81 kB / 0.651 GB, free: 119.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.518e-05/0.9013, allocations: 32.34 kB / 0.651 GB, free: 119.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002975/0.9016, allocations: 265.4 kB / 0.6513 GB, free: 119.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.9016, allocations: 1.969 kB / 0.6513 GB, free: 119.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001061/0.9027, allocations: 328.4 kB / 0.6516 GB, free: 119.6 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.000197/0.9029, allocations: 134 kB / 0.6517 GB, free: 119.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002154/0.905, allocations: 1.338 MB / 0.653 GB, free: 119.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.905, allocations: 2.844 kB / 0.653 GB, free: 119.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00126/0.9063, allocations: 0.8245 MB / 0.6538 GB, free: 119.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004997/0.9068, allocations: 90.33 kB / 0.6539 GB, free: 119.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003283/0.9101, allocations: 2.149 MB / 0.656 GB, free: 118.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008084/0.9109, allocations: 1.099 MB / 0.6571 GB, free: 117.6 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005315/0.9115, allocations: 185.4 kB / 0.6573 GB, free: 117.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.9117, allocations: 54.58 kB / 0.6573 GB, free: 117.6 MB / 474.7 MB Notification: Performance of SimCode: time 2.21e-07/0.9117, allocations: 0 / 0.6573 GB, free: 117.6 MB / 474.7 MB Notification: Performance of Templates: time 0.01616/0.9279, allocations: 9.061 MB / 0.6662 GB, free: 117.3 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/jenkins/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