Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.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.NetworkLoop,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop",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.00131/0.001309, allocations: 105.6 kB / 17.06 MB, free: 6.027 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: 195 kB / 18 MB, free: 5.105 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.336/1.336, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1696/0.1696, allocations: 37.99 MB / 309.2 MB, free: 5.957 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.001699/0.0017, allocations: 63.91 kB / 431.4 MB, free: 16.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1431, allocations: 55.25 MB / 486.6 MB, free: 8.855 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.00816/0.1513, allocations: 7.426 MB / 494 MB, free: 1.395 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005718/0.1571, allocations: 4.429 MB / 498.5 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005243/0.1576, allocations: 12 kB / 498.5 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002526/0.1601, allocations: 1.047 MB / 499.5 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002695/0.1629, allocations: 1.195 MB / 0.489 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008636/0.1637, allocations: 319.1 kB / 0.4893 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001691/0.1654, allocations: 1.402 MB / 0.4907 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.1665, allocations: 0.6573 MB / 0.4913 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.1677, allocations: 0.6225 MB / 0.4919 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.1687, allocations: 0.6736 MB / 0.4926 GB, free: 7.004 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001846/0.1689, allocations: 64 kB / 0.4926 GB, free: 6.941 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002282/0.1712, allocations: 1.325 MB / 0.4939 GB, free: 5.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005971/0.1718, allocations: 478.9 kB / 0.4944 GB, free: 5.145 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008209/0.1727, allocations: 441.9 kB / 0.4948 GB, free: 4.711 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002656/0.1753, allocations: 1.461 MB / 0.4962 GB, free: 3.246 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1753, allocations: 0 / 0.4962 GB, free: 3.246 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1753, allocations: 4 kB / 0.4962 GB, free: 3.242 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.353e-05/0.1754, allocations: 4 kB / 0.4962 GB, free: 3.238 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002329/0.1777, allocations: 1.116 MB / 0.4973 GB, free: 2.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.1778, allocations: 11.89 kB / 0.4973 GB, free: 2.059 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001879/0.178, allocations: 131.2 kB / 0.4975 GB, free: 1.922 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003133/0.1811, allocations: 391.4 kB / 0.4978 GB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008976/0.1821, allocations: 490.6 kB / 0.4983 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.129e-05/0.1821, allocations: 54.36 kB / 0.4983 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.1823, allocations: 76.34 kB / 0.4984 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00198/0.1843, allocations: 1.176 MB / 0.4996 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/0.1843, allocations: 7.906 kB / 0.4996 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.26e-05/0.1844, allocations: 27.98 kB / 0.4996 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.634e-05/0.1845, allocations: 81.94 kB / 0.4997 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/0.1864, allocations: 1.234 MB / 0.5009 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005579/0.192, allocations: 3.488 MB / 0.5043 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/0.1938, allocations: 1.062 MB / 0.5053 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008511/0.1946, allocations: 0.6642 MB / 0.506 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.891e-05/0.1947, allocations: 16.97 kB / 0.506 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.1947, allocations: 47.56 kB / 0.506 GB, free: 8.938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=91): time 2.555e-06/0.1947, allocations: 0 / 0.506 GB, free: 8.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.006327/0.2011, allocations: 3.099 MB / 0.5091 GB, free: 5.809 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.2011, allocations: 86.11 kB / 0.5091 GB, free: 5.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003899/0.2015, allocations: 361.6 kB / 0.5095 GB, free: 5.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.53e-05/0.2016, allocations: 41.7 kB / 0.5095 GB, free: 5.301 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.2018, allocations: 320.1 kB / 0.5098 GB, free: 4.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/0.2021, allocations: 311.4 kB / 0.5101 GB, free: 4.672 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/0.2023, allocations: 158.5 kB / 0.5103 GB, free: 4.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.2025, allocations: 370.8 kB / 0.5106 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006686/0.2032, allocations: 465.7 kB / 0.5111 GB, free: 3.684 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000747/0.204, allocations: 0.5696 MB / 0.5116 GB, free: 3.086 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.2054, allocations: 1.113 MB / 0.5127 GB, free: 1.941 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.2054, allocations: 0 / 0.5127 GB, free: 1.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00234/0.2078, allocations: 1.473 MB / 0.5142 GB, free: 472 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.2078, allocations: 8 kB / 0.5142 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.2078, allocations: 192 / 0.5142 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008731/0.2087, allocations: 341.7 kB / 0.5145 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006684/0.2094, allocations: 183.7 kB / 0.5147 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005405/0.2148, allocations: 4.183 MB / 0.5188 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004378/0.2153, allocations: 47.95 kB / 0.5188 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.272e-05/0.2154, allocations: 36.05 kB / 0.5188 GB, free: 11.5 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * 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.0003964/0.2158, allocations: 293.6 kB / 0.5191 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.2159, allocations: 55.34 kB / 0.5192 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002647/0.2185, allocations: 1.574 MB / 0.5207 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.2185, allocations: 12 kB / 0.5207 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.2186, allocations: 4 kB / 0.5207 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.2186, allocations: 3.984 kB / 0.5207 GB, free: 9.547 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.004923/0.2235, allocations: 3.039 MB / 0.5237 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.2235, allocations: 4 kB / 0.5237 GB, free: 6.375 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006085/0.2241, allocations: 171.7 kB / 0.5239 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007742/0.2249, allocations: 281 kB / 0.5241 GB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.099e-05/0.225, allocations: 27.98 kB / 0.5242 GB, free: 5.902 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005082/0.2301, allocations: 3.907 MB / 0.528 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/0.2301, allocations: 4 kB / 0.528 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002432/0.2326, allocations: 1.602 MB / 0.5295 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/0.2328, allocations: 144.3 kB / 0.5297 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.3335/0.5663, allocations: 22.39 kB / 0.5297 GB, free: 51.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008363/0.5672, allocations: 39.66 kB / 0.5297 GB, free: 51.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002571/0.5675, allocations: 83.23 kB / 0.5298 GB, free: 51.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.624e-05/0.5676, allocations: 36.12 kB / 0.5299 GB, free: 51.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003942/0.568, allocations: 258.7 kB / 0.5301 GB, free: 51.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.568, allocations: 0 / 0.5301 GB, free: 51.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001331/0.5693, allocations: 307.4 kB / 0.5304 GB, free: 51.34 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.003055/0.5724, allocations: 2.159 MB / 0.5325 GB, free: 50.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002697/0.5751, allocations: 1.403 MB / 0.5339 GB, free: 50.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/0.5751, allocations: 1.219 kB / 0.5339 GB, free: 50.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001622/0.5768, allocations: 0.8438 MB / 0.5347 GB, free: 50.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007743/0.5775, allocations: 102.8 kB / 0.5348 GB, free: 50.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/0.5895, allocations: 7.532 MB / 0.5421 GB, free: 46.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006112/0.5901, allocations: 1.07 MB / 0.5432 GB, free: 45.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004403/0.5906, allocations: 182.5 kB / 0.5434 GB, free: 45.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003261/0.5909, allocations: 256.8 kB / 0.5436 GB, free: 45.48 MB / 414.1 MB Notification: Performance of SimCode: time 1.553e-06/0.5909, allocations: 1.344 kB / 0.5436 GB, free: 45.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.036/0.6269, allocations: 16.79 MB / 0.56 GB, free: 37.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.71/10.34, allocations: 5.172 kB / 0.56 GB, free: 37.08 MB / 414.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1)