Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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_dq,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",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.001246/0.001246, allocations: 114 kB / 17.06 MB, free: 5.977 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.001233/0.001233, allocations: 198.9 kB / 18.01 MB, free: 5.059 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.539/1.539, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1805/0.1805, allocations: 37.98 MB / 309.2 MB, free: 5.969 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.001702/0.001702, allocations: 71.89 kB / 431.4 MB, free: 16.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09894/0.1007, allocations: 55.24 MB / 486.6 MB, free: 8.836 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.008684/0.1094, allocations: 7.43 MB / 494 MB, free: 1.371 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006616/0.116, allocations: 4.433 MB / 498.5 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007316/0.1168, allocations: 12 kB / 498.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002849/0.1197, allocations: 1.039 MB / 499.5 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003066/0.1228, allocations: 1.199 MB / 0.489 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009919/0.1238, allocations: 323.1 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001863/0.1257, allocations: 1.399 MB / 0.4907 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.1267, allocations: 0.6495 MB / 0.4913 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.1279, allocations: 0.6264 MB / 0.4919 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.1291, allocations: 0.6736 MB / 0.4926 GB, free: 6.984 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.1292, allocations: 64 kB / 0.4926 GB, free: 6.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002365/0.1316, allocations: 1.333 MB / 0.4939 GB, free: 5.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000586/0.1322, allocations: 482.8 kB / 0.4944 GB, free: 5.113 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006735/0.1329, allocations: 441.9 kB / 0.4948 GB, free: 4.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002394/0.1353, allocations: 1.457 MB / 0.4962 GB, free: 3.219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1353, allocations: 0 / 0.4962 GB, free: 3.219 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1353, allocations: 4 kB / 0.4962 GB, free: 3.215 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.101e-05/0.1354, allocations: 0 / 0.4962 GB, free: 3.215 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.001974/0.1374, allocations: 1.12 MB / 0.4973 GB, free: 2.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1374, allocations: 11.89 kB / 0.4973 GB, free: 2.031 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001647/0.1376, allocations: 135.2 kB / 0.4975 GB, free: 1.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003215/0.1408, allocations: 391.4 kB / 0.4978 GB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009568/0.1418, allocations: 486.6 kB / 0.4983 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.004e-05/0.1418, allocations: 54.36 kB / 0.4984 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.142, allocations: 72.36 kB / 0.4984 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.1437, allocations: 1.18 MB / 0.4996 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.1437, allocations: 3.906 kB / 0.4996 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.203e-05/0.1438, allocations: 31.98 kB / 0.4996 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.319e-05/0.1439, allocations: 69.95 kB / 0.4997 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/0.1458, allocations: 1.245 MB / 0.5009 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005777/0.1516, allocations: 3.48 MB / 0.5043 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/0.1532, allocations: 1.073 MB / 0.5053 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000802/0.154, allocations: 0.6565 MB / 0.506 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.497e-05/0.1541, allocations: 16.98 kB / 0.506 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.1541, allocations: 47.55 kB / 0.5061 GB, free: 8.914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=91): time 2.595e-06/0.1541, allocations: 0 / 0.5061 GB, free: 8.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.006481/0.1606, allocations: 3.091 MB / 0.5091 GB, free: 5.793 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.1607, allocations: 90.09 kB / 0.5092 GB, free: 5.688 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003944/0.1611, allocations: 365.6 kB / 0.5095 GB, free: 5.324 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.422e-05/0.1612, allocations: 41.7 kB / 0.5095 GB, free: 5.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.1614, allocations: 316.1 kB / 0.5098 GB, free: 4.961 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/0.1617, allocations: 311.4 kB / 0.5101 GB, free: 4.652 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002304/0.1619, allocations: 158.5 kB / 0.5103 GB, free: 4.492 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.162, allocations: 366.8 kB / 0.5106 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006427/0.1627, allocations: 469.7 kB / 0.5111 GB, free: 3.664 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007187/0.1634, allocations: 0.5735 MB / 0.5117 GB, free: 3.062 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.1649, allocations: 1.113 MB / 0.5127 GB, free: 1.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1649, allocations: 0 / 0.5127 GB, free: 1.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002342/0.1673, allocations: 1.473 MB / 0.5142 GB, free: 448 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.1673, allocations: 12.03 kB / 0.5142 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.1673, allocations: 3.938 kB / 0.5142 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009569/0.1683, allocations: 341.8 kB / 0.5145 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007268/0.169, allocations: 183.7 kB / 0.5147 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005193/0.1742, allocations: 4.183 MB / 0.5188 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005221/0.1748, allocations: 47.94 kB / 0.5188 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.534e-05/0.1749, allocations: 35.98 kB / 0.5189 GB, free: 11.47 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.0003719/0.1753, allocations: 289.6 kB / 0.5191 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.1754, allocations: 55.34 kB / 0.5192 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002506/0.1779, allocations: 1.571 MB / 0.5207 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.1779, allocations: 12 kB / 0.5207 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.1779, allocations: 7.984 kB / 0.5207 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.1779, allocations: 7.922 kB / 0.5207 GB, free: 9.516 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.004932/0.1829, allocations: 3.027 MB / 0.5237 GB, free: 6.359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.1829, allocations: 4 kB / 0.5237 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00063/0.1835, allocations: 171.7 kB / 0.5239 GB, free: 6.188 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007873/0.1843, allocations: 281.1 kB / 0.5241 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.815e-05/0.1844, allocations: 27.97 kB / 0.5242 GB, free: 5.883 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004934/0.1894, allocations: 3.919 MB / 0.528 GB, free: 1.809 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.1894, allocations: 4 kB / 0.528 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002559/0.192, allocations: 1.598 MB / 0.5296 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2085/0.4005, allocations: 138 kB / 0.5297 GB, free: 51.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002635/0.4008, allocations: 25.08 kB / 0.5297 GB, free: 51.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005566/0.4013, allocations: 42.62 kB / 0.5298 GB, free: 51.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000191/0.4015, allocations: 87.67 kB / 0.5298 GB, free: 51.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.678e-05/0.4016, allocations: 35.8 kB / 0.5299 GB, free: 51.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002821/0.4019, allocations: 256 kB / 0.5301 GB, free: 51.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4019, allocations: 1.281 kB / 0.5301 GB, free: 51.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009773/0.4029, allocations: 306.4 kB / 0.5304 GB, free: 51.24 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.002678/0.4056, allocations: 2.162 MB / 0.5325 GB, free: 50.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002236/0.4079, allocations: 1.401 MB / 0.5339 GB, free: 50.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/0.4079, allocations: 1.406 kB / 0.5339 GB, free: 50.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.4092, allocations: 0.8452 MB / 0.5347 GB, free: 50.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006996/0.4099, allocations: 107.6 kB / 0.5348 GB, free: 49.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.4208, allocations: 7.528 MB / 0.5422 GB, free: 46.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007022/0.4216, allocations: 1.071 MB / 0.5432 GB, free: 45.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004936/0.4221, allocations: 179.5 kB / 0.5434 GB, free: 45.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003506/0.4225, allocations: 257 kB / 0.5436 GB, free: 45.36 MB / 414.1 MB Notification: Performance of SimCode: time 1.193e-06/0.4225, allocations: 2.688 kB / 0.5436 GB, free: 45.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03764/0.4601, allocations: 16.8 MB / 0.56 GB, free: 36.94 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/10.69, allocations: 3.938 kB / 0.56 GB, free: 36.93 MB / 414.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1)