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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001905/0.001904, allocations: 112.3 kB / 17.68 MB, free: 5.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002581/0.002581, allocations: 190.9 kB / 18.62 MB, free: 4.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.697/1.697, allocations: 222.9 MB / 242.3 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1958/0.1958, allocations: 38.03 MB / 330.5 MB, free: 8.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 56.62 kB / 400.2 MB, free: 33.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1638, allocations: 58.06 MB / 458.3 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.01219/0.176, allocations: 7.421 MB / 465.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006921/0.183, allocations: 4.393 MB / 470.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006205/0.1837, allocations: 15.94 kB / 470.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00278/0.1865, allocations: 1.042 MB / 471.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003953/0.1904, allocations: 1.191 MB / 472.4 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.1916, allocations: 327.1 kB / 472.7 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002139/0.1937, allocations: 1.406 MB / 474.1 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.1948, allocations: 0.6494 MB / 474.7 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001269/0.1961, allocations: 0.6225 MB / 475.4 MB, free: 6.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009767/0.1971, allocations: 0.6697 MB / 476 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.1972, allocations: 68 kB / 476.1 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002821/0.2, allocations: 1.333 MB / 477.4 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005428/0.2006, allocations: 470.9 kB / 477.9 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005376/0.2011, allocations: 445.9 kB / 478.3 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002395/0.2035, allocations: 1.453 MB / 479.8 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.2035, allocations: 0 / 479.8 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.2036, allocations: 0 / 479.8 MB, free: 1.801 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.2036, allocations: 0 / 479.8 MB, free: 1.801 MB / 350.1 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.001835/0.2054, allocations: 1.136 MB / 480.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.2055, allocations: 11.89 kB / 480.9 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003114/0.2086, allocations: 387.4 kB / 481.3 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009288/0.2095, allocations: 490.6 kB / 481.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.319e-05/0.2096, allocations: 62.34 kB / 481.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.2097, allocations: 68.36 kB / 481.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/0.2116, allocations: 1.176 MB / 483.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/0.2116, allocations: 0 / 483.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.138e-05/0.2117, allocations: 35.98 kB / 483.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-05/0.2118, allocations: 69.95 kB / 483.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.2138, allocations: 1.241 MB / 484.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005901/0.2197, allocations: 3.484 MB / 487.9 MB, free: 9.449 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/0.2215, allocations: 1.065 MB / 489 MB, free: 8.367 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009023/0.2225, allocations: 0.6571 MB / 489.6 MB, free: 7.703 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.298e-05/0.2226, allocations: 24.92 kB / 489.7 MB, free: 7.676 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/0.2226, allocations: 39.56 kB / 489.7 MB, free: 7.629 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 3.296e-06/0.2226, allocations: 0 / 489.7 MB, free: 7.629 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.007054/0.2297, allocations: 3.087 MB / 492.8 MB, free: 4.516 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.2298, allocations: 94.05 kB / 492.9 MB, free: 4.406 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004878/0.2303, allocations: 361.5 kB / 493.2 MB, free: 4.047 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.85e-05/0.2304, allocations: 41.7 kB / 493.3 MB, free: 4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/0.2307, allocations: 316.1 kB / 493.6 MB, free: 3.684 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003463/0.231, allocations: 315.4 kB / 493.9 MB, free: 3.371 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002791/0.2313, allocations: 158.5 kB / 494.1 MB, free: 3.211 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002319/0.2316, allocations: 366.8 kB / 494.4 MB, free: 2.844 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007159/0.2323, allocations: 469.7 kB / 494.9 MB, free: 2.383 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007771/0.2331, allocations: 0.5657 MB / 495.4 MB, free: 1.789 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/0.2347, allocations: 1.117 MB / 496.6 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.2347, allocations: 3.938 kB / 496.6 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002639/0.2373, allocations: 1.477 MB / 498 MB, free: 15.15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/0.2374, allocations: 4 kB / 498 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.2374, allocations: 4 kB / 498 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.2385, allocations: 332.8 kB / 498.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007059/0.2392, allocations: 183.7 kB / 498.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005912/0.2451, allocations: 4.189 MB / 0.491 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005176/0.2456, allocations: 47.95 kB / 0.491 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.428e-05/0.2457, allocations: 39.97 kB / 0.491 GB, free: 10.2 MB / 382.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005148/0.2462, allocations: 294.5 kB / 0.4913 GB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.2464, allocations: 59.34 kB / 0.4914 GB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002769/0.2492, allocations: 1.563 MB / 0.4929 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.2492, allocations: 8 kB / 0.4929 GB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.2492, allocations: 8 kB / 0.4929 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.2492, allocations: 11.97 kB / 0.4929 GB, free: 8.242 MB / 382.1 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.005429/0.2547, allocations: 3.023 MB / 0.4959 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.954e-06/0.2547, allocations: 8.062 kB / 0.4959 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006354/0.2553, allocations: 167.8 kB / 0.496 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000872/0.2562, allocations: 292.4 kB / 0.4963 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.141e-05/0.2563, allocations: 27.98 kB / 0.4964 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005419/0.2617, allocations: 3.895 MB / 0.5002 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.2617, allocations: 4 kB / 0.5002 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3228/0.5846, allocations: 1.595 MB / 0.5017 GB, free: 56.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002824/0.5849, allocations: 144.7 kB / 0.5019 GB, free: 55.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.585, allocations: 27 kB / 0.5019 GB, free: 55.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004655/0.5855, allocations: 41.53 kB / 0.5019 GB, free: 55.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002377/0.5857, allocations: 82.69 kB / 0.502 GB, free: 55.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-05/0.5858, allocations: 39.11 kB / 0.502 GB, free: 55.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003758/0.5862, allocations: 257 kB / 0.5023 GB, free: 55.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.664e-06/0.5862, allocations: 0 / 0.5023 GB, free: 55.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001216/0.5875, allocations: 310.1 kB / 0.5026 GB, free: 55.87 MB / 382.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001976/0.5877, allocations: 124.4 kB / 0.5027 GB, free: 55.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002799/0.5905, allocations: 1.405 MB / 0.5041 GB, free: 55.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.922e-06/0.5905, allocations: 1.656 kB / 0.5041 GB, free: 55.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001421/0.5919, allocations: 0.8418 MB / 0.5049 GB, free: 55.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008671/0.5928, allocations: 106.5 kB / 0.505 GB, free: 55.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003259/0.5961, allocations: 1.784 MB / 0.5067 GB, free: 54.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008323/0.5969, allocations: 1.069 MB / 0.5078 GB, free: 53.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005291/0.5975, allocations: 184.8 kB / 0.508 GB, free: 53.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002257/0.5977, allocations: 60.16 kB / 0.508 GB, free: 53.61 MB / 382.1 MB Notification: Performance of SimCode: time 1.182e-06/0.5977, allocations: 1.781 kB / 0.508 GB, free: 53.61 MB / 382.1 MB Notification: Performance of Templates: time 0.02368/0.6214, allocations: 10.13 MB / 0.5179 GB, free: 51.39 MB / 382.1 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches