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.001174/0.001173, allocations: 110.3 kB / 17.06 MB, free: 6.004 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.001144/0.001144, allocations: 198.9 kB / 18 MB, free: 5.082 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.411/1.411, 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.1827/0.1827, allocations: 37.98 MB / 309.2 MB, free: 5.938 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.001497/0.001497, allocations: 63.89 kB / 431.4 MB, free: 16.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09782/0.09933, allocations: 55.24 MB / 486.6 MB, free: 8.832 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.008381/0.1077, allocations: 7.694 MB / 494.3 MB, free: 1.102 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006221/0.114, allocations: 4.783 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004937/0.1145, allocations: 19.88 kB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00266/0.1172, allocations: 1.086 MB / 0.4885 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003011/0.1202, allocations: 1.253 MB / 0.4897 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.1213, allocations: 375 kB / 0.49 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001962/0.1233, allocations: 1.465 MB / 0.4915 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/0.1244, allocations: 0.6539 MB / 0.4921 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.1256, allocations: 0.6496 MB / 0.4927 GB, free: 6.785 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.1267, allocations: 0.7048 MB / 0.4934 GB, free: 6.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001741/0.1269, allocations: 68 kB / 0.4935 GB, free: 6.012 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002529/0.1295, allocations: 1.422 MB / 0.4949 GB, free: 4.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005412/0.13, allocations: 494.8 kB / 0.4954 GB, free: 4.102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007036/0.1307, allocations: 457.9 kB / 0.4958 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002961/0.1337, allocations: 1.543 MB / 0.4973 GB, free: 2.105 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1337, allocations: 0 / 0.4973 GB, free: 2.105 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1337, allocations: 0 / 0.4973 GB, free: 2.105 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.058e-05/0.1338, allocations: 0 / 0.4973 GB, free: 2.105 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.002093/0.1359, allocations: 1.163 MB / 0.4984 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.1359, allocations: 15.88 kB / 0.4985 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001553/0.1361, allocations: 131.4 kB / 0.4986 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003435/0.1395, allocations: 407.4 kB / 0.499 GB, free: 348 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009638/0.1405, allocations: 0.4992 MB / 0.4995 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.475e-05/0.1406, allocations: 50.38 kB / 0.4995 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.1407, allocations: 80.34 kB / 0.4996 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/0.1426, allocations: 1.234 MB / 0.5008 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/0.1426, allocations: 0 / 0.5008 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.33e-05/0.1427, allocations: 31.98 kB / 0.5008 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001121/0.1428, allocations: 77.95 kB / 0.5009 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.1447, allocations: 1.312 MB / 0.5022 GB, free: 13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005548/0.1503, allocations: 3.681 MB / 0.5058 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/0.152, allocations: 1.082 MB / 0.5068 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008099/0.1528, allocations: 0.6411 MB / 0.5075 GB, free: 7.465 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.364e-05/0.1529, allocations: 13.14 kB / 0.5075 GB, free: 7.449 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.153, allocations: 55.55 kB / 0.5075 GB, free: 7.387 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 2.405e-06/0.153, allocations: 0 / 0.5075 GB, free: 7.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.006603/0.1596, allocations: 3.149 MB / 0.5106 GB, free: 4.207 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.1596, allocations: 86.11 kB / 0.5107 GB, free: 4.105 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004006/0.1601, allocations: 381.5 kB / 0.511 GB, free: 3.727 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.742e-05/0.1601, allocations: 41.7 kB / 0.5111 GB, free: 3.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.1603, allocations: 328 kB / 0.5114 GB, free: 3.352 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002379/0.1606, allocations: 319.3 kB / 0.5117 GB, free: 3.035 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.1608, allocations: 158.6 kB / 0.5118 GB, free: 2.875 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.161, allocations: 366.8 kB / 0.5122 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006186/0.1616, allocations: 477.6 kB / 0.5127 GB, free: 2.039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007119/0.1623, allocations: 0.5704 MB / 0.5132 GB, free: 1.438 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.1638, allocations: 1.122 MB / 0.5143 GB, free: 288 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1638, allocations: 0 / 0.5143 GB, free: 288 kB / 398.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002519/0.1663, allocations: 1.481 MB / 0.5157 GB, free: 14.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.1664, allocations: 4 kB / 0.5158 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.1664, allocations: 4 kB / 0.5158 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009894/0.1674, allocations: 340.7 kB / 0.5161 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007241/0.1681, allocations: 183.7 kB / 0.5163 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0053/0.1734, allocations: 4.176 MB / 0.5203 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005079/0.174, allocations: 51.94 kB / 0.5204 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.016e-05/0.1741, 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.0004141/0.1745, allocations: 297.7 kB / 0.5207 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.1746, allocations: 59.34 kB / 0.5208 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002554/0.1772, allocations: 1.555 MB / 0.5223 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.1772, allocations: 12 kB / 0.5223 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.1772, allocations: 8 kB / 0.5223 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.1772, allocations: 3.984 kB / 0.5223 GB, free: 7.887 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.004766/0.182, allocations: 3.008 MB / 0.5252 GB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.182, allocations: 4 kB / 0.5252 GB, free: 4.742 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006135/0.1826, allocations: 163.8 kB / 0.5254 GB, free: 4.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007652/0.1834, allocations: 280.8 kB / 0.5257 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-05/0.1835, allocations: 27.92 kB / 0.5257 GB, free: 4.277 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004782/0.1883, allocations: 3.903 MB / 0.5295 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.1883, allocations: 7.938 kB / 0.5295 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1984/0.3867, allocations: 1.575 MB / 0.531 GB, free: 50.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.3869, allocations: 148.4 kB / 0.5312 GB, free: 50.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.648e-05/0.387, allocations: 22.47 kB / 0.5312 GB, free: 50.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004208/0.3874, allocations: 41.36 kB / 0.5313 GB, free: 50.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/0.3876, allocations: 89.14 kB / 0.5313 GB, free: 50.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.526e-05/0.3876, allocations: 37.45 kB / 0.5314 GB, free: 50.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002731/0.3879, allocations: 264.1 kB / 0.5316 GB, free: 50.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3879, allocations: 1.406 kB / 0.5316 GB, free: 50.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008993/0.3888, allocations: 307 kB / 0.5319 GB, free: 50.79 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.002307/0.3912, allocations: 2.141 MB / 0.534 GB, free: 49.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002169/0.3933, allocations: 1.397 MB / 0.5354 GB, free: 49.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.3934, allocations: 1 kB / 0.5354 GB, free: 49.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001161/0.3945, allocations: 0.8341 MB / 0.5362 GB, free: 49.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006952/0.3952, allocations: 111.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.01083/0.4061, allocations: 7.631 MB / 0.5437 GB, free: 45.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000777/0.4069, allocations: 1.085 MB / 0.5448 GB, free: 44.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006323/0.4075, allocations: 184.2 kB / 0.545 GB, free: 44.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000498/0.408, allocations: 269.8 kB / 0.5452 GB, free: 44.41 MB / 414.1 MB Notification: Performance of SimCode: time 2.464e-06/0.4081, allocations: 0 / 0.5452 GB, free: 44.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05735/0.4654, allocations: 16.97 MB / 0.5618 GB, free: 34.9 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/10.81, allocations: 3.938 kB / 0.5618 GB, free: 34.89 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)