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.001047/0.001047, allocations: 106.9 kB / 16.62 MB, free: 6.809 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.001032/0.001032, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.253/1.253, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1695/0.1695, allocations: 38.02 MB / 329.4 MB, free: 8.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 58.02 kB / 398.4 MB, free: 34.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08006/0.08141, allocations: 58.06 MB / 456.4 MB, free: 8.32 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.007866/0.0893, allocations: 7.622 MB / 464.1 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005041/0.09437, allocations: 4.42 MB / 468.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003995/0.09479, allocations: 15.94 kB / 468.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00221/0.09703, allocations: 0.998 MB / 469.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002176/0.09922, allocations: 1.126 MB / 470.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007395/0.09997, allocations: 295.3 kB / 470.9 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001333/0.1013, allocations: 1.402 MB / 472.3 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009058/0.1022, allocations: 0.7392 MB / 473.1 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000796/0.103, allocations: 0.6109 MB / 473.7 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008004/0.1039, allocations: 0.7399 MB / 474.4 MB, free: 6.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.104, allocations: 64 kB / 474.5 MB, free: 6.223 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001731/0.1057, allocations: 1.337 MB / 475.8 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000401/0.1061, allocations: 478.9 kB / 476.3 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004667/0.1066, allocations: 449.9 kB / 476.7 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001717/0.1083, allocations: 1.539 MB / 478.2 MB, free: 2.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1083, allocations: 4 kB / 478.3 MB, free: 2.426 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1083, allocations: 0 / 478.3 MB, free: 2.426 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.94e-05/0.1084, allocations: 0 / 478.3 MB, free: 2.426 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.00157/0.1099, allocations: 1.132 MB / 479.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.11, allocations: 11.89 kB / 479.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001441/0.1101, allocations: 135.2 kB / 479.5 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003061/0.1132, allocations: 387.4 kB / 479.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006902/0.1139, allocations: 478.6 kB / 480.4 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.281e-05/0.114, allocations: 54.36 kB / 480.4 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.1141, allocations: 72.36 kB / 480.5 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.1157, allocations: 1.176 MB / 481.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.1158, allocations: 3.906 kB / 481.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.646e-05/0.1159, allocations: 35.98 kB / 481.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.434e-05/0.1159, allocations: 73.95 kB / 481.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/0.1177, allocations: 1.241 MB / 483 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004954/0.1227, allocations: 3.507 MB / 486.5 MB, free: 9.918 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.1242, allocations: 1.057 MB / 487.6 MB, free: 8.848 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008279/0.125, allocations: 0.6606 MB / 488.2 MB, free: 8.184 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.283e-05/0.1251, allocations: 12.98 kB / 488.3 MB, free: 8.168 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.1252, allocations: 47.56 kB / 488.3 MB, free: 8.113 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 3.557e-06/0.1252, allocations: 96 / 488.3 MB, free: 8.113 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.006182/0.1313, allocations: 3.091 MB / 491.4 MB, free: 4.992 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.1314, allocations: 90.11 kB / 491.5 MB, free: 4.887 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003488/0.1318, allocations: 365.5 kB / 491.8 MB, free: 4.523 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.31e-05/0.1318, allocations: 41.7 kB / 491.9 MB, free: 4.477 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.132, allocations: 312.1 kB / 492.2 MB, free: 4.164 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002249/0.1322, allocations: 311.4 kB / 492.5 MB, free: 3.855 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/0.1325, allocations: 162.6 kB / 492.7 MB, free: 3.691 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1326, allocations: 374.7 kB / 493 MB, free: 3.316 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006194/0.1332, allocations: 465.7 kB / 493.5 MB, free: 2.859 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006714/0.1339, allocations: 0.5657 MB / 494 MB, free: 2.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.1353, allocations: 1.117 MB / 495.2 MB, free: 1.121 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1353, allocations: 0 / 495.2 MB, free: 1.121 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002192/0.1375, allocations: 1.481 MB / 496.6 MB, free: 15.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1375, allocations: 8 kB / 496.6 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.1375, allocations: 3.938 kB / 496.6 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008537/0.1384, allocations: 334.4 kB / 497 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006267/0.139, allocations: 183.7 kB / 497.2 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004569/0.1436, allocations: 4.186 MB / 0.4896 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004027/0.144, allocations: 51.95 kB / 0.4896 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.577e-05/0.1441, allocations: 35.98 kB / 0.4897 GB, free: 10.68 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.0003197/0.1444, allocations: 297.5 kB / 0.49 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.1445, allocations: 55.34 kB / 0.49 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002283/0.1468, allocations: 1.567 MB / 0.4915 GB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.1468, allocations: 12 kB / 0.4916 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.1468, allocations: 4 kB / 0.4916 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.1468, allocations: 7.969 kB / 0.4916 GB, free: 8.719 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.004194/0.151, allocations: 3.032 MB / 0.4945 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.1511, allocations: 4 kB / 0.4945 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005688/0.1516, allocations: 163.8 kB / 0.4947 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007133/0.1524, allocations: 296.9 kB / 0.495 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.524e-05/0.1524, allocations: 23.98 kB / 0.495 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00415/0.1566, allocations: 3.911 MB / 0.4988 GB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.1566, allocations: 7.938 kB / 0.4988 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1586/0.3152, allocations: 1.585 MB / 0.5004 GB, free: 56.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002099/0.3154, allocations: 147 kB / 0.5005 GB, free: 55.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.3155, allocations: 26.81 kB / 0.5005 GB, free: 55.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004701/0.316, allocations: 41.48 kB / 0.5006 GB, free: 55.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002057/0.3162, allocations: 82.92 kB / 0.5006 GB, free: 55.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.99e-05/0.3163, allocations: 42.05 kB / 0.5007 GB, free: 55.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003095/0.3166, allocations: 258.1 kB / 0.5009 GB, free: 55.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3166, allocations: 0.75 kB / 0.5009 GB, free: 55.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009803/0.3176, allocations: 306 kB / 0.5012 GB, free: 55.86 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.002356/0.32, allocations: 2.154 MB / 0.5033 GB, free: 55.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00254/0.3225, allocations: 1.677 MB / 0.505 GB, free: 54.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3226, allocations: 1.281 kB / 0.505 GB, free: 54.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.3236, allocations: 0.8463 MB / 0.5058 GB, free: 54.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006367/0.3243, allocations: 102.7 kB / 0.5059 GB, free: 54.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009195/0.3335, allocations: 7.95 MB / 0.5137 GB, free: 50 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000557/0.3341, allocations: 1.069 MB / 0.5147 GB, free: 49.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004482/0.3345, allocations: 182.6 kB / 0.5149 GB, free: 49.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003186/0.3349, allocations: 256.7 kB / 0.5151 GB, free: 49.07 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3349, allocations: 1.031 kB / 0.5151 GB, free: 49.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05076/0.3856, allocations: 16.14 MB / 0.5309 GB, free: 40.16 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001545/0.3858, allocations: 229.6 kB / 0.5311 GB, free: 39.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.98/2.366, allocations: 7.328 kB / 0.5311 GB, free: 39.9 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)