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.001162/0.001162, allocations: 111.8 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.001176/0.001176, 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.478/1.478, 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.1795/0.1795, allocations: 37.99 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.001417/0.001417, allocations: 67.89 kB / 431.4 MB, free: 16.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.122, allocations: 55.25 MB / 486.6 MB, free: 8.836 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.008898/0.1309, allocations: 7.426 MB / 494 MB, free: 1.375 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006203/0.1372, allocations: 4.425 MB / 498.5 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006336/0.1379, allocations: 19.94 kB / 498.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002882/0.1408, allocations: 1.028 MB / 499.5 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003233/0.144, allocations: 1.203 MB / 0.489 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.1454, allocations: 319.1 kB / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002755/0.1481, allocations: 1.395 MB / 0.4906 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/0.1493, allocations: 0.6612 MB / 0.4913 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/0.1506, allocations: 0.6264 MB / 0.4919 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.1521, allocations: 0.6697 MB / 0.4926 GB, free: 6.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002652/0.1524, allocations: 64 kB / 0.4926 GB, free: 6.934 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00281/0.1552, allocations: 1.333 MB / 0.4939 GB, free: 5.598 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006605/0.1559, allocations: 474.9 kB / 0.4944 GB, free: 5.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007661/0.1566, allocations: 437.9 kB / 0.4948 GB, free: 4.703 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003476/0.1601, allocations: 1.465 MB / 0.4962 GB, free: 3.234 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.1602, allocations: 0 / 0.4962 GB, free: 3.234 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.328e-06/0.1602, allocations: 4 kB / 0.4962 GB, free: 3.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.693e-05/0.1603, allocations: 0 / 0.4962 GB, free: 3.23 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.002557/0.1628, allocations: 1.124 MB / 0.4973 GB, free: 2.055 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1629, allocations: 11.89 kB / 0.4973 GB, free: 2.043 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002111/0.1631, allocations: 135.1 kB / 0.4975 GB, free: 1.902 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003284/0.1664, allocations: 383.4 kB / 0.4978 GB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.1674, allocations: 494.6 kB / 0.4983 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.018e-05/0.1675, allocations: 58.36 kB / 0.4984 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.1677, allocations: 64.38 kB / 0.4984 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001954/0.1696, allocations: 1.184 MB / 0.4996 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.855e-05/0.1697, allocations: 3.906 kB / 0.4996 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.223e-05/0.1698, allocations: 31.98 kB / 0.4996 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.855e-05/0.1699, allocations: 69.95 kB / 0.4997 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/0.1719, allocations: 1.241 MB / 0.5009 GB, free: 14.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006027/0.178, allocations: 3.484 MB / 0.5043 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/0.1797, allocations: 1.065 MB / 0.5053 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000908/0.1806, allocations: 0.6604 MB / 0.506 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.067e-05/0.1807, allocations: 20.98 kB / 0.506 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.1807, allocations: 47.78 kB / 0.506 GB, free: 8.926 MB / 398.1 MB Notification: Performance of pre-optimization done (n=91): time 2.966e-06/0.1808, allocations: 0 / 0.506 GB, free: 8.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.006641/0.1874, allocations: 3.087 MB / 0.5091 GB, free: 5.809 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.958e-05/0.1875, allocations: 86.11 kB / 0.5091 GB, free: 5.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004165/0.1879, allocations: 369.5 kB / 0.5095 GB, free: 5.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.202e-05/0.188, allocations: 37.7 kB / 0.5095 GB, free: 5.297 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.1882, allocations: 324.1 kB / 0.5098 GB, free: 4.973 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003381/0.1886, allocations: 311.5 kB / 0.5101 GB, free: 4.664 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002881/0.1889, allocations: 158.5 kB / 0.5103 GB, free: 4.504 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.1891, allocations: 362.8 kB / 0.5106 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007118/0.1898, allocations: 469.7 kB / 0.5111 GB, free: 3.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007743/0.1906, allocations: 0.5735 MB / 0.5116 GB, free: 3.078 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/0.192, allocations: 1.109 MB / 0.5127 GB, free: 1.938 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.192, allocations: 4 kB / 0.5127 GB, free: 1.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002561/0.1946, allocations: 1.469 MB / 0.5142 GB, free: 468 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.1947, allocations: 7.984 kB / 0.5142 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.1947, allocations: 4.188 kB / 0.5142 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009694/0.1956, allocations: 341.8 kB / 0.5145 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007277/0.1964, allocations: 179.7 kB / 0.5147 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005388/0.2018, allocations: 4.191 MB / 0.5188 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000525/0.2023, allocations: 48.02 kB / 0.5188 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.068e-05/0.2024, allocations: 39.98 kB / 0.5188 GB, free: 11.49 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.0004054/0.2029, allocations: 293.6 kB / 0.5191 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.203, allocations: 55.34 kB / 0.5192 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002706/0.2057, allocations: 1.571 MB / 0.5207 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.2057, allocations: 8 kB / 0.5207 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-05/0.2057, allocations: 11.94 kB / 0.5207 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.2058, allocations: 7.969 kB / 0.5207 GB, free: 9.527 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.005199/0.211, allocations: 3.031 MB / 0.5237 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.211, allocations: 0 / 0.5237 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006221/0.2116, allocations: 167.8 kB / 0.5239 GB, free: 6.203 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007787/0.2124, allocations: 285 kB / 0.5241 GB, free: 5.922 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.664e-05/0.2125, allocations: 27.98 kB / 0.5242 GB, free: 5.895 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00542/0.2179, allocations: 3.915 MB / 0.528 GB, free: 1.824 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.2179, allocations: 4 kB / 0.528 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002612/0.2205, allocations: 1.594 MB / 0.5295 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002444/0.2208, allocations: 144.3 kB / 0.5297 GB, free: 4 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.2842/0.505, allocations: 25.61 kB / 0.5297 GB, free: 51.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006076/0.5057, allocations: 42.08 kB / 0.5297 GB, free: 51.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002084/0.5059, allocations: 85.64 kB / 0.5298 GB, free: 51.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.951e-05/0.506, allocations: 37.19 kB / 0.5299 GB, free: 51.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003959/0.5064, allocations: 259.7 kB / 0.5301 GB, free: 51.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5064, allocations: 0 / 0.5301 GB, free: 51.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001203/0.5076, allocations: 308.2 kB / 0.5304 GB, free: 51.29 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.00318/0.5108, allocations: 2.158 MB / 0.5325 GB, free: 50.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002542/0.5134, allocations: 1.403 MB / 0.5339 GB, free: 50.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5134, allocations: 0 / 0.5339 GB, free: 50.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.5146, allocations: 0.8438 MB / 0.5347 GB, free: 50.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006576/0.5153, allocations: 102.4 kB / 0.5348 GB, free: 50.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/0.5262, allocations: 7.534 MB / 0.5422 GB, free: 46.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006725/0.5269, allocations: 1.071 MB / 0.5432 GB, free: 45.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004782/0.5274, allocations: 179.7 kB / 0.5434 GB, free: 45.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003519/0.5278, allocations: 258 kB / 0.5436 GB, free: 45.43 MB / 414.1 MB Notification: Performance of SimCode: time 8.82e-07/0.5278, allocations: 0 / 0.5436 GB, free: 45.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06032/0.5881, allocations: 16.8 MB / 0.56 GB, free: 36.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.64, allocations: 9.234 kB / 0.56 GB, free: 36.94 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)