Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_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.001239/0.001239, allocations: 116.5 kB / 16.63 MB, free: 6.812 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.001022/0.001022, allocations: 190 kB / 17.55 MB, free: 5.934 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.251/1.251, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1638/0.1638, allocations: 38.02 MB / 329.4 MB, free: 8.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 63.58 kB / 398.4 MB, free: 34.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1077, allocations: 58.06 MB / 456.4 MB, free: 8.316 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.008351/0.1161, allocations: 8.089 MB / 464.5 MB, free: 192 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005792/0.1219, allocations: 4.833 MB / 469.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005477/0.1225, allocations: 23.88 kB / 469.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002379/0.1249, allocations: 1.032 MB / 470.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002321/0.1272, allocations: 1.18 MB / 471.6 MB, free: 9.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008202/0.128, allocations: 339.2 kB / 471.9 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001518/0.1296, allocations: 1.465 MB / 473.4 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009622/0.1305, allocations: 0.7475 MB / 474.1 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009342/0.1315, allocations: 0.6458 MB / 474.8 MB, free: 5.887 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009344/0.1324, allocations: 0.7672 MB / 475.6 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.1325, allocations: 64 kB / 475.6 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.1344, allocations: 1.434 MB / 477 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004258/0.1348, allocations: 0.491 MB / 477.5 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000521/0.1353, allocations: 453.8 kB / 478 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002006/0.1373, allocations: 1.64 MB / 479.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1374, allocations: 0 / 479.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1374, allocations: 0 / 479.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.316e-05/0.1374, allocations: 4 kB / 479.6 MB, free: 1.031 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.001709/0.1391, allocations: 1.163 MB / 480.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.1392, allocations: 15.89 kB / 480.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001426/0.1393, allocations: 131.4 kB / 480.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003117/0.1424, allocations: 407.4 kB / 481.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000666/0.1431, allocations: 499.1 kB / 481.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.175e-05/0.1432, allocations: 62.36 kB / 481.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.1433, allocations: 72.36 kB / 481.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/0.145, allocations: 1.227 MB / 483.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/0.145, allocations: 3.938 kB / 483.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.896e-05/0.1451, allocations: 31.98 kB / 483.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.502e-05/0.1452, allocations: 77.95 kB / 483.3 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.147, allocations: 1.315 MB / 484.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005052/0.1521, allocations: 3.704 MB / 488.3 MB, free: 8.109 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.1537, allocations: 1.091 MB / 489.4 MB, free: 7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007719/0.1545, allocations: 0.6432 MB / 490 MB, free: 6.355 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.411e-05/0.1546, allocations: 21.12 kB / 490.1 MB, free: 6.332 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.1546, allocations: 47.5 kB / 490.1 MB, free: 6.277 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 1.993e-06/0.1546, allocations: 4 kB / 490.1 MB, free: 6.273 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.006262/0.1609, allocations: 3.134 MB / 493.2 MB, free: 3.109 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.1609, allocations: 90.05 kB / 493.3 MB, free: 3.004 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003692/0.1613, allocations: 389.5 kB / 493.7 MB, free: 2.617 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.835e-05/0.1614, allocations: 41.7 kB / 493.8 MB, free: 2.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/0.1616, allocations: 328 kB / 494.1 MB, free: 2.242 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/0.1619, allocations: 319.4 kB / 494.4 MB, free: 1.926 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002278/0.1621, allocations: 154.6 kB / 494.5 MB, free: 1.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1622, allocations: 370.8 kB / 494.9 MB, free: 1.398 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006581/0.1629, allocations: 465.7 kB / 495.4 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006737/0.1636, allocations: 0.5782 MB / 495.9 MB, free: 344 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.165, allocations: 1.118 MB / 497.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.165, allocations: 0 / 497.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002299/0.1673, allocations: 1.485 MB / 498.5 MB, free: 13.69 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.1673, allocations: 10.12 kB / 498.5 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.1673, allocations: 4 kB / 498.5 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008798/0.1682, allocations: 336.8 kB / 498.9 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006493/0.1689, allocations: 183.7 kB / 499.1 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004913/0.1738, allocations: 4.168 MB / 0.4914 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004488/0.1743, allocations: 51.94 kB / 0.4915 GB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.159e-05/0.1744, allocations: 39.98 kB / 0.4915 GB, free: 8.738 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.0003498/0.1747, allocations: 305.5 kB / 0.4918 GB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.1748, allocations: 55.34 kB / 0.4919 GB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002511/0.1773, allocations: 1.555 MB / 0.4934 GB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.1774, allocations: 12 kB / 0.4934 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.1774, allocations: 4 kB / 0.4934 GB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.1774, allocations: 7.984 kB / 0.4934 GB, free: 6.785 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.004703/0.1821, allocations: 3.006 MB / 0.4963 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.1821, allocations: 4 kB / 0.4963 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005887/0.1827, allocations: 167.8 kB / 0.4965 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007705/0.1835, allocations: 285.9 kB / 0.4968 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.215e-05/0.1836, allocations: 27.98 kB / 0.4968 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1606/0.3442, allocations: 3.895 MB / 0.5006 GB, free: 54.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/0.3442, allocations: 4.766 kB / 0.5006 GB, free: 54.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002437/0.3467, allocations: 1.577 MB / 0.5022 GB, free: 54.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.3468, allocations: 144.6 kB / 0.5023 GB, free: 54.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.901e-05/0.3469, allocations: 22.98 kB / 0.5023 GB, free: 54.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000499/0.3474, allocations: 45.44 kB / 0.5024 GB, free: 54.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.3476, allocations: 84.95 kB / 0.5024 GB, free: 54.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.075e-05/0.3477, allocations: 35.22 kB / 0.5025 GB, free: 54.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002816/0.348, allocations: 267.2 kB / 0.5027 GB, free: 54.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.348, allocations: 0 / 0.5027 GB, free: 54.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009455/0.3489, allocations: 307.7 kB / 0.503 GB, free: 54.45 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.002209/0.3512, allocations: 2.143 MB / 0.5051 GB, free: 53.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002485/0.3536, allocations: 1.671 MB / 0.5067 GB, free: 52.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3537, allocations: 1.094 kB / 0.5067 GB, free: 52.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.3547, allocations: 0.8366 MB / 0.5076 GB, free: 52.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006307/0.3554, allocations: 108.1 kB / 0.5077 GB, free: 52.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009602/0.365, allocations: 8.061 MB / 0.5155 GB, free: 48.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000678/0.3657, allocations: 1.079 MB / 0.5166 GB, free: 47.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004154/0.3661, allocations: 182 kB / 0.5168 GB, free: 47.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000321/0.3664, allocations: 269.7 kB / 0.517 GB, free: 47.23 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3664, allocations: 4 kB / 0.517 GB, free: 47.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.135/1.501, allocations: 16.33 MB / 0.533 GB, free: 37.41 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/1.502, allocations: 224.8 kB / 0.5332 GB, free: 37.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/3.372, allocations: 3.938 kB / 0.5332 GB, free: 37.15 MB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1)