Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.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.NetworkOpened,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.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,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.NetworkOpened") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 116.5 kB / 17.7 MB, free: 5.438 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.001957/0.001958, allocations: 187 kB / 18.63 MB, free: 4.512 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.419/1.419, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1754/0.1754, allocations: 38.04 MB / 330.5 MB, free: 8.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 70.31 kB / 400.3 MB, free: 33.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1048, allocations: 58.06 MB / 458.3 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.01107/0.1159, allocations: 7.67 MB / 466 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009264/0.1252, allocations: 4.747 MB / 470.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006515/0.1259, allocations: 15.94 kB / 470.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003714/0.1297, allocations: 1.089 MB / 471.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004447/0.1341, allocations: 1.253 MB / 473.1 MB, free: 8.496 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.1356, allocations: 370.9 kB / 473.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002703/0.1383, allocations: 1.453 MB / 474.9 MB, free: 6.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001441/0.1398, allocations: 0.6655 MB / 475.6 MB, free: 6.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001581/0.1414, allocations: 0.6536 MB / 476.2 MB, free: 5.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001751/0.1432, allocations: 0.7047 MB / 476.9 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000167/0.1433, allocations: 64 kB / 477 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003833/0.1472, allocations: 1.426 MB / 478.4 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007445/0.148, allocations: 498.8 kB / 478.9 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001231/0.1492, allocations: 453.8 kB / 479.4 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004376/0.1536, allocations: 1.527 MB / 480.9 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.1536, allocations: 8 kB / 480.9 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.1536, allocations: 0 / 480.9 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.255e-05/0.1537, allocations: 0 / 480.9 MB, free: 0.6797 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003302/0.157, allocations: 1.167 MB / 482.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.1571, allocations: 15.89 kB / 482.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00547/0.1626, allocations: 407.4 kB / 482.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.164, allocations: 0.4992 MB / 483 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.754e-05/0.1641, allocations: 58.3 kB / 483 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000245/0.1644, allocations: 76.36 kB / 483.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002901/0.1673, allocations: 1.234 MB / 484.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.836e-05/0.1673, allocations: 0 / 484.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.1675, allocations: 31.98 kB / 484.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001523/0.1676, allocations: 77.95 kB / 484.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/0.1697, allocations: 1.308 MB / 485.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005595/0.1753, allocations: 3.673 MB / 489.4 MB, free: 7.918 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/0.177, allocations: 1.101 MB / 490.5 MB, free: 6.801 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008065/0.1779, allocations: 0.6429 MB / 491.2 MB, free: 6.152 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.008e-05/0.178, allocations: 17.14 kB / 491.2 MB, free: 6.133 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.178, allocations: 43.56 kB / 491.2 MB, free: 6.082 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 2.375e-06/0.178, allocations: 0 / 491.2 MB, free: 6.082 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.00666/0.1847, allocations: 3.149 MB / 494.4 MB, free: 2.906 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.1847, allocations: 86.11 kB / 494.5 MB, free: 2.805 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004017/0.1851, allocations: 377.5 kB / 494.8 MB, free: 2.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.302e-05/0.1852, allocations: 41.7 kB / 494.9 MB, free: 2.383 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.1854, allocations: 324 kB / 495.2 MB, free: 2.059 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/0.1857, allocations: 315.4 kB / 495.5 MB, free: 1.746 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002547/0.186, allocations: 162.6 kB / 495.7 MB, free: 1.582 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.1861, allocations: 374.8 kB / 496 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007011/0.1868, allocations: 465.7 kB / 496.5 MB, free: 0.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007311/0.1876, allocations: 0.5743 MB / 497.1 MB, free: 148 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.1891, allocations: 1.118 MB / 498.2 MB, free: 14.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.1891, allocations: 0 / 498.2 MB, free: 14.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002457/0.1916, allocations: 1.481 MB / 499.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.1916, allocations: 7.984 kB / 499.7 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.1916, allocations: 4 kB / 499.7 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000959/0.1926, allocations: 338.4 kB / 500 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007107/0.1933, allocations: 187.7 kB / 0.4885 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005389/0.1987, allocations: 4.172 MB / 0.4925 GB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005224/0.1993, allocations: 47.95 kB / 0.4926 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.1994, allocations: 36.05 kB / 0.4926 GB, free: 8.559 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * 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.0004789/0.1999, allocations: 305.5 kB / 0.4929 GB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.2, allocations: 59.34 kB / 0.493 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002623/0.2027, allocations: 1.555 MB / 0.4945 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.2027, allocations: 12 kB / 0.4945 GB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/0.2027, allocations: 4 kB / 0.4945 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.2027, allocations: 11.95 kB / 0.4945 GB, free: 6.594 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.005169/0.2079, allocations: 3.008 MB / 0.4974 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/0.2079, allocations: 4 kB / 0.4974 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006267/0.2086, allocations: 167.7 kB / 0.4976 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008255/0.2094, allocations: 285.8 kB / 0.4979 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.811e-05/0.2095, allocations: 20 kB / 0.4979 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2462/0.4557, allocations: 3.886 MB / 0.5017 GB, free: 54.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/0.4558, allocations: 3.656 kB / 0.5017 GB, free: 54.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002548/0.4583, allocations: 1.574 MB / 0.5032 GB, free: 54.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/0.4585, allocations: 149.6 kB / 0.5034 GB, free: 54.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.755e-05/0.4586, allocations: 27.95 kB / 0.5034 GB, free: 54.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004367/0.4591, allocations: 39.66 kB / 0.5034 GB, free: 54.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.4592, allocations: 81.67 kB / 0.5035 GB, free: 54.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.442e-05/0.4593, allocations: 37.38 kB / 0.5035 GB, free: 54.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002893/0.4596, allocations: 268.5 kB / 0.5038 GB, free: 54.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4596, allocations: 2.438 kB / 0.5038 GB, free: 54.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009238/0.4605, allocations: 308.7 kB / 0.5041 GB, free: 54.09 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.0001512/0.4607, allocations: 127.7 kB / 0.5042 GB, free: 54.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001979/0.4627, allocations: 1.393 MB / 0.5056 GB, free: 53.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.4627, allocations: 1.188 kB / 0.5056 GB, free: 53.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.4638, allocations: 0.8321 MB / 0.5064 GB, free: 53.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006387/0.4645, allocations: 108.5 kB / 0.5065 GB, free: 53.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002605/0.4671, allocations: 1.801 MB / 0.5083 GB, free: 52.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005983/0.4677, allocations: 1.087 MB / 0.5093 GB, free: 51.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004111/0.4681, allocations: 188.3 kB / 0.5095 GB, free: 51.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.4683, allocations: 59.59 kB / 0.5096 GB, free: 51.59 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4683, allocations: 0 / 0.5096 GB, free: 51.59 MB / 382.1 MB Notification: Performance of Templates: time 0.01593/0.4842, allocations: 10.14 MB / 0.5195 GB, free: 49.3 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkOpened.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches