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.001163/0.001163, allocations: 110.4 kB / 16.92 MB, free: 6.332 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.001119/0.001119, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.297/1.297, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1712/0.1712, allocations: 38.04 MB / 329.7 MB, free: 8.867 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 67.55 kB / 398.8 MB, free: 34.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09854/0.09975, allocations: 58.05 MB / 456.9 MB, free: 8.098 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.009095/0.1089, allocations: 7.686 MB / 464.5 MB, free: 384 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005922/0.1149, allocations: 4.732 MB / 469.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000352/0.1152, allocations: 19.94 kB / 469.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002591/0.1178, allocations: 1.084 MB / 470.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002431/0.1203, allocations: 1.257 MB / 471.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008123/0.1211, allocations: 363 kB / 472 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001354/0.1225, allocations: 1.473 MB / 473.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008326/0.1233, allocations: 0.6655 MB / 474.1 MB, free: 6.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006522/0.124, allocations: 0.6419 MB / 474.8 MB, free: 6.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007161/0.1247, allocations: 0.7047 MB / 475.5 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.791e-05/0.1248, allocations: 64 kB / 475.5 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002073/0.1269, allocations: 1.43 MB / 477 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004087/0.1273, allocations: 494.8 kB / 477.4 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000416/0.1277, allocations: 453.9 kB / 477.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.1293, allocations: 1.523 MB / 479.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.1293, allocations: 0 / 479.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1293, allocations: 0 / 479.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.1293, allocations: 0 / 479.4 MB, free: 1.453 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.001516/0.1308, allocations: 1.174 MB / 480.6 MB, free: 236 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.1309, allocations: 11.89 kB / 480.6 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003146/0.134, allocations: 411.4 kB / 481 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006574/0.1347, allocations: 499.1 kB / 481.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.321e-05/0.1348, allocations: 58.36 kB / 481.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.1349, allocations: 76.36 kB / 481.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/0.1366, allocations: 1.231 MB / 482.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.1366, allocations: 3.938 kB / 482.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.334e-05/0.1367, allocations: 35.97 kB / 482.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.009e-05/0.1368, allocations: 81.95 kB / 483 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.1386, allocations: 1.312 MB / 484.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005051/0.1437, allocations: 3.7 MB / 488 MB, free: 8.656 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.1453, allocations: 1.091 MB / 489.1 MB, free: 7.551 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008059/0.1461, allocations: 0.645 MB / 489.7 MB, free: 6.898 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.285e-05/0.1462, allocations: 17.12 kB / 489.7 MB, free: 6.879 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.1462, allocations: 47.5 kB / 489.8 MB, free: 6.824 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 2.034e-06/0.1463, allocations: 0 / 489.8 MB, free: 6.824 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.006292/0.1526, allocations: 3.138 MB / 492.9 MB, free: 3.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.1526, allocations: 93.98 kB / 493 MB, free: 3.551 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/0.153, allocations: 381.5 kB / 493.4 MB, free: 3.172 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.011e-05/0.153, allocations: 41.7 kB / 493.4 MB, free: 3.125 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.1532, allocations: 328 kB / 493.7 MB, free: 2.797 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/0.1535, allocations: 311.4 kB / 494.1 MB, free: 2.488 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002401/0.1537, allocations: 170.6 kB / 494.2 MB, free: 2.316 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1539, allocations: 370.8 kB / 494.6 MB, free: 1.945 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006544/0.1545, allocations: 465.7 kB / 495 MB, free: 1.488 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007111/0.1552, allocations: 0.5743 MB / 495.6 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/0.1568, allocations: 1.11 MB / 496.7 MB, free: 15.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.1568, allocations: 4 kB / 496.7 MB, free: 15.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002478/0.1593, allocations: 1.481 MB / 498.2 MB, free: 14.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.1593, allocations: 10.34 kB / 498.2 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.1593, allocations: 8.219 kB / 498.2 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009089/0.1602, allocations: 338.2 kB / 498.6 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006763/0.1609, allocations: 179.8 kB / 498.7 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005048/0.166, allocations: 4.171 MB / 0.4911 GB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004777/0.1665, allocations: 47.94 kB / 0.4912 GB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.7e-05/0.1665, allocations: 39.98 kB / 0.4912 GB, free: 9.301 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.000362/0.1669, allocations: 305.4 kB / 0.4915 GB, free: 8.992 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.167, allocations: 59.34 kB / 0.4915 GB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002477/0.1695, allocations: 1.551 MB / 0.4931 GB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.1695, allocations: 12 kB / 0.4931 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1695, allocations: 4 kB / 0.4931 GB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.1696, allocations: 11.98 kB / 0.4931 GB, free: 7.34 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.004596/0.1742, allocations: 3.018 MB / 0.496 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.1742, allocations: 4 kB / 0.496 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005824/0.1748, allocations: 163.8 kB / 0.4962 GB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007392/0.1755, allocations: 293.5 kB / 0.4965 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.175e-05/0.1756, allocations: 23.98 kB / 0.4965 GB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2146/0.3902, allocations: 3.886 MB / 0.5003 GB, free: 55.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.285e-05/0.3902, allocations: 4.062 kB / 0.5003 GB, free: 55.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004456/0.3947, allocations: 1.584 MB / 0.5018 GB, free: 55.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003122/0.3951, allocations: 143.5 kB / 0.502 GB, free: 55.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.3952, allocations: 24.98 kB / 0.502 GB, free: 55.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000688/0.3959, allocations: 37.53 kB / 0.502 GB, free: 55.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002329/0.3962, allocations: 85.06 kB / 0.5021 GB, free: 55.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-05/0.3963, allocations: 35.81 kB / 0.5022 GB, free: 55.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003949/0.3967, allocations: 267.3 kB / 0.5024 GB, free: 54.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3967, allocations: 0 / 0.5024 GB, free: 54.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001442/0.3981, allocations: 309.8 kB / 0.5027 GB, free: 54.93 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.0001496/0.3983, allocations: 133.8 kB / 0.5028 GB, free: 54.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00247/0.4008, allocations: 1.655 MB / 0.5044 GB, free: 54.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/0.4008, allocations: 1.125 kB / 0.5044 GB, free: 54.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.4019, allocations: 0.8425 MB / 0.5053 GB, free: 54.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006365/0.4025, allocations: 106.8 kB / 0.5054 GB, free: 54.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/0.405, allocations: 1.822 MB / 0.5072 GB, free: 53.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005997/0.4056, allocations: 1.087 MB / 0.5082 GB, free: 52.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004474/0.4061, allocations: 184.7 kB / 0.5084 GB, free: 52.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.4063, allocations: 61.02 kB / 0.5084 GB, free: 52.47 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4063, allocations: 4.844 kB / 0.5085 GB, free: 52.47 MB / 382.1 MB Notification: Performance of Templates: time 0.01537/0.4217, allocations: 10.12 MB / 0.5183 GB, free: 50.14 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkOpened.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches