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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.001216/0.001216, allocations: 112.9 kB / 17.06 MB, free: 5.988 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.001324/0.001324, allocations: 198.9 kB / 18 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1637/0.1637, allocations: 37.98 MB / 309.2 MB, free: 5.949 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 63.89 kB / 431.4 MB, free: 16.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1051, allocations: 55.25 MB / 486.6 MB, free: 8.832 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.008856/0.114, allocations: 7.69 MB / 494.3 MB, free: 1.105 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006443/0.1205, allocations: 4.791 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005493/0.121, allocations: 12 kB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002567/0.1237, allocations: 1.086 MB / 0.4885 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002778/0.1264, allocations: 1.253 MB / 0.4897 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.1275, allocations: 374.9 kB / 0.49 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001903/0.1294, allocations: 1.465 MB / 0.4915 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.1304, allocations: 0.6577 MB / 0.4921 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.1316, allocations: 0.6458 MB / 0.4927 GB, free: 6.789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.1326, allocations: 0.7008 MB / 0.4934 GB, free: 6.086 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001743/0.1328, allocations: 72 kB / 0.4935 GB, free: 6.016 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002733/0.1355, allocations: 1.426 MB / 0.4949 GB, free: 4.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006688/0.1362, allocations: 494.8 kB / 0.4954 GB, free: 4.102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.1373, allocations: 457.9 kB / 0.4958 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003078/0.1404, allocations: 1.535 MB / 0.4973 GB, free: 2.113 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1404, allocations: 0 / 0.4973 GB, free: 2.113 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1404, allocations: 0 / 0.4973 GB, free: 2.113 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.385e-05/0.1404, allocations: 0 / 0.4973 GB, free: 2.113 MB / 382.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.002356/0.1428, allocations: 1.171 MB / 0.4984 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.1429, allocations: 11.89 kB / 0.4985 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002161/0.1431, allocations: 135.4 kB / 0.4986 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003298/0.1464, allocations: 403.4 kB / 0.499 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008128/0.1472, allocations: 0.5032 MB / 0.4995 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.13e-05/0.1473, allocations: 58.36 kB / 0.4995 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.1475, allocations: 72.36 kB / 0.4996 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/0.1494, allocations: 1.234 MB / 0.5008 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/0.1494, allocations: 0 / 0.5008 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-05/0.1495, allocations: 31.98 kB / 0.5008 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001006/0.1496, allocations: 77.95 kB / 0.5009 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002013/0.1516, allocations: 1.312 MB / 0.5022 GB, free: 12.99 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005549/0.1572, allocations: 3.677 MB / 0.5058 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.1588, allocations: 1.086 MB / 0.5068 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007712/0.1596, allocations: 0.6371 MB / 0.5074 GB, free: 7.469 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.93e-05/0.1597, allocations: 17.12 kB / 0.5075 GB, free: 7.449 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.1597, allocations: 51.56 kB / 0.5075 GB, free: 7.391 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 2.124e-06/0.1597, allocations: 0 / 0.5075 GB, free: 7.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.006447/0.1662, allocations: 3.153 MB / 0.5106 GB, free: 4.207 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/0.1663, allocations: 86.11 kB / 0.5107 GB, free: 4.105 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004585/0.1667, allocations: 377.6 kB / 0.511 GB, free: 3.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.77e-05/0.1668, allocations: 45.64 kB / 0.5111 GB, free: 3.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.167, allocations: 324 kB / 0.5114 GB, free: 3.355 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00027/0.1673, allocations: 319.3 kB / 0.5117 GB, free: 3.039 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002242/0.1675, allocations: 158.6 kB / 0.5118 GB, free: 2.879 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1677, allocations: 370.8 kB / 0.5122 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006385/0.1683, allocations: 473.7 kB / 0.5126 GB, free: 2.043 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000703/0.1691, allocations: 0.5743 MB / 0.5132 GB, free: 1.438 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/0.1705, allocations: 1.118 MB / 0.5143 GB, free: 292 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.1705, allocations: 0 / 0.5143 GB, free: 292 kB / 398.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002348/0.1729, allocations: 1.481 MB / 0.5157 GB, free: 14.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1729, allocations: 4 kB / 0.5158 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.1729, allocations: 4 kB / 0.5158 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008934/0.1738, allocations: 344.8 kB / 0.5161 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006366/0.1745, allocations: 187.7 kB / 0.5163 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005008/0.1795, allocations: 4.172 MB / 0.5203 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004773/0.18, allocations: 51.94 kB / 0.5204 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.44e-05/0.1801, allocations: 35.92 kB / 0.5204 GB, free: 9.836 MB / 414.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.0003983/0.1805, allocations: 305.7 kB / 0.5207 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.1806, allocations: 55.34 kB / 0.5208 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002446/0.1831, allocations: 1.547 MB / 0.5223 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.1831, allocations: 12 kB / 0.5223 GB, free: 7.902 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.1831, allocations: 8 kB / 0.5223 GB, free: 7.895 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.1831, allocations: 3.984 kB / 0.5223 GB, free: 7.891 MB / 414.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.004726/0.1878, allocations: 3.008 MB / 0.5252 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/0.1879, allocations: 4 kB / 0.5252 GB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005777/0.1885, allocations: 171.7 kB / 0.5254 GB, free: 4.578 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007473/0.1892, allocations: 276.7 kB / 0.5257 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.896e-05/0.1893, allocations: 23.98 kB / 0.5257 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004768/0.1941, allocations: 3.91 MB / 0.5295 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/0.1941, allocations: 11.97 kB / 0.5295 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2163/0.4104, allocations: 1.568 MB / 0.5311 GB, free: 50.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002405/0.4107, allocations: 151.7 kB / 0.5312 GB, free: 50.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.4108, allocations: 22.69 kB / 0.5312 GB, free: 50.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004487/0.4113, allocations: 39.16 kB / 0.5313 GB, free: 50.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.4115, allocations: 86.19 kB / 0.5313 GB, free: 50.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.187e-05/0.4115, allocations: 37.59 kB / 0.5314 GB, free: 50.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003223/0.4119, allocations: 263.5 kB / 0.5316 GB, free: 50.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4119, allocations: 1.375 kB / 0.5316 GB, free: 50.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009799/0.4129, allocations: 309.3 kB / 0.5319 GB, free: 50.78 MB / 414.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.002244/0.4151, allocations: 2.14 MB / 0.534 GB, free: 49.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002045/0.4172, allocations: 1.397 MB / 0.5354 GB, free: 49.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.4172, allocations: 1.094 kB / 0.5354 GB, free: 49.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001155/0.4183, allocations: 0.836 MB / 0.5362 GB, free: 49.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006701/0.419, allocations: 104.6 kB / 0.5363 GB, free: 49.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.4295, allocations: 7.63 MB / 0.5437 GB, free: 45.35 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000682/0.4302, allocations: 1.086 MB / 0.5448 GB, free: 44.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004827/0.4307, allocations: 180.6 kB / 0.545 GB, free: 44.6 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003543/0.4311, allocations: 273.4 kB / 0.5452 GB, free: 44.4 MB / 414.1 MB Notification: Performance of SimCode: time 6.62e-07/0.4311, allocations: 0 / 0.5452 GB, free: 44.4 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0469/0.478, allocations: 16.98 MB / 0.5618 GB, free: 34.94 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.78/10.26, allocations: 3.938 kB / 0.5618 GB, free: 34.93 MB / 414.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)