Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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_d,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d",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.001257/0.001257, allocations: 111.8 kB / 17.06 MB, free: 6.09 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.001392/0.001392, allocations: 199 kB / 18 MB, free: 5.168 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.51/1.51, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1782/0.1782, 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.001609/0.001609, allocations: 63.91 kB / 431.4 MB, free: 16.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1064, allocations: 55.24 MB / 486.6 MB, free: 8.957 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.01101/0.1175, allocations: 7.574 MB / 494.2 MB, free: 1.348 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00613/0.1236, allocations: 4.207 MB / 498.4 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000575/0.1242, allocations: 15.94 kB / 498.4 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002779/0.127, allocations: 1.028 MB / 499.4 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003256/0.1303, allocations: 1.094 MB / 0.4888 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.1314, allocations: 311.1 kB / 0.4891 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002036/0.1335, allocations: 1.363 MB / 0.4904 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.1346, allocations: 452 kB / 0.4909 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001537/0.1361, allocations: 0.5639 MB / 0.4914 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.1374, allocations: 0.5878 MB / 0.492 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.1376, allocations: 36 kB / 0.492 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.1392, allocations: 0.9856 MB / 0.493 GB, free: 6.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003889/0.1396, allocations: 271.3 kB / 0.4932 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003912/0.14, allocations: 246.9 kB / 0.4935 GB, free: 6.172 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.1416, allocations: 0.818 MB / 0.4943 GB, free: 5.352 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.1416, allocations: 0 / 0.4943 GB, free: 5.352 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1416, allocations: 0 / 0.4943 GB, free: 5.352 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.999e-05/0.1417, allocations: 4 kB / 0.4943 GB, free: 5.348 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.00155/0.1432, allocations: 0.7999 MB / 0.4951 GB, free: 4.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1433, allocations: 11.89 kB / 0.4951 GB, free: 4.488 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001384/0.1434, allocations: 82.7 kB / 0.4951 GB, free: 4.398 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001693/0.1451, allocations: 136.2 kB / 0.4953 GB, free: 4.266 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006098/0.1457, allocations: 334.4 kB / 0.4956 GB, free: 3.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.1458, allocations: 37.3 kB / 0.4956 GB, free: 3.867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.452e-05/0.1458, allocations: 36.36 kB / 0.4957 GB, free: 3.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008223/0.1467, allocations: 0.5789 MB / 0.4962 GB, free: 3.188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.1467, allocations: 7.938 kB / 0.4962 GB, free: 3.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.163e-05/0.1467, allocations: 19.98 kB / 0.4963 GB, free: 3.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-05/0.1468, allocations: 36.62 kB / 0.4963 GB, free: 3.125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006099/0.1474, allocations: 390.1 kB / 0.4967 GB, free: 2.742 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002691/0.1501, allocations: 2.592 MB / 0.4992 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006273/0.1508, allocations: 423.8 kB / 0.4996 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002733/0.1511, allocations: 218.5 kB / 0.4998 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.1511, allocations: 4 kB / 0.4998 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.1511, allocations: 42.5 kB / 0.4999 GB, free: 15.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=33): time 1.673e-06/0.1511, allocations: 0 / 0.4999 GB, free: 15.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.001715/0.1528, allocations: 0.7727 MB / 0.5006 GB, free: 14.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.1529, allocations: 106.8 kB / 0.5007 GB, free: 14.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/0.1533, allocations: 320.5 kB / 0.501 GB, free: 14.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.1533, allocations: 33.7 kB / 0.501 GB, free: 14.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.1535, allocations: 251.7 kB / 0.5013 GB, free: 13.76 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.1536, allocations: 122.3 kB / 0.5014 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.1537, allocations: 74.14 kB / 0.5015 GB, free: 13.56 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1538, allocations: 346.9 kB / 0.5018 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.154, allocations: 128.8 kB / 0.5019 GB, free: 13.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.1543, allocations: 283.4 kB / 0.5022 GB, free: 12.74 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005212/0.1549, allocations: 456.1 kB / 0.5026 GB, free: 12.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1549, allocations: 0 / 0.5026 GB, free: 12.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008322/0.1557, allocations: 0.561 MB / 0.5032 GB, free: 11.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.1557, allocations: 11.98 kB / 0.5032 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.1558, allocations: 4 kB / 0.5032 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003437/0.1561, allocations: 121.2 kB / 0.5033 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.1564, allocations: 71.91 kB / 0.5034 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002622/0.159, allocations: 2.563 MB / 0.5059 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.1592, allocations: 39.53 kB / 0.5059 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.1593, allocations: 20 kB / 0.5059 GB, free: 8.68 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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 {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002282/0.1595, allocations: 201.7 kB / 0.5061 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.1596, allocations: 39.62 kB / 0.5062 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.793e-05/0.1597, allocations: 51.89 kB / 0.5062 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.1597, allocations: 7.984 kB / 0.5062 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.1597, allocations: 7.938 kB / 0.5062 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1598, allocations: 0 / 0.5062 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.1611, allocations: 0.9377 MB / 0.5072 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.1611, allocations: 4 kB / 0.5072 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.1613, allocations: 39.91 kB / 0.5072 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000253/0.1615, allocations: 113 kB / 0.5073 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.1616, allocations: 8 kB / 0.5073 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002654/0.1642, allocations: 2.552 MB / 0.5098 GB, free: 4.492 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1642, allocations: 0 / 0.5098 GB, free: 4.492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007461/0.165, allocations: 0.6343 MB / 0.5104 GB, free: 3.828 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.1651, allocations: 116.7 kB / 0.5105 GB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/0.1652, allocations: 11.94 kB / 0.5105 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.1654, allocations: 4 kB / 0.5105 GB, free: 3.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.1654, allocations: 27.91 kB / 0.5106 GB, free: 3.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.1655, allocations: 12 kB / 0.5106 GB, free: 3.641 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002057/0.1657, allocations: 219 kB / 0.5108 GB, free: 3.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1657, allocations: 0 / 0.5108 GB, free: 3.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006612/0.1663, allocations: 159.8 kB / 0.5109 GB, free: 3.273 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * 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 {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009405/0.1673, allocations: 1.156 MB / 0.5121 GB, free: 2.078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008919/0.1682, allocations: 0.53 MB / 0.5126 GB, free: 1.535 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.1682, allocations: 0 / 0.5126 GB, free: 1.535 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004441/0.1687, allocations: 334.4 kB / 0.5129 GB, free: 1.195 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006035/0.1693, allocations: 61.69 kB / 0.513 GB, free: 1.137 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005014/0.1743, allocations: 3.998 MB / 0.5169 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005273/0.1748, allocations: 0.8863 MB / 0.5177 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001811/0.175, allocations: 66.91 kB / 0.5178 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.1752, allocations: 115.4 kB / 0.5179 GB, free: 11.81 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1752, allocations: 0 / 0.5179 GB, free: 11.81 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0325/0.2077, allocations: 7.77 MB / 0.5255 GB, free: 3.984 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.569/9.777, allocations: 4 kB / 0.5255 GB, free: 3.98 MB / 414.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1)