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.00163/0.00163, allocations: 114.5 kB / 16.63 MB, free: 6.797 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.002101/0.002101, allocations: 186 kB / 17.55 MB, free: 5.953 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.389/1.389, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1882/0.1882, allocations: 38.05 MB / 329.4 MB, free: 9.07 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 65.31 kB / 398.3 MB, free: 34.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1136, allocations: 58.07 MB / 456.3 MB, free: 8.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.008977/0.1226, allocations: 8.088 MB / 464.4 MB, free: 348 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006577/0.1293, allocations: 4.833 MB / 469.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006966/0.13, allocations: 23.88 kB / 469.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002856/0.1329, allocations: 1.034 MB / 470.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002991/0.1359, allocations: 1.184 MB / 471.5 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.1369, allocations: 323.2 kB / 471.8 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001926/0.1389, allocations: 1.48 MB / 473.3 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001435/0.1403, allocations: 0.7514 MB / 474.1 MB, free: 6.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001529/0.1419, allocations: 0.6341 MB / 474.7 MB, free: 6.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001293/0.1432, allocations: 0.7672 MB / 475.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001942/0.1434, allocations: 64 kB / 475.5 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003133/0.1465, allocations: 1.446 MB / 477 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007277/0.1473, allocations: 490.9 kB / 477.4 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008911/0.1482, allocations: 465.8 kB / 477.9 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003282/0.1515, allocations: 1.632 MB / 479.5 MB, free: 1.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.1515, allocations: 0 / 479.5 MB, free: 1.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.1515, allocations: 0 / 479.5 MB, free: 1.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.214e-05/0.1515, allocations: 0 / 479.5 MB, free: 1.188 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.002353/0.1539, allocations: 1.167 MB / 480.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.1539, allocations: 15.89 kB / 480.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003582/0.1575, allocations: 407.4 kB / 481.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009459/0.1585, allocations: 499.1 kB / 481.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.569e-05/0.1586, allocations: 58.36 kB / 481.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001948/0.1588, allocations: 72.36 kB / 481.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00223/0.161, allocations: 1.231 MB / 483 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.015e-05/0.1611, allocations: 7.938 kB / 483 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.628e-05/0.1612, allocations: 31.98 kB / 483 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001/0.1613, allocations: 77.94 kB / 483.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/0.1632, allocations: 1.308 MB / 484.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005574/0.1688, allocations: 3.704 MB / 488.1 MB, free: 8.406 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001797/0.1706, allocations: 1.096 MB / 489.2 MB, free: 7.293 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000832/0.1715, allocations: 0.6371 MB / 489.8 MB, free: 6.652 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.13e-05/0.1715, allocations: 21.14 kB / 489.8 MB, free: 6.629 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.1716, allocations: 43.5 kB / 489.9 MB, free: 6.578 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 2.966e-06/0.1716, allocations: 0 / 489.9 MB, free: 6.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.006585/0.1782, allocations: 3.145 MB / 493 MB, free: 3.402 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.1783, allocations: 93.98 kB / 493.1 MB, free: 3.293 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000391/0.1787, allocations: 377.5 kB / 493.5 MB, free: 2.918 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.676e-05/0.1787, allocations: 41.7 kB / 493.5 MB, free: 2.871 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.1789, allocations: 336.1 kB / 493.9 MB, free: 2.535 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002655/0.1792, allocations: 319.3 kB / 494.2 MB, free: 2.219 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002344/0.1795, allocations: 158.6 kB / 494.3 MB, free: 2.059 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1796, allocations: 366.8 kB / 494.7 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006542/0.1803, allocations: 465.7 kB / 495.1 MB, free: 1.234 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007657/0.181, allocations: 0.5743 MB / 495.7 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/0.1827, allocations: 1.122 MB / 496.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1827, allocations: 0 / 496.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003368/0.186, allocations: 1.485 MB / 498.3 MB, free: 13.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.1861, allocations: 8.031 kB / 498.3 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.1861, allocations: 4 kB / 498.3 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001395/0.1875, allocations: 328.6 kB / 498.6 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007083/0.1882, allocations: 199.7 kB / 498.8 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005239/0.1935, allocations: 4.17 MB / 0.4912 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005319/0.194, allocations: 43.95 kB / 0.4913 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.742e-05/0.1941, allocations: 35.98 kB / 0.4913 GB, free: 9.035 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.0004459/0.1946, allocations: 305.5 kB / 0.4916 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.1947, allocations: 59.34 kB / 0.4916 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002599/0.1973, allocations: 1.555 MB / 0.4932 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.1973, allocations: 8 kB / 0.4932 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.1973, allocations: 8 kB / 0.4932 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.1974, allocations: 11.97 kB / 0.4932 GB, free: 7.074 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.004774/0.2021, allocations: 3.01 MB / 0.4961 GB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/0.2022, allocations: 4 kB / 0.4961 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006222/0.2028, allocations: 163.8 kB / 0.4963 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008134/0.2036, allocations: 285.7 kB / 0.4966 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.536e-05/0.2037, allocations: 28 kB / 0.4966 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2268/0.4305, allocations: 3.895 MB / 0.5004 GB, free: 54.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.4306, allocations: 3.719 kB / 0.5004 GB, free: 54.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002497/0.4331, allocations: 1.575 MB / 0.5019 GB, free: 54.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.4332, allocations: 148 kB / 0.5021 GB, free: 54.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-05/0.4333, allocations: 24.06 kB / 0.5021 GB, free: 54.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004485/0.4338, allocations: 41.56 kB / 0.5021 GB, free: 54.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.4339, allocations: 83.36 kB / 0.5022 GB, free: 54.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-05/0.434, allocations: 36.33 kB / 0.5023 GB, free: 54.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003099/0.4343, allocations: 266.3 kB / 0.5025 GB, free: 54.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4344, allocations: 1.219 kB / 0.5025 GB, free: 54.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001041/0.4354, allocations: 307.7 kB / 0.5028 GB, free: 54.48 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.0001647/0.4356, allocations: 129.4 kB / 0.5029 GB, free: 54.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002685/0.4383, allocations: 1.661 MB / 0.5045 GB, free: 54.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4383, allocations: 3.406 kB / 0.5046 GB, free: 54.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.4394, allocations: 0.8359 MB / 0.5054 GB, free: 53.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006843/0.4401, allocations: 106.3 kB / 0.5055 GB, free: 53.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002753/0.4429, allocations: 2.184 MB / 0.5076 GB, free: 52.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006768/0.4436, allocations: 1.086 MB / 0.5087 GB, free: 51.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000512/0.4441, allocations: 182.2 kB / 0.5088 GB, free: 51.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002059/0.4443, allocations: 60.48 kB / 0.5089 GB, free: 51.69 MB / 382.1 MB Notification: Performance of SimCode: time 6.72e-07/0.4443, allocations: 1.031 kB / 0.5089 GB, free: 51.69 MB / 382.1 MB Notification: Performance of Templates: time 0.01723/0.4616, allocations: 10.15 MB / 0.5188 GB, free: 49.4 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