Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.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.DoubleNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork",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.002024/0.002024, allocations: 179.9 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.476/1.476, allocations: 223.2 MB / 239.7 MB, free: 1.789 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.001234/0.001234, allocations: 99.56 kB / 290.9 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05614/0.05614, allocations: 8.102 MB / 350.1 MB, free: 2.723 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004274/0.0004276, allocations: 10.36 kB / 413.2 MB, free: 89.65 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1159, allocations: 52.52 MB / 465.7 MB, free: 41.97 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3984/0.5143, allocations: 81.65 MB / 0.5345 GB, free: 16.65 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003669/0.5148, allocations: 72.2 kB / 0.5346 GB, free: 16.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08577/0.6006, allocations: 33.44 MB / 0.5672 GB, free: 27.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.145e-06/0.6006, allocations: 0 / 0.5672 GB, free: 27.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.631e-05/0.6007, allocations: 21.81 kB / 0.5673 GB, free: 27.9 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.00691/0.6076, allocations: 2.06 MB / 0.5693 GB, free: 26.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.6077, allocations: 9.5 kB / 0.5693 GB, free: 26.77 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002724/0.6079, allocations: 135 kB / 0.5694 GB, free: 26.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002989/0.6082, allocations: 132.2 kB / 0.5695 GB, free: 26.65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.6095, allocations: 0.7272 MB / 0.5702 GB, free: 26.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.604e-05/0.6096, allocations: 59.78 kB / 0.5703 GB, free: 26.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.6097, allocations: 81.58 kB / 0.5704 GB, free: 26.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002322/0.612, allocations: 1.339 MB / 0.5717 GB, free: 25.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.6121, allocations: 0 / 0.5717 GB, free: 25.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.6122, allocations: 39.34 kB / 0.5717 GB, free: 25.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.037e-05/0.6122, allocations: 20.59 kB / 0.5717 GB, free: 25.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/0.6142, allocations: 1.28 MB / 0.573 GB, free: 25.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007216/0.6214, allocations: 5.595 MB / 0.5785 GB, free: 22.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002493/0.624, allocations: 3.097 MB / 0.5815 GB, free: 20.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002229/0.6242, allocations: 120.8 kB / 0.5816 GB, free: 20.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.6243, allocations: 54.17 kB / 0.5817 GB, free: 20.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=147): time 4.369e-06/0.6243, allocations: 0 / 0.5817 GB, free: 20.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=147): time 0.02788/0.6522, allocations: 7.342 MB / 0.5888 GB, free: 17.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.6523, allocations: 115.7 kB / 0.5889 GB, free: 17.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.6535, allocations: 0.5945 MB / 0.5895 GB, free: 17.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002024/0.6537, allocations: 51.83 kB / 0.5896 GB, free: 17.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002819/0.654, allocations: 346.4 kB / 0.5899 GB, free: 17.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004484/0.6544, allocations: 0.4911 MB / 0.5904 GB, free: 16.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.6545, allocations: 21.41 kB / 0.5904 GB, free: 16.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.6547, allocations: 353.4 kB / 0.5907 GB, free: 16.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.6557, allocations: 0.7222 MB / 0.5914 GB, free: 16.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009618/0.6567, allocations: 0.8055 MB / 0.5922 GB, free: 15.74 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009847/0.6577, allocations: 0.7912 MB / 0.593 GB, free: 15.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6577, allocations: 3.938 kB / 0.593 GB, free: 15.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.009033/0.6668, allocations: 3.432 MB / 0.5964 GB, free: 13.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.046e-05/0.6669, allocations: 3.875 kB / 0.5964 GB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.6669, allocations: 0 / 0.5964 GB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01049/0.6774, allocations: 2.742 MB / 0.599 GB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007975/0.6782, allocations: 150.5 kB / 0.5992 GB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01984/0.6981, allocations: 10.77 MB / 0.6097 GB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.6995, allocations: 86.36 kB / 0.6098 GB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.6997, allocations: 47.06 kB / 0.6098 GB, free: 5 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 (87): * Single equations (assignments): 86 * 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 {20 44} Notification: Performance of prepare postOptimizeDAE: time 0.0005999/0.7003, allocations: 252.6 kB / 0.6101 GB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/0.7005, allocations: 116.9 kB / 0.6102 GB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009703/0.7102, allocations: 3.782 MB / 0.6139 GB, free: 1.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-05/0.7103, allocations: 16 kB / 0.6139 GB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.7103, allocations: 3.953 kB / 0.6139 GB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.606e-05/0.7104, allocations: 11.97 kB / 0.6139 GB, free: 1.699 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01264/0.723, allocations: 5.597 MB / 0.6194 GB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/0.7231, allocations: 3.938 kB / 0.6194 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006767/0.7238, allocations: 179.8 kB / 0.6195 GB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009599/0.7334, allocations: 2.248 MB / 0.6217 GB, free: 9.641 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001894/0.7336, allocations: 39.98 kB / 0.6218 GB, free: 9.602 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02032/0.7539, allocations: 10.59 MB / 0.6321 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.7541, allocations: 3.938 kB / 0.6321 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01034/0.7644, allocations: 3.652 MB / 0.6357 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006211/0.7651, allocations: 211.4 kB / 0.6359 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000249/0.7653, allocations: 24 kB / 0.6359 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.7665, allocations: 107.9 kB / 0.636 GB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005312/0.7671, allocations: 130.3 kB / 0.6361 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/0.7672, allocations: 47.98 kB / 0.6362 GB, free: 10.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007604/0.768, allocations: 495 kB / 0.6367 GB, free: 10.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.768, allocations: 4 kB / 0.6367 GB, free: 10.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001723/0.7697, allocations: 0.527 MB / 0.6372 GB, free: 9.645 MB / 410.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 (106): * Single equations (assignments): 105 * 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 {20 44} Notification: Performance of Backend phase and start with SimCode phase: time 0.01027/0.78, allocations: 4.259 MB / 0.6413 GB, free: 5.359 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006568/0.7866, allocations: 2.645 MB / 0.6439 GB, free: 2.695 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.7867, allocations: 4.656 kB / 0.6439 GB, free: 2.691 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004519/0.7912, allocations: 1.828 MB / 0.6457 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.7923, allocations: 115.4 kB / 0.6458 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01853/0.8108, allocations: 9.08 MB / 0.6547 GB, free: 7.441 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007164/0.8116, allocations: 1.093 MB / 0.6558 GB, free: 6.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007054/0.8123, allocations: 147.5 kB / 0.6559 GB, free: 6.172 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005386/0.8128, allocations: 407.2 kB / 0.6563 GB, free: 5.773 MB / 426.7 MB Notification: Performance of SimCode: time 1.252e-06/0.8128, allocations: 0 / 0.6563 GB, free: 5.773 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2956/1.108, allocations: 43.2 MB / 0.6985 GB, free: 129.9 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/1.109, allocations: 203 kB / 0.6987 GB, free: 129.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.072/4.181, allocations: 0 / 0.6987 GB, free: 129.7 MB / 458.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork.fmu > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1)