Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.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.ExampleWithFMUs.MVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork",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.001824/0.001824, allocations: 181 kB / 15.8 MB, free: 6.336 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.49/1.49, allocations: 223.2 MB / 239.7 MB, free: 64 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001259, allocations: 98.67 kB / 290.9 MB, free: 4.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05875/0.05875, allocations: 8.103 MB / 350.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.000343, allocations: 11.98 kB / 413.2 MB, free: 5.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2615, allocations: 52.52 MB / 465.7 MB, free: 69.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09575/0.3573, allocations: 80.94 MB / 0.5338 GB, free: 4.578 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/0.3577, allocations: 71.97 kB / 0.5339 GB, free: 4.508 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04849/0.4062, allocations: 18.41 MB / 0.5519 GB, free: 1.863 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4062, allocations: 0 / 0.5519 GB, free: 1.863 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.586e-05/0.4063, allocations: 21.69 kB / 0.5519 GB, free: 1.844 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.004183/0.4105, allocations: 1.244 MB / 0.5531 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.4105, allocations: 12.03 kB / 0.5531 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002141/0.4107, allocations: 78.53 kB / 0.5532 GB, free: 460 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002208/0.411, allocations: 67.25 kB / 0.5533 GB, free: 392 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2498/0.6608, allocations: 459.3 kB / 0.5537 GB, free: 83.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.431e-05/0.6609, allocations: 31.59 kB / 0.5537 GB, free: 83.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002917/0.6612, allocations: 44.44 kB / 0.5538 GB, free: 83.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00224/0.6635, allocations: 0.712 MB / 0.5545 GB, free: 83.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.6635, allocations: 0 / 0.5545 GB, free: 83.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/0.6636, allocations: 18.73 kB / 0.5545 GB, free: 83.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.243e-05/0.6637, allocations: 12.19 kB / 0.5545 GB, free: 83.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001699/0.6654, allocations: 0.6584 MB / 0.5551 GB, free: 83.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005919/0.6713, allocations: 3.057 MB / 0.5581 GB, free: 81.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/0.6733, allocations: 1.084 MB / 0.5592 GB, free: 81.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002321/0.6735, allocations: 97.53 kB / 0.5593 GB, free: 81.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/0.6736, allocations: 45.72 kB / 0.5593 GB, free: 81.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=73): time 3.527e-06/0.6736, allocations: 0 / 0.5593 GB, free: 81.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=73): time 0.01223/0.6858, allocations: 3.136 MB / 0.5624 GB, free: 80.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.6859, allocations: 113.7 kB / 0.5625 GB, free: 80.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005262/0.6865, allocations: 350.7 kB / 0.5628 GB, free: 80.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000142/0.6866, allocations: 42.86 kB / 0.5629 GB, free: 80.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.6868, allocations: 220.5 kB / 0.5631 GB, free: 80.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002099/0.687, allocations: 247.1 kB / 0.5633 GB, free: 80.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/0.687, allocations: 15.41 kB / 0.5633 GB, free: 80.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.023e-05/0.6871, allocations: 358.1 kB / 0.5637 GB, free: 80.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005234/0.6877, allocations: 385.7 kB / 0.564 GB, free: 80.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005841/0.6883, allocations: 428.8 kB / 0.5645 GB, free: 80.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005864/0.6888, allocations: 418.3 kB / 0.5649 GB, free: 79.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.6889, allocations: 0 / 0.5649 GB, free: 79.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.004835/0.6937, allocations: 1.789 MB / 0.5666 GB, free: 79.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.6938, allocations: 3.531 kB / 0.5666 GB, free: 79.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.6938, allocations: 4 kB / 0.5666 GB, free: 79.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005115/0.6989, allocations: 1.237 MB / 0.5678 GB, free: 79.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004366/0.6994, allocations: 80.75 kB / 0.5679 GB, free: 79.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009606/0.709, allocations: 5.871 MB / 0.5736 GB, free: 75.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006712/0.7097, allocations: 54.97 kB / 0.5737 GB, free: 75.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-05/0.7098, allocations: 19.59 kB / 0.5737 GB, free: 75.38 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 (47): * Single equations (assignments): 46 * 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 {10 20} Notification: Performance of prepare postOptimizeDAE: time 0.0002921/0.7101, allocations: 184.2 kB / 0.5739 GB, free: 75.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.7102, allocations: 57.62 kB / 0.5739 GB, free: 75.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005045/0.7153, allocations: 1.964 MB / 0.5758 GB, free: 74.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.7153, allocations: 12.02 kB / 0.5759 GB, free: 74.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.7153, allocations: 0 / 0.5759 GB, free: 74.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.7153, allocations: 3.609 kB / 0.5759 GB, free: 74.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005739/0.7211, allocations: 2.951 MB / 0.5787 GB, free: 73.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.7211, allocations: 0 / 0.5787 GB, free: 73.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003262/0.7215, allocations: 97.23 kB / 0.5788 GB, free: 73.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004785/0.7263, allocations: 1.127 MB / 0.5799 GB, free: 72.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.517e-05/0.7264, allocations: 15.8 kB / 0.5799 GB, free: 72.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009083/0.7355, allocations: 5.827 MB / 0.5856 GB, free: 66.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.7355, allocations: 10.25 kB / 0.5856 GB, free: 66.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004805/0.7403, allocations: 1.922 MB / 0.5875 GB, free: 65.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001867/0.7405, allocations: 149.2 kB / 0.5877 GB, free: 65.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.7407, allocations: 23.31 kB / 0.5877 GB, free: 65.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006102/0.7413, allocations: 51.36 kB / 0.5877 GB, free: 65.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/0.7415, allocations: 61.66 kB / 0.5878 GB, free: 65.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.518e-05/0.7415, allocations: 23.84 kB / 0.5878 GB, free: 65.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003244/0.7419, allocations: 291.7 kB / 0.5881 GB, free: 64.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 3e-07/0.7419, allocations: 0 / 0.5881 GB, free: 64.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008653/0.7428, allocations: 277 kB / 0.5884 GB, free: 64.55 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 (56): * Single equations (assignments): 55 * 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 {10 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.00528/0.748, allocations: 2.511 MB / 0.5908 GB, free: 62.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00302/0.7512, allocations: 1.403 MB / 0.5922 GB, free: 60.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.7512, allocations: 0 / 0.5922 GB, free: 60.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002245/0.7534, allocations: 0.9691 MB / 0.5931 GB, free: 59.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005479/0.754, allocations: 55.67 kB / 0.5932 GB, free: 59.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008457/0.7625, allocations: 4.691 MB / 0.5978 GB, free: 55.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.7628, allocations: 0.8935 MB / 0.5986 GB, free: 54.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002952/0.7631, allocations: 79.31 kB / 0.5987 GB, free: 54.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002257/0.7633, allocations: 199.3 kB / 0.5989 GB, free: 53.96 MB / 378.7 MB Notification: Performance of SimCode: time 1.001e-06/0.7634, allocations: 0 / 0.5989 GB, free: 53.96 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03331/0.7967, allocations: 22.25 MB / 0.6206 GB, free: 31.98 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001331/0.7968, allocations: 198.5 kB / 0.6208 GB, free: 31.74 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.277/3.073, allocations: 0 / 0.6208 GB, free: 31.74 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe 2>&1)