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.001775/0.001775, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.613/1.613, 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.0007743/0.0007745, allocations: 92.72 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1917/0.1917, allocations: 38.05 MB / 357.2 MB, free: 1.891 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003709, allocations: 12 kB / 424 MB, free: 37.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3492, allocations: 56.31 MB / 480.3 MB, free: 9.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.4929, allocations: 95.86 MB / 0.5627 GB, free: 6.578 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.4932, allocations: 83.95 kB / 0.5627 GB, free: 6.496 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1292/0.6224, allocations: 54.89 MB / 0.6163 GB, free: 14.89 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6224, allocations: 3.938 kB / 0.6163 GB, free: 14.88 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.627e-05/0.6225, allocations: 15.94 kB / 0.6164 GB, free: 14.87 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.001734/0.6242, allocations: 1.012 MB / 0.6173 GB, free: 13.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.6243, allocations: 12.03 kB / 0.6174 GB, free: 13.79 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003044/0.6273, allocations: 394.5 kB / 0.6177 GB, free: 13.41 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008063/0.6281, allocations: 487.5 kB / 0.6182 GB, free: 12.88 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.28e-05/0.6282, allocations: 53.98 kB / 0.6183 GB, free: 12.83 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.6283, allocations: 72 kB / 0.6183 GB, free: 12.76 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.6301, allocations: 1.152 MB / 0.6194 GB, free: 11.58 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.6301, allocations: 0 / 0.6194 GB, free: 11.58 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-05/0.6302, allocations: 31.98 kB / 0.6195 GB, free: 11.55 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002726/0.6305, allocations: 97.86 kB / 0.6196 GB, free: 11.46 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001812/0.6323, allocations: 1.191 MB / 0.6207 GB, free: 10.26 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005701/0.638, allocations: 3.527 MB / 0.6242 GB, free: 6.641 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/0.6399, allocations: 1.045 MB / 0.6252 GB, free: 5.574 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.64e-05/0.64, allocations: 25.5 kB / 0.6252 GB, free: 5.551 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.343e-05/0.6401, allocations: 47.5 kB / 0.6253 GB, free: 5.496 MB / 458.7 MB Notification: Performance of pre-optimization done (n=91): time 4.599e-06/0.6401, allocations: 0 / 0.6253 GB, free: 5.496 MB / 458.7 MB Notification: Performance of matching and sorting (n=92): time 0.007266/0.6474, allocations: 3.057 MB / 0.6283 GB, free: 2.41 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.372e-05/0.6475, allocations: 94.17 kB / 0.6283 GB, free: 2.301 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000474/0.648, allocations: 320.8 kB / 0.6286 GB, free: 1.984 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.868e-05/0.6481, allocations: 41.7 kB / 0.6287 GB, free: 1.938 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.6483, allocations: 312.2 kB / 0.629 GB, free: 1.625 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003052/0.6486, allocations: 315.3 kB / 0.6293 GB, free: 1.312 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/0.6487, allocations: 16 kB / 0.6293 GB, free: 1.297 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.6489, allocations: 366.8 kB / 0.6297 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000689/0.6496, allocations: 441.7 kB / 0.6301 GB, free: 0.4961 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000754/0.6504, allocations: 0.5383 MB / 0.6306 GB, free: 15.93 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007741/0.6512, allocations: 0.5183 MB / 0.6311 GB, free: 15.41 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.6512, allocations: 0 / 0.6311 GB, free: 15.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002541/0.6537, allocations: 1.419 MB / 0.6325 GB, free: 13.98 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.6538, allocations: 7.984 kB / 0.6325 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.6538, allocations: 4 kB / 0.6325 GB, free: 13.97 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/0.6548, allocations: 335.1 kB / 0.6328 GB, free: 13.64 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007818/0.6556, allocations: 191.7 kB / 0.633 GB, free: 13.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005396/0.661, allocations: 4.004 MB / 0.6369 GB, free: 9.297 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007024/0.6618, allocations: 63.98 kB / 0.637 GB, free: 9.234 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.65e-05/0.6618, allocations: 35.98 kB / 0.637 GB, free: 9.199 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.0005135/0.6624, allocations: 289.6 kB / 0.6373 GB, free: 8.906 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.6625, allocations: 59.34 kB / 0.6373 GB, free: 8.848 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002604/0.6651, allocations: 1.532 MB / 0.6388 GB, free: 7.297 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.6651, allocations: 8 kB / 0.6388 GB, free: 7.289 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.6651, allocations: 8 kB / 0.6389 GB, free: 7.281 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.6652, allocations: 7.969 kB / 0.6389 GB, free: 7.273 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.005183/0.6703, allocations: 3.001 MB / 0.6418 GB, free: 4.148 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/0.6704, allocations: 4.438 kB / 0.6418 GB, free: 4.145 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006673/0.671, allocations: 179.7 kB / 0.642 GB, free: 3.969 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007627/0.6718, allocations: 281 kB / 0.6422 GB, free: 3.691 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.525e-05/0.6719, allocations: 24 kB / 0.6423 GB, free: 3.668 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2625/0.9344, allocations: 3.692 MB / 0.6459 GB, free: 123 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-05/0.9345, allocations: 5.562 kB / 0.6459 GB, free: 123 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003094/0.9376, allocations: 1.734 MB / 0.6476 GB, free: 122.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002569/0.9379, allocations: 142.7 kB / 0.6477 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.405e-05/0.938, allocations: 21.52 kB / 0.6477 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005025/0.9385, allocations: 50.48 kB / 0.6478 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002158/0.9387, allocations: 83.19 kB / 0.6478 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-05/0.9388, allocations: 30.84 kB / 0.6479 GB, free: 122.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003512/0.9392, allocations: 253.6 kB / 0.6481 GB, free: 122.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.9392, allocations: 0 / 0.6481 GB, free: 122.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001128/0.9403, allocations: 322.2 kB / 0.6484 GB, free: 122.3 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.0002159/0.9405, allocations: 136.3 kB / 0.6486 GB, free: 122.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002296/0.9428, allocations: 1.343 MB / 0.6499 GB, free: 122 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.9429, allocations: 1.25 kB / 0.6499 GB, free: 122 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001399/0.9443, allocations: 0.8281 MB / 0.6507 GB, free: 121.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005447/0.9448, allocations: 86.39 kB / 0.6508 GB, free: 121.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003436/0.9483, allocations: 2.107 MB / 0.6528 GB, free: 121 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009537/0.9492, allocations: 1.088 MB / 0.6539 GB, free: 120.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005884/0.9498, allocations: 185.3 kB / 0.6541 GB, free: 120.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.95, allocations: 54.69 kB / 0.6541 GB, free: 120.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.893e-06/0.9501, allocations: 0 / 0.6541 GB, free: 120.3 MB / 474.7 MB Notification: Performance of Templates: time 0.01834/0.9684, allocations: 8.995 MB / 0.6629 GB, free: 120 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/jenkins/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