Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.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.MVLVNetworkWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses",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.0013/0.0013, allocations: 179.7 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.388/1.388, allocations: 223.2 MB / 239.7 MB, free: 72 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.001098/0.001098, allocations: 96.73 kB / 290.9 MB, free: 4.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05031/0.05031, allocations: 8.11 MB / 350.1 MB, free: 4.848 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003518, allocations: 8 kB / 413.2 MB, free: 5.707 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2686, allocations: 52.52 MB / 465.7 MB, free: 69.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.108/0.3766, allocations: 81.62 MB / 0.5345 GB, free: 3.898 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.3769, allocations: 79.89 kB / 0.5346 GB, free: 3.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05054/0.4275, allocations: 19.55 MB / 0.5537 GB, free: 24 kB / 378.7 MB Notification: Performance of FrontEnd: time 4.448e-06/0.4276, allocations: 4 kB / 0.5537 GB, free: 20 kB / 378.7 MB Notification: Performance of Transformations before backend: time 6.504e-05/0.4276, allocations: 12 kB / 0.5537 GB, free: 8 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.233/0.6607, allocations: 1.273 MB / 0.5549 GB, free: 82.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.6607, allocations: 9.406 kB / 0.5549 GB, free: 82.5 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001731/0.6609, allocations: 91.36 kB / 0.555 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.6611, allocations: 68.84 kB / 0.5551 GB, free: 82.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000685/0.6618, allocations: 464.6 kB / 0.5555 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/0.6618, allocations: 37.81 kB / 0.5556 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.895e-05/0.6619, allocations: 45.12 kB / 0.5556 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.663, allocations: 0.7598 MB / 0.5563 GB, free: 82.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.6631, allocations: 0 / 0.5563 GB, free: 82.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.609e-05/0.6631, allocations: 26.86 kB / 0.5564 GB, free: 82.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.6632, allocations: 13.09 kB / 0.5564 GB, free: 82.13 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009545/0.6641, allocations: 0.6812 MB / 0.5571 GB, free: 82.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004129/0.6682, allocations: 3.175 MB / 0.5602 GB, free: 80.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.6695, allocations: 1.29 MB / 0.5614 GB, free: 80.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000158/0.6697, allocations: 100.7 kB / 0.5615 GB, free: 79.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.6697, allocations: 41.81 kB / 0.5615 GB, free: 79.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=73): time 2.405e-06/0.6697, allocations: 3.875 kB / 0.5615 GB, free: 79.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=73): time 0.01192/0.6817, allocations: 3.298 MB / 0.5648 GB, free: 79.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.6817, allocations: 117.4 kB / 0.5649 GB, free: 79.58 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000363/0.6821, allocations: 348.6 kB / 0.5652 GB, free: 79.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.104e-05/0.6822, allocations: 40.27 kB / 0.5653 GB, free: 79.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.6823, allocations: 246.1 kB / 0.5655 GB, free: 79.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.6824, allocations: 249.6 kB / 0.5657 GB, free: 79.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.6825, allocations: 9.188 kB / 0.5657 GB, free: 79.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.619e-05/0.6825, allocations: 365 kB / 0.5661 GB, free: 78.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004366/0.683, allocations: 360.1 kB / 0.5664 GB, free: 78.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000461/0.6834, allocations: 415.3 kB / 0.5668 GB, free: 78.81 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004871/0.6839, allocations: 401.2 kB / 0.5672 GB, free: 78.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.684, allocations: 0 / 0.5672 GB, free: 78.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.004402/0.6884, allocations: 1.743 MB / 0.5689 GB, free: 77.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.6884, allocations: 4.875 kB / 0.5689 GB, free: 77.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.6884, allocations: 0 / 0.5689 GB, free: 77.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004725/0.6931, allocations: 1.229 MB / 0.5701 GB, free: 77.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/0.6935, allocations: 81.25 kB / 0.5702 GB, free: 77.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008524/0.702, allocations: 5.56 MB / 0.5756 GB, free: 74.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005964/0.7026, allocations: 50.38 kB / 0.5757 GB, free: 74.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.633e-05/0.7027, allocations: 21.95 kB / 0.5757 GB, free: 74.32 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.0002706/0.703, allocations: 189.8 kB / 0.5759 GB, free: 74.15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.7031, allocations: 59.22 kB / 0.5759 GB, free: 74.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004837/0.7079, allocations: 1.908 MB / 0.5778 GB, free: 73.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.7079, allocations: 12.16 kB / 0.5778 GB, free: 73.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.7079, allocations: 1.312 kB / 0.5778 GB, free: 73.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.708, allocations: 3.75 kB / 0.5778 GB, free: 73.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005498/0.7135, allocations: 2.9 MB / 0.5806 GB, free: 71.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.7135, allocations: 0 / 0.5806 GB, free: 71.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003035/0.7138, allocations: 90.52 kB / 0.5807 GB, free: 71.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004539/0.7183, allocations: 1.117 MB / 0.5818 GB, free: 70.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-05/0.7184, allocations: 19.42 kB / 0.5818 GB, free: 70.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008192/0.7266, allocations: 5.505 MB / 0.5872 GB, free: 65.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7266, allocations: 0 / 0.5872 GB, free: 65.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004512/0.7312, allocations: 1.89 MB / 0.5891 GB, free: 64.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.7313, allocations: 144 kB / 0.5892 GB, free: 64.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.814e-05/0.7314, allocations: 16 kB / 0.5892 GB, free: 64.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005405/0.732, allocations: 59.42 kB / 0.5893 GB, free: 64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.7321, allocations: 66.69 kB / 0.5893 GB, free: 63.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-05/0.7322, allocations: 23.66 kB / 0.5894 GB, free: 63.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002689/0.7325, allocations: 289.1 kB / 0.5896 GB, free: 63.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7325, allocations: 3.938 kB / 0.5896 GB, free: 63.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007929/0.7333, allocations: 287.8 kB / 0.5899 GB, free: 63.41 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 (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 {10 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.004739/0.738, allocations: 2.475 MB / 0.5923 GB, free: 60.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002653/0.7407, allocations: 1.357 MB / 0.5936 GB, free: 59.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.7407, allocations: 0 / 0.5936 GB, free: 59.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001986/0.7427, allocations: 0.9456 MB / 0.5946 GB, free: 58.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.7431, allocations: 53.55 kB / 0.5946 GB, free: 58.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007723/0.7508, allocations: 4.661 MB / 0.5992 GB, free: 53.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.7511, allocations: 0.9045 MB / 0.6001 GB, free: 52.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002612/0.7514, allocations: 74.52 kB / 0.6001 GB, free: 52.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.7516, allocations: 211.3 kB / 0.6003 GB, free: 52.7 MB / 378.7 MB Notification: Performance of SimCode: time 5.07e-06/0.7516, allocations: 0 / 0.6003 GB, free: 52.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03092/0.7825, allocations: 21.57 MB / 0.6214 GB, free: 31.43 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001325/0.7827, allocations: 215.6 kB / 0.6216 GB, free: 31.19 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.252/3.034, allocations: 0 / 0.6216 GB, free: 31.19 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe 2>&1)