Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.NetworkLoop_dq,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.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,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.NetworkLoop_dq") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001669/0.001669, allocations: 176.4 kB / 17.4 MB, free: 4.422 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.434/1.434, allocations: 205.4 MB / 223.5 MB, free: 9.023 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.000814/0.0008137, allocations: 86.42 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1729/0.1729, allocations: 38.07 MB / 358.2 MB, free: 1.738 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004564/0.0004566, allocations: 16 kB / 425.2 MB, free: 37.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2818, allocations: 56.32 MB / 481.6 MB, free: 9.59 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.137/0.4189, allocations: 95.96 MB / 0.564 GB, free: 6.297 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/0.4191, allocations: 87.81 kB / 0.5641 GB, free: 6.215 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1278/0.547, allocations: 54.36 MB / 0.6172 GB, free: 15.13 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.547, allocations: 3.938 kB / 0.6172 GB, free: 15.12 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.493e-05/0.5471, allocations: 16 kB / 0.6172 GB, free: 15.11 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002093/0.5492, allocations: 1.004 MB / 0.6182 GB, free: 14.05 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.5492, allocations: 8.031 kB / 0.6182 GB, free: 14.05 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003258/0.5525, allocations: 403.4 kB / 0.6186 GB, free: 13.65 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008344/0.5534, allocations: 0.4888 MB / 0.619 GB, free: 13.12 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.964e-05/0.5534, allocations: 54.36 kB / 0.6191 GB, free: 13.07 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.5536, allocations: 72.36 kB / 0.6192 GB, free: 13 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/0.5554, allocations: 1.149 MB / 0.6203 GB, free: 11.82 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.5554, allocations: 192 / 0.6203 GB, free: 11.82 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-05/0.5555, allocations: 35.92 kB / 0.6203 GB, free: 11.79 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002587/0.5558, allocations: 101.9 kB / 0.6204 GB, free: 11.69 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.5576, allocations: 1.194 MB / 0.6216 GB, free: 10.5 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005392/0.563, allocations: 3.515 MB / 0.625 GB, free: 6.883 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.5647, allocations: 1.057 MB / 0.626 GB, free: 5.805 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008667/0.5656, allocations: 0.641 MB / 0.6267 GB, free: 5.156 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.847e-05/0.5656, allocations: 20.98 kB / 0.6267 GB, free: 5.137 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.5657, allocations: 39.56 kB / 0.6267 GB, free: 5.09 MB / 458.7 MB Notification: Performance of pre-optimization done (n=91): time 3.407e-06/0.5657, allocations: 0 / 0.6267 GB, free: 5.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=92): time 0.006988/0.5727, allocations: 3.088 MB / 0.6297 GB, free: 1.977 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.326e-05/0.5728, allocations: 90.09 kB / 0.6298 GB, free: 1.867 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004764/0.5733, allocations: 361.7 kB / 0.6302 GB, free: 1.508 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.333e-05/0.5734, allocations: 37.7 kB / 0.6302 GB, free: 1.465 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/0.5736, allocations: 320.1 kB / 0.6305 GB, free: 1.145 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003004/0.5739, allocations: 315.3 kB / 0.6308 GB, free: 0.832 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.574, allocations: 20 kB / 0.6308 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.5741, allocations: 366.8 kB / 0.6312 GB, free: 456 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006756/0.5748, allocations: 437.8 kB / 0.6316 GB, free: 20 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007896/0.5756, allocations: 0.5539 MB / 0.6321 GB, free: 15.44 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/0.5772, allocations: 1.051 MB / 0.6332 GB, free: 14.36 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.5773, allocations: 4 kB / 0.6332 GB, free: 14.35 MB / 474.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00247/0.5797, allocations: 1.415 MB / 0.6346 GB, free: 12.93 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.5798, allocations: 12.19 kB / 0.6346 GB, free: 12.92 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.5798, allocations: 4 kB / 0.6346 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009744/0.5808, allocations: 338.9 kB / 0.6349 GB, free: 12.58 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007457/0.5815, allocations: 187.7 kB / 0.6351 GB, free: 12.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005185/0.5867, allocations: 3.896 MB / 0.6389 GB, free: 8.344 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006297/0.5874, allocations: 71.81 kB / 0.6389 GB, free: 8.273 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.114e-05/0.5875, allocations: 31.94 kB / 0.639 GB, free: 8.242 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * 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.0005331/0.588, allocations: 297.5 kB / 0.6393 GB, free: 7.941 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.5881, allocations: 59.34 kB / 0.6393 GB, free: 7.883 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002646/0.5908, allocations: 1.528 MB / 0.6408 GB, free: 6.34 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.5908, allocations: 11.94 kB / 0.6408 GB, free: 6.328 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.5908, allocations: 4 kB / 0.6408 GB, free: 6.324 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.5909, allocations: 11.98 kB / 0.6408 GB, free: 6.312 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.004986/0.5959, allocations: 3.005 MB / 0.6438 GB, free: 3.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.5959, allocations: 11.88 kB / 0.6438 GB, free: 3.168 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006734/0.5966, allocations: 167.8 kB / 0.6439 GB, free: 3.004 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007733/0.5973, allocations: 281.4 kB / 0.6442 GB, free: 2.727 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.971e-05/0.5974, allocations: 23.98 kB / 0.6442 GB, free: 2.703 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2199/0.8173, allocations: 3.597 MB / 0.6477 GB, free: 122.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.784e-06/0.8174, allocations: 10.25 kB / 0.6478 GB, free: 122.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003136/0.8205, allocations: 1.55 MB / 0.6493 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002608/0.8208, allocations: 142.9 kB / 0.6494 GB, free: 122.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.821, allocations: 23.06 kB / 0.6494 GB, free: 122.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005718/0.8216, allocations: 49.78 kB / 0.6495 GB, free: 122.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/0.8218, allocations: 80.66 kB / 0.6495 GB, free: 122.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.798e-05/0.8219, allocations: 34 kB / 0.6496 GB, free: 122.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003348/0.8222, allocations: 252.9 kB / 0.6498 GB, free: 122.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.8222, allocations: 1.188 kB / 0.6498 GB, free: 122.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001351/0.8236, allocations: 323.3 kB / 0.6501 GB, free: 122.1 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.0002538/0.8238, allocations: 135.7 kB / 0.6503 GB, free: 122 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002507/0.8264, allocations: 1.344 MB / 0.6516 GB, free: 121.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.8264, allocations: 1.406 kB / 0.6516 GB, free: 121.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001537/0.8279, allocations: 0.8286 MB / 0.6524 GB, free: 121.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.8291, allocations: 111.8 kB / 0.6525 GB, free: 121.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003956/0.833, allocations: 2.109 MB / 0.6545 GB, free: 120.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008216/0.8339, allocations: 1.066 MB / 0.6556 GB, free: 120.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005338/0.8344, allocations: 180.8 kB / 0.6558 GB, free: 120.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.8346, allocations: 56.81 kB / 0.6558 GB, free: 120.1 MB / 474.7 MB Notification: Performance of SimCode: time 7.31e-07/0.8346, allocations: 0 / 0.6558 GB, free: 120.1 MB / 474.7 MB Notification: Performance of Templates: time 0.01748/0.8521, allocations: 9.016 MB / 0.6646 GB, free: 119.8 MB / 474.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches