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.001068/0.001068, allocations: 175.6 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.678/1.678, 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.001069/0.001069, allocations: 86.69 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.1681/0.1681, allocations: 37.98 MB / 353.5 MB, free: 1.75 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.494e-05/3.503e-05, allocations: 8 kB / 417.7 MB, free: 29.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1344, allocations: 56.31 MB / 474.1 MB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4533/0.5878, allocations: 95.58 MB / 0.5563 GB, free: 7.617 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/0.5882, allocations: 83.27 kB / 0.5564 GB, free: 7.574 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1846/0.7728, allocations: 57.48 MB / 0.6125 GB, free: 5.285 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.7728, allocations: 0 / 0.6125 GB, free: 5.285 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.685e-05/0.7729, allocations: 24 kB / 0.6125 GB, free: 5.262 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001922/0.7748, allocations: 0.9955 MB / 0.6135 GB, free: 4.219 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.7749, allocations: 12.03 kB / 0.6135 GB, free: 4.207 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003482/0.7784, allocations: 426.4 kB / 0.6139 GB, free: 3.789 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.7794, allocations: 0.4892 MB / 0.6144 GB, free: 3.258 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.413e-05/0.7794, allocations: 61.98 kB / 0.6144 GB, free: 3.199 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.7796, allocations: 71.98 kB / 0.6145 GB, free: 3.129 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/0.7816, allocations: 1.184 MB / 0.6157 GB, free: 1.918 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/0.7816, allocations: 4 kB / 0.6157 GB, free: 1.914 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.709e-05/0.7817, allocations: 31.98 kB / 0.6157 GB, free: 1.883 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002961/0.782, allocations: 109.8 kB / 0.6158 GB, free: 1.777 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/0.784, allocations: 1.23 MB / 0.617 GB, free: 0.543 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006127/0.7902, allocations: 3.708 MB / 0.6206 GB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.792, allocations: 1.07 MB / 0.6217 GB, free: 11.63 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000848/0.7929, allocations: 0.6213 MB / 0.6223 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.356e-05/0.793, allocations: 24.84 kB / 0.6223 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.793, allocations: 47.34 kB / 0.6224 GB, free: 10.92 MB / 426.7 MB Notification: Performance of pre-optimization done (n=92): time 3.636e-06/0.793, allocations: 4 kB / 0.6224 GB, free: 10.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=93): time 0.0037/0.7967, allocations: 1.99 MB / 0.6243 GB, free: 8.918 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.635e-05/0.7968, allocations: 97.83 kB / 0.6244 GB, free: 8.801 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004295/0.7973, allocations: 331.4 kB / 0.6247 GB, free: 8.477 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.976e-05/0.7973, allocations: 41.7 kB / 0.6248 GB, free: 8.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.7976, allocations: 328 kB / 0.6251 GB, free: 8.102 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002801/0.7978, allocations: 315.4 kB / 0.6254 GB, free: 7.789 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/0.7979, allocations: 20 kB / 0.6254 GB, free: 7.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.7981, allocations: 370.7 kB / 0.6257 GB, free: 7.398 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006864/0.7988, allocations: 437.8 kB / 0.6262 GB, free: 6.969 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000728/0.7995, allocations: 0.5392 MB / 0.6267 GB, free: 6.395 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007876/0.8003, allocations: 0.5162 MB / 0.6272 GB, free: 5.883 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.8003, allocations: 4 kB / 0.6272 GB, free: 5.879 MB / 426.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00249/0.8028, allocations: 1.408 MB / 0.6286 GB, free: 4.457 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.8029, allocations: 8 kB / 0.6286 GB, free: 4.449 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.8029, allocations: 0 / 0.6286 GB, free: 4.449 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009501/0.8038, allocations: 335.9 kB / 0.6289 GB, free: 4.121 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007718/0.8046, allocations: 191.7 kB / 0.6291 GB, free: 3.934 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00535/0.81, allocations: 3.887 MB / 0.6329 GB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007378/0.8107, allocations: 67.83 kB / 0.6329 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.968e-05/0.8108, allocations: 31.98 kB / 0.633 GB, free: 15.79 MB / 442.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 () * 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.0002053/0.811, allocations: 156.7 kB / 0.6331 GB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.8112, allocations: 63.36 kB / 0.6332 GB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002721/0.8139, allocations: 1.501 MB / 0.6346 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.8139, allocations: 12 kB / 0.6347 GB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.8139, allocations: 4 kB / 0.6347 GB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.814, allocations: 11.97 kB / 0.6347 GB, free: 14.02 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.005137/0.8191, allocations: 2.972 MB / 0.6376 GB, free: 10.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.8191, allocations: 7.953 kB / 0.6376 GB, free: 10.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006503/0.8198, allocations: 175.8 kB / 0.6377 GB, free: 10.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007929/0.8206, allocations: 277 kB / 0.638 GB, free: 10.47 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.741e-05/0.8207, allocations: 20 kB / 0.638 GB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004946/0.8256, allocations: 3.607 MB / 0.6416 GB, free: 6.695 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.8257, allocations: 7.938 kB / 0.6416 GB, free: 6.688 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0026/0.8283, allocations: 1.701 MB / 0.6432 GB, free: 4.824 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002232/0.8285, allocations: 144.3 kB / 0.6434 GB, free: 4.664 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.935e-05/0.8286, allocations: 23.98 kB / 0.6434 GB, free: 4.641 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004731/0.8291, allocations: 47.95 kB / 0.6434 GB, free: 4.594 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.8292, allocations: 84.56 kB / 0.6435 GB, free: 4.512 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.226e-05/0.8293, allocations: 32 kB / 0.6435 GB, free: 4.48 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003289/0.8296, allocations: 254.1 kB / 0.6438 GB, free: 4.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8297, allocations: 0 / 0.6438 GB, free: 4.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001077/0.8307, allocations: 328.1 kB / 0.6441 GB, free: 3.91 MB / 442.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 () * 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.0002523/0.831, allocations: 135 kB / 0.6442 GB, free: 3.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002351/0.8334, allocations: 1.318 MB / 0.6455 GB, free: 2.441 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.8334, allocations: 0.625 kB / 0.6455 GB, free: 2.441 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.8346, allocations: 0.8117 MB / 0.6463 GB, free: 1.617 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005508/0.8352, allocations: 86.14 kB / 0.6464 GB, free: 1.535 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/0.8379, allocations: 1.494 MB / 0.6478 GB, free: 15.97 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008441/0.8388, allocations: 1.105 MB / 0.6489 GB, free: 14.84 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000478/0.8392, allocations: 180.7 kB / 0.6491 GB, free: 14.66 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.8394, allocations: 55.42 kB / 0.6491 GB, free: 14.61 MB / 458.7 MB Notification: Performance of SimCode: time 3.737e-06/0.8395, allocations: 0 / 0.6491 GB, free: 14.61 MB / 458.7 MB Notification: Performance of Templates: time 0.01624/0.8557, allocations: 9.074 MB / 0.658 GB, free: 5.547 MB / 458.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