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/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,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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 110.6 kB / 16.62 MB, free: 6.961 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.001464/0.001464, allocations: 190 kB / 17.54 MB, free: 6.066 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.385/1.385, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.175/0.175, allocations: 38.05 MB / 329.4 MB, free: 9.008 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 62.86 kB / 398.3 MB, free: 34.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09224/0.09347, allocations: 58.06 MB / 456.3 MB, free: 8.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.008389/0.1019, allocations: 7.626 MB / 464 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005546/0.1075, allocations: 4.416 MB / 468.4 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004429/0.1079, allocations: 15.94 kB / 468.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002375/0.1104, allocations: 0.9916 MB / 469.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00245/0.1128, allocations: 1.129 MB / 470.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007754/0.1136, allocations: 291.3 kB / 470.8 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001485/0.1151, allocations: 1.402 MB / 472.2 MB, free: 8.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.1161, allocations: 0.7431 MB / 473 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000909/0.117, allocations: 0.6186 MB / 473.6 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009304/0.118, allocations: 0.7322 MB / 474.3 MB, free: 6.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.1181, allocations: 64 kB / 474.4 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002019/0.1201, allocations: 1.34 MB / 475.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004646/0.1206, allocations: 471 kB / 476.2 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004982/0.1211, allocations: 445.9 kB / 476.6 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002022/0.1231, allocations: 1.546 MB / 478.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.1232, allocations: 8 kB / 478.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1232, allocations: 0 / 478.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.238e-05/0.1232, allocations: 0 / 478.2 MB, free: 2.527 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.001704/0.1249, allocations: 1.124 MB / 479.3 MB, free: 1.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.125, allocations: 11.89 kB / 479.3 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003057/0.128, allocations: 391.4 kB / 479.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006302/0.1287, allocations: 474.7 kB / 480.1 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.211e-05/0.1287, allocations: 54.36 kB / 480.2 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.1289, allocations: 72.36 kB / 480.3 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.1306, allocations: 1.18 MB / 481.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/0.1306, allocations: 7.891 kB / 481.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-05/0.1307, allocations: 31.98 kB / 481.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.055e-05/0.1308, allocations: 73.97 kB / 481.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.1326, allocations: 1.237 MB / 482.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004994/0.1376, allocations: 3.519 MB / 486.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/0.1392, allocations: 1.057 MB / 487.4 MB, free: 9.082 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008612/0.14, allocations: 0.6532 MB / 488 MB, free: 8.426 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.599e-05/0.1401, allocations: 24.91 kB / 488 MB, free: 8.398 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/0.1402, allocations: 43.56 kB / 488.1 MB, free: 8.348 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 3.006e-06/0.1402, allocations: 0 / 488.1 MB, free: 8.348 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.006659/0.1468, allocations: 3.095 MB / 491.2 MB, free: 5.223 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.1469, allocations: 90.05 kB / 491.3 MB, free: 5.117 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004059/0.1474, allocations: 365.5 kB / 491.6 MB, free: 4.754 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.417e-05/0.1474, allocations: 41.7 kB / 491.7 MB, free: 4.707 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.1476, allocations: 312.2 kB / 492 MB, free: 4.395 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002479/0.1479, allocations: 311.4 kB / 492.3 MB, free: 4.086 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002482/0.1481, allocations: 158.5 kB / 492.4 MB, free: 3.926 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1483, allocations: 374.8 kB / 492.8 MB, free: 3.551 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006784/0.149, allocations: 465.7 kB / 493.3 MB, free: 3.094 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007467/0.1497, allocations: 0.5657 MB / 493.8 MB, free: 2.504 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.1513, allocations: 1.113 MB / 494.9 MB, free: 1.359 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.1513, allocations: 0 / 494.9 MB, free: 1.359 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002532/0.1539, allocations: 1.473 MB / 496.4 MB, free: 15.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.1539, allocations: 8 kB / 496.4 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.1539, allocations: 0 / 496.4 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009444/0.1549, allocations: 342.4 kB / 496.7 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007171/0.1556, allocations: 179.7 kB / 496.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005625/0.1612, allocations: 4.19 MB / 0.4894 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006105/0.1619, allocations: 51.94 kB / 0.4894 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.162, allocations: 36.05 kB / 0.4894 GB, free: 10.92 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.0005329/0.1625, allocations: 294.4 kB / 0.4897 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.1627, allocations: 59.33 kB / 0.4898 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002826/0.1655, allocations: 1.567 MB / 0.4913 GB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.1655, allocations: 12 kB / 0.4913 GB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.1655, allocations: 4 kB / 0.4913 GB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.578e-05/0.1656, allocations: 7.969 kB / 0.4913 GB, free: 8.961 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.005724/0.1713, allocations: 3.028 MB / 0.4943 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.1713, allocations: 7.984 kB / 0.4943 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006453/0.172, allocations: 167.8 kB / 0.4945 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008656/0.1729, allocations: 300.8 kB / 0.4948 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-05/0.1729, allocations: 24 kB / 0.4948 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005206/0.1782, allocations: 3.903 MB / 0.4986 GB, free: 1.254 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.1782, allocations: 4 kB / 0.4986 GB, free: 1.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2392/0.4173, allocations: 1.593 MB / 0.5001 GB, free: 55.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002743/0.4177, allocations: 144.2 kB / 0.5003 GB, free: 55.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/0.4179, allocations: 23.14 kB / 0.5003 GB, free: 55.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005777/0.4185, allocations: 40.94 kB / 0.5003 GB, free: 55.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002119/0.4187, allocations: 86.09 kB / 0.5004 GB, free: 55.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.381e-05/0.4188, allocations: 38.25 kB / 0.5005 GB, free: 55.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003142/0.4191, allocations: 257 kB / 0.5007 GB, free: 55.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4191, allocations: 0 / 0.5007 GB, free: 55.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001158/0.4202, allocations: 309.2 kB / 0.501 GB, free: 55.79 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.0001673/0.4204, allocations: 125.4 kB / 0.5011 GB, free: 55.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002678/0.4231, allocations: 1.673 MB / 0.5028 GB, free: 55.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4231, allocations: 1.062 kB / 0.5028 GB, free: 55.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.4243, allocations: 0.8385 MB / 0.5036 GB, free: 55.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006828/0.425, allocations: 102 kB / 0.5037 GB, free: 55.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002979/0.428, allocations: 2.156 MB / 0.5058 GB, free: 54.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007052/0.4287, allocations: 1.071 MB / 0.5068 GB, free: 53.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005285/0.4292, allocations: 182.3 kB / 0.507 GB, free: 53.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.4294, allocations: 64.44 kB / 0.5071 GB, free: 53.38 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4295, allocations: 0 / 0.5071 GB, free: 53.38 MB / 382.1 MB Notification: Performance of Templates: time 0.0179/0.4474, allocations: 10.14 MB / 0.517 GB, free: 51.16 MB / 382.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches