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.0009426/0.000943, allocations: 95.88 kB / 16.31 MB, free: 6.121 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.001046/0.001046, allocations: 183.5 kB / 17.2 MB, free: 6.004 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.255/1.255, allocations: 223.2 MB / 241.1 MB, free: 14.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1707/0.1707, allocations: 38.08 MB / 330.3 MB, free: 8.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002832/0.0002833, allocations: 12.98 kB / 400 MB, free: 34.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1094, allocations: 59.17 MB / 459.1 MB, free: 7.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.007167/0.1167, allocations: 6.878 MB / 466 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00671/0.1234, allocations: 4.362 MB / 470.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007376/0.1242, allocations: 23.88 kB / 470.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000714/0.125, allocations: 159.1 kB / 470.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002909/0.1279, allocations: 0.6853 MB / 471.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.1291, allocations: 287.2 kB / 471.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001263/0.1303, allocations: 0.6081 MB / 472.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002832/0.1332, allocations: 1.13 MB / 473.3 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009013/0.1341, allocations: 410.5 kB / 473.7 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005689/0.1347, allocations: 354.8 kB / 474 MB, free: 8.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.772e-05/0.1348, allocations: 32 kB / 474 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.1363, allocations: 0.7485 MB / 474.8 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003427/0.1367, allocations: 407.1 kB / 475.2 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.1368, allocations: 177.3 kB / 475.3 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001202/0.138, allocations: 1.083 MB / 476.4 MB, free: 6.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.138, allocations: 4 kB / 476.4 MB, free: 6.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1381, allocations: 0 / 476.4 MB, free: 6.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.1381, allocations: 0 / 476.4 MB, free: 6.059 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.001373/0.1394, allocations: 1.022 MB / 477.5 MB, free: 4.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.1395, allocations: 16.03 kB / 477.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003193/0.1427, allocations: 462.3 kB / 477.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000754/0.1435, allocations: 478.2 kB / 478.4 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.688e-05/0.1435, allocations: 61.98 kB / 478.5 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.1436, allocations: 71.98 kB / 478.5 MB, free: 3.879 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.1453, allocations: 1.219 MB / 479.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.1453, allocations: 4 kB / 479.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.62e-05/0.1454, allocations: 27.98 kB / 479.8 MB, free: 2.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.964e-05/0.1455, allocations: 81.89 kB / 479.9 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00174/0.1473, allocations: 1.308 MB / 481.2 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005294/0.1526, allocations: 3.724 MB / 484.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.1542, allocations: 1.084 MB / 486 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.796e-05/0.1543, allocations: 17.05 kB / 486 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.1543, allocations: 43.56 kB / 486 MB, free: 12.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 3.286e-06/0.1543, allocations: 0 / 486 MB, free: 12.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.006247/0.1606, allocations: 3.115 MB / 489.1 MB, free: 9.062 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/0.1607, allocations: 94.23 kB / 489.2 MB, free: 8.953 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003867/0.1611, allocations: 373.6 kB / 489.6 MB, free: 8.582 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.927e-05/0.1611, allocations: 41.7 kB / 489.6 MB, free: 8.535 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.1613, allocations: 324.1 kB / 490 MB, free: 8.211 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/0.1616, allocations: 319.3 kB / 490.3 MB, free: 7.895 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.597e-05/0.1616, allocations: 20 kB / 490.3 MB, free: 7.875 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1618, allocations: 366.8 kB / 490.6 MB, free: 7.508 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005915/0.1624, allocations: 461.7 kB / 491.1 MB, free: 7.059 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007215/0.1631, allocations: 0.5704 MB / 491.7 MB, free: 6.453 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007156/0.1638, allocations: 0.5379 MB / 492.2 MB, free: 5.918 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1638, allocations: 0 / 492.2 MB, free: 5.918 MB / 366.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002236/0.1661, allocations: 1.473 MB / 493.7 MB, free: 4.434 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.1661, allocations: 8 kB / 493.7 MB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.1661, allocations: 4.172 kB / 493.7 MB, free: 4.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009059/0.167, allocations: 336.6 kB / 494 MB, free: 4.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006778/0.1677, allocations: 187.7 kB / 494.2 MB, free: 3.906 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005791/0.1735, allocations: 3.964 MB / 498.2 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005087/0.1741, allocations: 51.89 kB / 498.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-05/0.1741, allocations: 35.98 kB / 498.3 MB, free: 15.69 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004921/0.1746, allocations: 293.6 kB / 498.5 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.1748, allocations: 63.19 kB / 498.6 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002717/0.1775, allocations: 1.54 MB / 0.4884 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.1775, allocations: 12 kB / 0.4884 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.68e-05/0.1775, allocations: 7.953 kB / 0.4884 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.1775, allocations: 7.922 kB / 0.4884 GB, free: 13.76 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.005171/0.1827, allocations: 3.018 MB / 0.4914 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.1827, allocations: 4 kB / 0.4914 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005917/0.1833, allocations: 159.8 kB / 0.4915 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007739/0.1841, allocations: 285.5 kB / 0.4918 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.492e-05/0.1842, allocations: 23.98 kB / 0.4918 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004598/0.1888, allocations: 3.685 MB / 0.4954 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.1888, allocations: 7.938 kB / 0.4954 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002374/0.1912, allocations: 1.742 MB / 0.4971 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.1914, allocations: 144.3 kB / 0.4973 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.418e-05/0.1915, allocations: 23.98 kB / 0.4973 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004045/0.1919, allocations: 43.97 kB / 0.4974 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.192, allocations: 80.78 kB / 0.4974 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-05/0.1921, allocations: 39.98 kB / 0.4975 GB, free: 4.059 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000256/0.1924, allocations: 263.1 kB / 0.4977 GB, free: 3.801 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1924, allocations: 0 / 0.4977 GB, free: 3.801 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009183/0.1933, allocations: 312 kB / 0.498 GB, free: 3.496 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001566/0.1934, allocations: 127 kB / 0.4981 GB, free: 3.363 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001877/0.1953, allocations: 1.381 MB / 0.4995 GB, free: 1.973 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1953, allocations: 0 / 0.4995 GB, free: 1.973 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.1964, allocations: 0.8397 MB / 0.5003 GB, free: 1.121 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.1969, allocations: 91.16 kB / 0.5004 GB, free: 1.027 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1926/0.3895, allocations: 2.107 MB / 0.5025 GB, free: 54.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008102/0.3904, allocations: 1.099 MB / 0.5035 GB, free: 53.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006252/0.391, allocations: 184.8 kB / 0.5037 GB, free: 53.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/0.3912, allocations: 63.8 kB / 0.5038 GB, free: 53.7 MB / 382.1 MB Notification: Performance of SimCode: time 9.31e-07/0.3913, allocations: 2.438 kB / 0.5038 GB, free: 53.7 MB / 382.1 MB Notification: Performance of Templates: time 0.01951/0.4108, allocations: 9.057 MB / 0.5126 GB, free: 52.51 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkOpened.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches