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.001143/0.001143, allocations: 179.9 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.527/1.527, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.000856/0.0008556, allocations: 100.7 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1771/0.1771, allocations: 38.06 MB / 357.2 MB, free: 1.879 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002956/0.0002957, allocations: 8 kB / 424 MB, free: 37.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2933, allocations: 56.32 MB / 480.3 MB, free: 9.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1372/0.4306, allocations: 95.94 MB / 0.5627 GB, free: 6.477 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.4309, allocations: 83.95 kB / 0.5628 GB, free: 6.395 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1241/0.555, allocations: 54.31 MB / 0.6159 GB, free: 15.37 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.555, allocations: 3.938 kB / 0.6159 GB, free: 15.37 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.86e-05/0.5551, allocations: 16 kB / 0.6159 GB, free: 15.35 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.001786/0.5569, allocations: 1.008 MB / 0.6169 GB, free: 14.29 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.5569, allocations: 12.02 kB / 0.6169 GB, free: 14.28 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003177/0.5601, allocations: 406.4 kB / 0.6173 GB, free: 13.88 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008498/0.561, allocations: 479.5 kB / 0.6177 GB, free: 13.37 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.281e-05/0.561, allocations: 61.92 kB / 0.6178 GB, free: 13.31 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.5612, allocations: 71.98 kB / 0.6178 GB, free: 13.24 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.5629, allocations: 1.144 MB / 0.619 GB, free: 12.07 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.5629, allocations: 0 / 0.619 GB, free: 12.07 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.202e-05/0.563, allocations: 31.98 kB / 0.619 GB, free: 12.04 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002582/0.5633, allocations: 109.8 kB / 0.6191 GB, free: 11.93 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00173/0.565, allocations: 1.187 MB / 0.6202 GB, free: 10.74 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005245/0.5703, allocations: 3.523 MB / 0.6237 GB, free: 7.121 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.5718, allocations: 1.05 MB / 0.6247 GB, free: 6.051 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.011e-05/0.5719, allocations: 20.97 kB / 0.6247 GB, free: 6.031 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.5719, allocations: 43.56 kB / 0.6248 GB, free: 5.98 MB / 458.7 MB Notification: Performance of pre-optimization done (n=91): time 2.374e-06/0.572, allocations: 0 / 0.6248 GB, free: 5.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=92): time 0.006367/0.5783, allocations: 3.057 MB / 0.6278 GB, free: 2.895 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.5784, allocations: 94.23 kB / 0.6279 GB, free: 2.785 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003883/0.5788, allocations: 320.8 kB / 0.6282 GB, free: 2.469 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.678e-05/0.5789, allocations: 41.7 kB / 0.6282 GB, free: 2.422 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.5791, allocations: 312.2 kB / 0.6285 GB, free: 2.109 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002673/0.5793, allocations: 315.4 kB / 0.6288 GB, free: 1.797 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/0.5794, allocations: 16 kB / 0.6288 GB, free: 1.781 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.5795, allocations: 370.8 kB / 0.6292 GB, free: 1.41 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006214/0.5802, allocations: 433.7 kB / 0.6296 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006756/0.5809, allocations: 0.5461 MB / 0.6301 GB, free: 420 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007552/0.5816, allocations: 0.5105 MB / 0.6306 GB, free: 15.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5816, allocations: 4 kB / 0.6306 GB, free: 15.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002327/0.584, allocations: 1.411 MB / 0.632 GB, free: 14.48 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.584, allocations: 11.98 kB / 0.632 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.584, allocations: 0 / 0.632 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009938/0.585, allocations: 343.1 kB / 0.6323 GB, free: 14.13 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007881/0.5858, allocations: 187.7 kB / 0.6325 GB, free: 13.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005665/0.5915, allocations: 4.004 MB / 0.6364 GB, free: 9.781 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000647/0.5922, allocations: 67.98 kB / 0.6365 GB, free: 9.715 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.486e-05/0.5923, allocations: 27.98 kB / 0.6365 GB, free: 9.688 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.0005489/0.5928, allocations: 293.6 kB / 0.6368 GB, free: 9.391 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.5929, allocations: 59.28 kB / 0.6368 GB, free: 9.332 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002621/0.5956, allocations: 1.532 MB / 0.6383 GB, free: 7.785 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.5956, allocations: 12 kB / 0.6384 GB, free: 7.773 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.5956, allocations: 4 kB / 0.6384 GB, free: 7.77 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.5956, allocations: 7.969 kB / 0.6384 GB, free: 7.762 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.004845/0.6005, allocations: 3.008 MB / 0.6413 GB, free: 4.629 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.6005, allocations: 4.438 kB / 0.6413 GB, free: 4.625 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006692/0.6012, allocations: 171.8 kB / 0.6415 GB, free: 4.457 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000787/0.602, allocations: 285 kB / 0.6417 GB, free: 4.176 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.574e-05/0.602, allocations: 24 kB / 0.6418 GB, free: 4.152 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005198/0.6072, allocations: 3.698 MB / 0.6454 GB, free: 312 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.124e-05/0.6073, allocations: 7.984 kB / 0.6454 GB, free: 304 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2815/0.8888, allocations: 1.728 MB / 0.6471 GB, free: 123.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002498/0.8891, allocations: 143.2 kB / 0.6472 GB, free: 123.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.995e-05/0.8892, allocations: 23.72 kB / 0.6472 GB, free: 123.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004972/0.8897, allocations: 47.83 kB / 0.6473 GB, free: 123.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/0.89, allocations: 81.47 kB / 0.6474 GB, free: 123.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.914e-05/0.89, allocations: 33.42 kB / 0.6474 GB, free: 123.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003465/0.8904, allocations: 255.2 kB / 0.6476 GB, free: 123.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8904, allocations: 0 / 0.6476 GB, free: 123.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001131/0.8915, allocations: 316.3 kB / 0.6479 GB, free: 123.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.0002148/0.8918, allocations: 139.9 kB / 0.6481 GB, free: 123.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002428/0.8942, allocations: 1.345 MB / 0.6494 GB, free: 123 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.8942, allocations: 1.438 kB / 0.6494 GB, free: 123 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001308/0.8955, allocations: 0.8305 MB / 0.6502 GB, free: 122.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005191/0.8961, allocations: 85.16 kB / 0.6503 GB, free: 122.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003195/0.8993, allocations: 2.1 MB / 0.6523 GB, free: 122 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009057/0.9002, allocations: 1.089 MB / 0.6534 GB, free: 121.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005963/0.9008, allocations: 180.1 kB / 0.6536 GB, free: 121.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.901, allocations: 58.19 kB / 0.6536 GB, free: 121.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.082e-06/0.901, allocations: 0 / 0.6536 GB, free: 121.3 MB / 474.7 MB Notification: Performance of Templates: time 0.01923/0.9202, allocations: 9.008 MB / 0.6624 GB, free: 120.9 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/jenkins/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