Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.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,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") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009739/0.000974, allocations: 178.4 kB / 17.4 MB, free: 4.398 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.542/1.542, allocations: 205.4 MB / 223.5 MB, free: 9.02 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.0008995/0.0008994, allocations: 85.05 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1765/0.1765, allocations: 38.08 MB / 358.3 MB, free: 1.742 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003309/0.0003309, allocations: 12 kB / 425.2 MB, free: 37.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2598, allocations: 56.32 MB / 481.6 MB, free: 9.594 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1563/0.4162, allocations: 95.87 MB / 0.5639 GB, free: 6.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003456/0.4166, allocations: 87.81 kB / 0.564 GB, free: 6.328 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1607/0.5773, allocations: 54.95 MB / 0.6176 GB, free: 14.66 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5774, allocations: 3.938 kB / 0.6176 GB, free: 14.66 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.842e-05/0.5774, allocations: 16 kB / 0.6177 GB, free: 14.64 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.001899/0.5793, allocations: 1.012 MB / 0.6186 GB, free: 13.58 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.5794, allocations: 8.031 kB / 0.6187 GB, free: 13.57 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003438/0.5828, allocations: 399.4 kB / 0.619 GB, free: 13.18 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.5839, allocations: 496.5 kB / 0.6195 GB, free: 12.65 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.052e-05/0.584, allocations: 62.36 kB / 0.6196 GB, free: 12.59 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.5842, allocations: 68.36 kB / 0.6196 GB, free: 12.52 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002015/0.5862, allocations: 1.145 MB / 0.6208 GB, free: 11.36 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.305e-05/0.5862, allocations: 8.188 kB / 0.6208 GB, free: 11.35 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-05/0.5863, allocations: 31.92 kB / 0.6208 GB, free: 11.32 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002756/0.5866, allocations: 97.91 kB / 0.6209 GB, free: 11.22 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/0.5884, allocations: 1.202 MB / 0.6221 GB, free: 10.02 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00533/0.5937, allocations: 3.519 MB / 0.6255 GB, free: 6.402 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.5953, allocations: 1.049 MB / 0.6265 GB, free: 5.332 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008381/0.5962, allocations: 0.6449 MB / 0.6272 GB, free: 4.68 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.018e-05/0.5963, allocations: 12.98 kB / 0.6272 GB, free: 4.668 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.5963, allocations: 55.77 kB / 0.6272 GB, free: 4.605 MB / 458.7 MB Notification: Performance of pre-optimization done (n=91): time 3.456e-06/0.5963, allocations: 0 / 0.6272 GB, free: 4.605 MB / 458.7 MB Notification: Performance of matching and sorting (n=92): time 0.006488/0.6028, allocations: 3.086 MB / 0.6302 GB, free: 1.496 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.6029, allocations: 94.11 kB / 0.6303 GB, free: 1.383 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004181/0.6033, allocations: 357.6 kB / 0.6307 GB, free: 1.027 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.067e-05/0.6034, allocations: 37.7 kB / 0.6307 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.6036, allocations: 316.1 kB / 0.631 GB, free: 0.668 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/0.6038, allocations: 319.3 kB / 0.6313 GB, free: 360 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.6039, allocations: 12 kB / 0.6313 GB, free: 348 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.604, allocations: 370.8 kB / 0.6317 GB, free: 15.97 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006173/0.6047, allocations: 441.8 kB / 0.6321 GB, free: 15.54 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006928/0.6054, allocations: 0.5423 MB / 0.6326 GB, free: 14.97 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.6069, allocations: 1.059 MB / 0.6337 GB, free: 13.88 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6069, allocations: 0 / 0.6337 GB, free: 13.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002399/0.6093, allocations: 1.419 MB / 0.635 GB, free: 12.45 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.6093, allocations: 4 kB / 0.635 GB, free: 12.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.6093, allocations: 4 kB / 0.635 GB, free: 12.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009554/0.6103, allocations: 339.1 kB / 0.6354 GB, free: 12.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007337/0.611, allocations: 191.7 kB / 0.6356 GB, free: 11.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004998/0.616, allocations: 3.908 MB / 0.6394 GB, free: 7.855 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006388/0.6167, allocations: 67.81 kB / 0.6394 GB, free: 7.789 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.371e-05/0.6168, allocations: 32.06 kB / 0.6395 GB, free: 7.758 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.0005057/0.6173, allocations: 297.5 kB / 0.6397 GB, free: 7.457 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.6174, allocations: 55.34 kB / 0.6398 GB, free: 7.402 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002464/0.6199, allocations: 1.528 MB / 0.6413 GB, free: 5.863 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.6199, allocations: 19.88 kB / 0.6413 GB, free: 5.844 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6199, allocations: 4 kB / 0.6413 GB, free: 5.84 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.6199, allocations: 3.984 kB / 0.6413 GB, free: 5.836 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.004666/0.6246, allocations: 3.004 MB / 0.6443 GB, free: 2.703 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/0.6246, allocations: 7.938 kB / 0.6443 GB, free: 2.695 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006376/0.6253, allocations: 176.2 kB / 0.6444 GB, free: 2.523 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007885/0.6261, allocations: 273.1 kB / 0.6447 GB, free: 2.254 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.365e-05/0.6262, allocations: 35.98 kB / 0.6447 GB, free: 2.219 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2231/0.8493, allocations: 3.592 MB / 0.6482 GB, free: 122.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/0.8494, allocations: 8.281 kB / 0.6482 GB, free: 122.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002681/0.852, allocations: 1.549 MB / 0.6498 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001891/0.8523, allocations: 141 kB / 0.6499 GB, free: 122.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.215e-05/0.8524, allocations: 24.77 kB / 0.6499 GB, free: 122.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004744/0.8528, allocations: 53.61 kB / 0.65 GB, free: 122.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/0.853, allocations: 82.2 kB / 0.65 GB, free: 122.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.319e-05/0.8531, allocations: 30.67 kB / 0.6501 GB, free: 122.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003871/0.8535, allocations: 260 kB / 0.6503 GB, free: 122.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.8535, allocations: 0.9688 kB / 0.6503 GB, free: 122.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001273/0.8548, allocations: 320.6 kB / 0.6506 GB, free: 122.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.0002417/0.8551, allocations: 139.9 kB / 0.6508 GB, free: 122.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002252/0.8573, allocations: 1.342 MB / 0.6521 GB, free: 121.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.8573, allocations: 1.375 kB / 0.6521 GB, free: 121.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001254/0.8586, allocations: 0.8251 MB / 0.6529 GB, free: 121.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008306/0.8594, allocations: 102.6 kB / 0.653 GB, free: 121.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/0.8624, allocations: 2.118 MB / 0.655 GB, free: 120.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000699/0.8632, allocations: 1.07 MB / 0.6561 GB, free: 120.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006096/0.8638, allocations: 180.1 kB / 0.6563 GB, free: 120.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.864, allocations: 54.53 kB / 0.6563 GB, free: 120.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.062e-06/0.864, allocations: 0 / 0.6563 GB, free: 120.2 MB / 474.7 MB Notification: Performance of Templates: time 0.0167/0.8807, allocations: 9.022 MB / 0.6651 GB, free: 119.9 MB / 474.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches