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: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 103.8 kB / 16.92 MB, free: 6.145 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.001693/0.001693, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.316/1.316, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1812/0.1812, allocations: 38.03 MB / 329.7 MB, free: 8.84 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 62.81 kB / 398.9 MB, free: 33.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.106, allocations: 58.06 MB / 457 MB, free: 7.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.009024/0.115, allocations: 7.686 MB / 464.7 MB, free: 252 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00628/0.1214, allocations: 4.732 MB / 469.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004558/0.1218, allocations: 15.94 kB / 469.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002535/0.1244, allocations: 1.086 MB / 470.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002638/0.127, allocations: 1.253 MB / 471.7 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009472/0.128, allocations: 379 kB / 472.1 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001685/0.1297, allocations: 1.461 MB / 473.6 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008409/0.1305, allocations: 0.6655 MB / 474.2 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008703/0.1314, allocations: 0.6341 MB / 474.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008916/0.1323, allocations: 0.7086 MB / 475.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.1324, allocations: 64 kB / 475.6 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002264/0.1347, allocations: 1.434 MB / 477.1 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004311/0.1351, allocations: 494.9 kB / 477.6 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004632/0.1356, allocations: 453.9 kB / 478 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002068/0.1377, allocations: 1.531 MB / 479.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1377, allocations: 0 / 479.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1377, allocations: 0 / 479.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.1377, allocations: 0 / 479.5 MB, free: 1.32 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.001606/0.1393, allocations: 1.167 MB / 480.7 MB, free: 108 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.1394, allocations: 15.89 kB / 480.7 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001589/0.1396, allocations: 139.4 kB / 480.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003193/0.1428, allocations: 403.4 kB / 481.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007254/0.1435, allocations: 499.1 kB / 481.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.638e-05/0.1436, allocations: 62.3 kB / 481.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.1437, allocations: 76.36 kB / 481.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.1455, allocations: 1.227 MB / 483.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.195e-05/0.1456, allocations: 7.922 kB / 483.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.583e-05/0.1457, allocations: 31.98 kB / 483.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/0.1458, allocations: 77.95 kB / 483.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001984/0.1478, allocations: 1.315 MB / 484.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005328/0.1531, allocations: 3.704 MB / 488.2 MB, free: 8.387 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.1549, allocations: 1.085 MB / 489.3 MB, free: 7.285 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008147/0.1557, allocations: 0.6392 MB / 490 MB, free: 6.641 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.401e-05/0.1558, allocations: 13.14 kB / 490 MB, free: 6.625 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.1558, allocations: 51.48 kB / 490 MB, free: 6.566 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 2.755e-06/0.1558, allocations: 7.938 kB / 490 MB, free: 6.559 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.006508/0.1623, allocations: 3.138 MB / 493.2 MB, free: 3.395 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.1624, allocations: 90.05 kB / 493.3 MB, free: 3.289 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000399/0.1628, allocations: 385.5 kB / 493.6 MB, free: 2.906 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.431e-05/0.1629, allocations: 41.7 kB / 493.7 MB, free: 2.859 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.1631, allocations: 320.1 kB / 494 MB, free: 2.539 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000263/0.1634, allocations: 323.3 kB / 494.3 MB, free: 2.219 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002343/0.1637, allocations: 158.6 kB / 494.5 MB, free: 2.059 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1638, allocations: 366.8 kB / 494.8 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006441/0.1645, allocations: 465.7 kB / 495.3 MB, free: 1.234 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000728/0.1652, allocations: 0.5743 MB / 495.8 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.1667, allocations: 1.118 MB / 497 MB, free: 15.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1667, allocations: 3.938 kB / 497 MB, free: 15.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002725/0.1694, allocations: 1.485 MB / 498.4 MB, free: 13.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.1695, allocations: 4 kB / 498.5 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.1695, allocations: 4 kB / 498.5 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/0.1705, allocations: 338.5 kB / 498.8 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007459/0.1713, allocations: 187.7 kB / 499 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006405/0.1777, allocations: 4.168 MB / 0.4913 GB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006007/0.1783, allocations: 47.95 kB / 0.4914 GB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.1785, allocations: 39.91 kB / 0.4914 GB, free: 9.039 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.0004738/0.1789, allocations: 309.5 kB / 0.4917 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.1791, allocations: 55.34 kB / 0.4918 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002788/0.1819, allocations: 1.547 MB / 0.4933 GB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.1819, allocations: 15.94 kB / 0.4933 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/0.1819, allocations: 7.984 kB / 0.4933 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.182, allocations: 3.984 kB / 0.4933 GB, free: 7.082 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.005228/0.1872, allocations: 3.009 MB / 0.4963 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/0.1872, allocations: 11.94 kB / 0.4963 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006308/0.1879, allocations: 167.8 kB / 0.4964 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007992/0.1887, allocations: 289.8 kB / 0.4967 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.312e-05/0.1888, allocations: 27.98 kB / 0.4967 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1796/0.3684, allocations: 3.881 MB / 0.5005 GB, free: 54.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.757e-06/0.3685, allocations: 8.625 kB / 0.5005 GB, free: 54.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00251/0.371, allocations: 1.579 MB / 0.5021 GB, free: 54.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.3712, allocations: 144.7 kB / 0.5022 GB, free: 54.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.682e-05/0.3713, allocations: 23.66 kB / 0.5022 GB, free: 54.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004343/0.3717, allocations: 45.45 kB / 0.5023 GB, free: 54.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.3719, allocations: 80.41 kB / 0.5023 GB, free: 54.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-05/0.3719, allocations: 36.88 kB / 0.5024 GB, free: 54.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002655/0.3722, allocations: 269.5 kB / 0.5026 GB, free: 54.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.3722, allocations: 0 / 0.5026 GB, free: 54.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009295/0.3732, allocations: 310.9 kB / 0.5029 GB, free: 54.34 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.002321/0.3755, allocations: 2.14 MB / 0.505 GB, free: 53.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002574/0.3781, allocations: 1.669 MB / 0.5067 GB, free: 52.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3781, allocations: 1.312 kB / 0.5067 GB, free: 52.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001139/0.3792, allocations: 0.8329 MB / 0.5075 GB, free: 52.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006855/0.3799, allocations: 103.2 kB / 0.5076 GB, free: 52.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.3905, allocations: 7.71 MB / 0.5151 GB, free: 48.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005939/0.3911, allocations: 1.084 MB / 0.5162 GB, free: 47.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004725/0.3916, allocations: 185.6 kB / 0.5163 GB, free: 47.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000348/0.392, allocations: 270.1 kB / 0.5166 GB, free: 47.52 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.392, allocations: 0 / 0.5166 GB, free: 47.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03579/0.4278, allocations: 16.37 MB / 0.5326 GB, free: 37.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.418/9.846, allocations: 10.09 kB / 0.5326 GB, free: 37.72 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened.fmu > 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