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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001156/0.001155, allocations: 109.4 kB / 16.92 MB, free: 5.895 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.001115/0.001115, allocations: 187.3 kB / 17.85 MB, free: 5.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.208/1.208, allocations: 222.9 MB / 241.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1639/0.1639, allocations: 38.02 MB / 329.7 MB, free: 8.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 63.25 kB / 398.9 MB, free: 33.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08862/0.08977, allocations: 58.06 MB / 457 MB, free: 7.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.006995/0.0968, allocations: 7.413 MB / 464.4 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004696/0.1015, allocations: 4.385 MB / 468.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001998/0.1017, allocations: 19.94 kB / 468.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002159/0.1039, allocations: 1.039 MB / 469.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001914/0.1058, allocations: 1.199 MB / 471 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006058/0.1064, allocations: 323.1 kB / 471.3 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001085/0.1075, allocations: 1.406 MB / 472.7 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007497/0.1083, allocations: 0.6572 MB / 473.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005891/0.1089, allocations: 0.6186 MB / 474 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006466/0.1096, allocations: 0.6736 MB / 474.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.325e-05/0.1096, allocations: 64 kB / 474.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001724/0.1114, allocations: 1.329 MB / 476.1 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003506/0.1117, allocations: 486.8 kB / 476.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003653/0.1121, allocations: 437.9 kB / 477 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.1134, allocations: 1.441 MB / 478.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1135, allocations: 3.984 kB / 478.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1135, allocations: 4 kB / 478.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.1135, allocations: 0 / 478.4 MB, free: 2.434 MB / 350.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.001375/0.1149, allocations: 1.128 MB / 479.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1149, allocations: 11.89 kB / 479.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00013/0.115, allocations: 131.2 kB / 479.7 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002849/0.1179, allocations: 391.4 kB / 480.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005754/0.1185, allocations: 478.6 kB / 480.5 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.058e-05/0.1185, allocations: 54.36 kB / 480.6 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.1187, allocations: 76.36 kB / 480.7 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.1202, allocations: 1.172 MB / 481.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.1202, allocations: 15.91 kB / 481.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.646e-05/0.1203, allocations: 31.97 kB / 481.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.951e-05/0.1204, allocations: 65.97 kB / 482 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/0.122, allocations: 1.245 MB / 483.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004517/0.1265, allocations: 3.507 MB / 486.7 MB, free: 9.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.128, allocations: 1.072 MB / 487.8 MB, free: 8.844 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007775/0.1288, allocations: 0.6489 MB / 488.4 MB, free: 8.188 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.38e-05/0.1288, allocations: 16.98 kB / 488.4 MB, free: 8.168 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.1289, allocations: 47.69 kB / 488.5 MB, free: 8.113 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 2.185e-06/0.1289, allocations: 4 kB / 488.5 MB, free: 8.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.005803/0.1347, allocations: 3.083 MB / 491.6 MB, free: 5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.1347, allocations: 86.11 kB / 491.7 MB, free: 4.898 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003291/0.1351, allocations: 369.5 kB / 492 MB, free: 4.531 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.781e-05/0.1351, allocations: 41.64 kB / 492.1 MB, free: 4.484 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.1353, allocations: 312.2 kB / 492.4 MB, free: 4.172 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.1355, allocations: 311.4 kB / 492.7 MB, free: 3.863 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002251/0.1358, allocations: 166.6 kB / 492.8 MB, free: 3.695 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1359, allocations: 366.8 kB / 493.2 MB, free: 3.328 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000601/0.1365, allocations: 469.7 kB / 493.7 MB, free: 2.867 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006739/0.1372, allocations: 0.5696 MB / 494.2 MB, free: 2.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.1386, allocations: 1.109 MB / 495.3 MB, free: 1.129 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1386, allocations: 4 kB / 495.3 MB, free: 1.125 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002176/0.1408, allocations: 1.477 MB / 496.8 MB, free: 15.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1408, allocations: 4 kB / 496.8 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.1408, allocations: 4 kB / 496.8 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000876/0.1417, allocations: 336.8 kB / 497.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006505/0.1424, allocations: 179.7 kB / 497.3 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004707/0.1471, allocations: 4.19 MB / 0.4898 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004212/0.1475, allocations: 52 kB / 0.4898 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.376e-05/0.1476, allocations: 35.98 kB / 0.4898 GB, free: 10.69 MB / 382.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.0003402/0.1479, allocations: 289.6 kB / 0.4901 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.148, allocations: 59.33 kB / 0.4902 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/0.1504, allocations: 1.567 MB / 0.4917 GB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.1504, allocations: 15.94 kB / 0.4917 GB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.1505, allocations: 4 kB / 0.4917 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.1505, allocations: 7.969 kB / 0.4917 GB, free: 8.727 MB / 382.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.004314/0.1548, allocations: 3.032 MB / 0.4947 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.1548, allocations: 7.984 kB / 0.4947 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005833/0.1554, allocations: 164.2 kB / 0.4949 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007313/0.1562, allocations: 292.5 kB / 0.4951 GB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.04e-05/0.1562, allocations: 24 kB / 0.4952 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004396/0.1606, allocations: 3.916 MB / 0.499 GB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.1606, allocations: 8 kB / 0.499 GB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1572/0.3179, allocations: 1.586 MB / 0.5005 GB, free: 55.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/0.3181, allocations: 149.7 kB / 0.5007 GB, free: 55.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/0.3183, allocations: 22.8 kB / 0.5007 GB, free: 55.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004575/0.3187, allocations: 41.38 kB / 0.5007 GB, free: 55.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.3189, allocations: 88.08 kB / 0.5008 GB, free: 55.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-05/0.319, allocations: 36.88 kB / 0.5009 GB, free: 55.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002495/0.3192, allocations: 256.7 kB / 0.5011 GB, free: 55.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3193, allocations: 0 / 0.5011 GB, free: 55.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009006/0.3202, allocations: 309.9 kB / 0.5014 GB, free: 55.61 MB / 382.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.002304/0.3225, allocations: 2.156 MB / 0.5035 GB, free: 54.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002385/0.3249, allocations: 1.67 MB / 0.5051 GB, free: 54.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.3249, allocations: 3.688 kB / 0.5051 GB, free: 54.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.3259, allocations: 0.8418 MB / 0.506 GB, free: 53.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006179/0.3266, allocations: 104.3 kB / 0.5061 GB, free: 53.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009268/0.3358, allocations: 7.604 MB / 0.5135 GB, free: 50.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005761/0.3364, allocations: 1.074 MB / 0.5145 GB, free: 49.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004242/0.3369, allocations: 183 kB / 0.5147 GB, free: 49.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000306/0.3372, allocations: 257.4 kB / 0.515 GB, free: 49.2 MB / 382.1 MB Notification: Performance of SimCode: time 9.51e-07/0.3372, allocations: 0 / 0.515 GB, free: 49.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.068/3.405, allocations: 16.21 MB / 0.5308 GB, free: 40.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/16.73, allocations: 13.67 kB / 0.5308 GB, free: 40.23 MB / 382.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)