Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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) 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) Running command: "" <> buildModelFMU(PowerSysPro.Examples.MediumNetworks.Network,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.MediumNetworks.Network,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002339/0.002339, allocations: 179.2 kB / 15.8 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 223.2 MB / 239.7 MB, free: 1.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009303/0.0009303, allocations: 92.58 kB / 290.9 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05275/0.05275, allocations: 8.106 MB / 350.1 MB, free: 2.699 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000303/0.000303, allocations: 12.16 kB / 413.2 MB, free: 89.64 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09536/0.09568, allocations: 52.53 MB / 465.7 MB, free: 41.95 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4124/0.5081, allocations: 81.18 MB / 0.5341 GB, free: 16.74 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.5084, allocations: 72.27 kB / 0.5341 GB, free: 16.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05196/0.5604, allocations: 21.54 MB / 0.5552 GB, free: 30.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.192e-06/0.5605, allocations: 0 / 0.5552 GB, free: 30.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.823e-05/0.5605, allocations: 18.84 kB / 0.5552 GB, free: 30.48 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.005119/0.5657, allocations: 1.408 MB / 0.5566 GB, free: 29.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.5657, allocations: 10 kB / 0.5566 GB, free: 29.86 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001668/0.5659, allocations: 94.58 kB / 0.5567 GB, free: 29.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001682/0.5661, allocations: 81.56 kB / 0.5567 GB, free: 29.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007345/0.5668, allocations: 0.4986 MB / 0.5572 GB, free: 29.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.5669, allocations: 38.41 kB / 0.5573 GB, free: 29.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.34e-05/0.5669, allocations: 49.19 kB / 0.5573 GB, free: 29.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.5683, allocations: 0.8354 MB / 0.5581 GB, free: 29.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.5683, allocations: 3.938 kB / 0.5581 GB, free: 29.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.215e-05/0.5684, allocations: 21.09 kB / 0.5582 GB, free: 29.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.5684, allocations: 13.09 kB / 0.5582 GB, free: 29.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.5695, allocations: 0.7856 MB / 0.5589 GB, free: 29.42 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004308/0.5738, allocations: 3.56 MB / 0.5624 GB, free: 27.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.5753, allocations: 1.353 MB / 0.5637 GB, free: 27.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001733/0.5755, allocations: 101.2 kB / 0.5638 GB, free: 27.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.5755, allocations: 47.97 kB / 0.5639 GB, free: 27.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=89): time 4.238e-06/0.5756, allocations: 7.922 kB / 0.5639 GB, free: 27.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=89): time 0.01383/0.5894, allocations: 3.866 MB / 0.5677 GB, free: 26.56 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.611e-05/0.5895, allocations: 117 kB / 0.5678 GB, free: 26.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006114/0.5901, allocations: 394.4 kB / 0.5681 GB, free: 26.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.5903, allocations: 40.52 kB / 0.5682 GB, free: 26.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.5905, allocations: 247.3 kB / 0.5684 GB, free: 26.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002298/0.5907, allocations: 302.8 kB / 0.5687 GB, free: 25.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.948e-05/0.5908, allocations: 13.56 kB / 0.5687 GB, free: 25.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.5909, allocations: 373.8 kB / 0.5691 GB, free: 25.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000642/0.5916, allocations: 459.3 kB / 0.5695 GB, free: 25.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006749/0.5922, allocations: 0.5077 MB / 0.57 GB, free: 25.44 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006849/0.5929, allocations: 0.4899 MB / 0.5705 GB, free: 25.42 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.5929, allocations: 1.219 kB / 0.5705 GB, free: 25.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.006152/0.5991, allocations: 2.138 MB / 0.5726 GB, free: 24.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.5992, allocations: 5.625 kB / 0.5726 GB, free: 24.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.5992, allocations: 0 / 0.5726 GB, free: 24.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006153/0.6053, allocations: 1.491 MB / 0.574 GB, free: 24.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004791/0.6058, allocations: 98.44 kB / 0.5741 GB, free: 24.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01194/0.6178, allocations: 6.922 MB / 0.5809 GB, free: 22.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.6189, allocations: 58.58 kB / 0.5809 GB, free: 22.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.03e-05/0.619, allocations: 33.44 kB / 0.581 GB, free: 22.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {12 26} Notification: Performance of prepare postOptimizeDAE: time 0.0004747/0.6195, allocations: 199.3 kB / 0.5812 GB, free: 22.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.6197, allocations: 71.66 kB / 0.5812 GB, free: 22.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006375/0.6261, allocations: 2.338 MB / 0.5835 GB, free: 21.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/0.6261, allocations: 7.75 kB / 0.5835 GB, free: 21.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.6261, allocations: 0 / 0.5835 GB, free: 21.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/0.6262, allocations: 4.094 kB / 0.5835 GB, free: 21.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008123/0.6343, allocations: 3.505 MB / 0.587 GB, free: 18.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.6343, allocations: 0 / 0.587 GB, free: 18.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004108/0.6347, allocations: 108.1 kB / 0.5871 GB, free: 18.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005742/0.6405, allocations: 1.344 MB / 0.5884 GB, free: 18.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.6406, allocations: 23.75 kB / 0.5884 GB, free: 18.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01219/0.6528, allocations: 6.846 MB / 0.5951 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6528, allocations: 0 / 0.5951 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006036/0.6589, allocations: 2.281 MB / 0.5973 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002712/0.6592, allocations: 159.4 kB / 0.5975 GB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.6593, allocations: 15.88 kB / 0.5975 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000755/0.6601, allocations: 62.55 kB / 0.5975 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002177/0.6603, allocations: 79.83 kB / 0.5976 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.577e-05/0.6604, allocations: 31.36 kB / 0.5976 GB, free: 11.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004472/0.6609, allocations: 327.5 kB / 0.598 GB, free: 11.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6609, allocations: 0 / 0.598 GB, free: 11.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00117/0.6621, allocations: 338.1 kB / 0.5983 GB, free: 11.69 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {12 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.006197/0.6683, allocations: 2.865 MB / 0.6011 GB, free: 9.781 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003782/0.6721, allocations: 1.658 MB / 0.6027 GB, free: 8.871 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.6721, allocations: 3.219 kB / 0.6027 GB, free: 8.871 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002769/0.6749, allocations: 1.154 MB / 0.6038 GB, free: 8.207 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006418/0.6755, allocations: 73.58 kB / 0.6039 GB, free: 8.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/0.687, allocations: 5.594 MB / 0.6094 GB, free: 4.707 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004866/0.6875, allocations: 0.933 MB / 0.6103 GB, free: 3.902 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003799/0.6879, allocations: 86.72 kB / 0.6103 GB, free: 3.852 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003323/0.6883, allocations: 245.6 kB / 0.6106 GB, free: 3.648 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6883, allocations: 0 / 0.6106 GB, free: 3.648 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04864/0.7369, allocations: 26.55 MB / 0.6365 GB, free: 10.13 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/0.7371, allocations: 196.7 kB / 0.6367 GB, free: 9.891 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.644/3.381, allocations: 7.938 kB / 0.6367 GB, free: 9.883 MB / 410.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network.fmu > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1)