Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.487/1.487, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 178.5 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.226/2.226, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008853/0.0008853, allocations: 92.19 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003246, allocations: 9.094 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2347, allocations: 106.3 MB / 0.9002 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1999/0.4346, allocations: 157.3 MB / 1.054 GB, free: 2.25 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/0.435, allocations: 95.94 kB / 1.054 GB, free: 2.156 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5759/1.011, allocations: 37.14 MB / 1.09 GB, free: 143.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.485e-06/1.011, allocations: 0 / 1.09 GB, free: 143.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.566e-05/1.011, allocations: 24 kB / 1.09 GB, free: 143.6 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002599/1.014, allocations: 1.037 MB / 1.091 GB, free: 142.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/1.014, allocations: 8.031 kB / 1.091 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003717/1.014, allocations: 130.5 kB / 1.091 GB, free: 142.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001745/1.016, allocations: 250.6 kB / 1.092 GB, free: 142.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/1.017, allocations: 0.5354 MB / 1.092 GB, free: 141.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.097e-05/1.017, allocations: 53.98 kB / 1.092 GB, free: 141.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/1.017, allocations: 67.98 kB / 1.092 GB, free: 141.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/1.019, allocations: 1.131 MB / 1.093 GB, free: 140.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/1.019, allocations: 4 kB / 1.093 GB, free: 140.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.518e-05/1.019, allocations: 36 kB / 1.093 GB, free: 140.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.944e-05/1.019, allocations: 61.2 kB / 1.093 GB, free: 140 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/1.02, allocations: 0.7464 MB / 1.094 GB, free: 139.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004894/1.025, allocations: 5.905 MB / 1.1 GB, free: 132.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008888/1.026, allocations: 0.5622 MB / 1.1 GB, free: 132.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.825e-05/1.026, allocations: 4.438 kB / 1.1 GB, free: 132.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/1.026, allocations: 42.94 kB / 1.1 GB, free: 132.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 4.198e-06/1.026, allocations: 4 kB / 1.1 GB, free: 132.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.003513/1.029, allocations: 1.98 MB / 1.102 GB, free: 130.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/1.029, allocations: 55.84 kB / 1.102 GB, free: 130.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005323/1.03, allocations: 495.3 kB / 1.103 GB, free: 129.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/1.03, allocations: 41.7 kB / 1.103 GB, free: 129.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/1.03, allocations: 411 kB / 1.103 GB, free: 129.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/1.03, allocations: 169.6 kB / 1.104 GB, free: 129.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/1.03, allocations: 12 kB / 1.104 GB, free: 129 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.21e-05/1.031, allocations: 374.8 kB / 1.104 GB, free: 128.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/1.031, allocations: 273.1 kB / 1.104 GB, free: 128.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004118/1.031, allocations: 458.8 kB / 1.105 GB, free: 127.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004463/1.032, allocations: 346 kB / 1.105 GB, free: 127.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.032, allocations: 4 kB / 1.105 GB, free: 127.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001545/1.033, allocations: 1.044 MB / 1.106 GB, free: 126.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/1.033, allocations: 8 kB / 1.106 GB, free: 126.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/1.033, allocations: 8.75 kB / 1.106 GB, free: 126.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007809/1.034, allocations: 279.1 kB / 1.106 GB, free: 126.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004434/1.035, allocations: 119.8 kB / 1.106 GB, free: 126.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004805/1.039, allocations: 6.709 MB / 1.113 GB, free: 118.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000675/1.04, allocations: 35.95 kB / 1.113 GB, free: 118.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.598e-05/1.04, allocations: 28 kB / 1.113 GB, free: 118.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (63): * Single equations (assignments): 59 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004187/1.041, allocations: 253.6 kB / 1.113 GB, free: 118.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/1.041, allocations: 75.16 kB / 1.113 GB, free: 118.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/1.042, allocations: 0.8809 MB / 1.114 GB, free: 117.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/1.042, allocations: 4 kB / 1.114 GB, free: 117.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/1.042, allocations: 4 kB / 1.114 GB, free: 117.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/1.042, allocations: 4 kB / 1.114 GB, free: 117.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002404/1.045, allocations: 1.729 MB / 1.116 GB, free: 115.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.045, allocations: 3.938 kB / 1.116 GB, free: 115.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/1.045, allocations: 63.84 kB / 1.116 GB, free: 115.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007128/1.046, allocations: 267.3 kB / 1.116 GB, free: 115.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-05/1.046, allocations: 12 kB / 1.116 GB, free: 115.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004778/1.05, allocations: 6.682 MB / 1.123 GB, free: 108.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.05, allocations: 3.938 kB / 1.123 GB, free: 108.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/1.052, allocations: 1.044 MB / 1.124 GB, free: 107 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004217/1.052, allocations: 200.2 kB / 1.124 GB, free: 106.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/1.052, allocations: 8 kB / 1.124 GB, free: 106.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004047/1.053, allocations: 35.91 kB / 1.124 GB, free: 106.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-05/1.053, allocations: 43.89 kB / 1.124 GB, free: 106.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/1.053, allocations: 12 kB / 1.124 GB, free: 106.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004372/1.053, allocations: 391.1 kB / 1.124 GB, free: 106.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.053, allocations: 0 / 1.124 GB, free: 106.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008962/1.054, allocations: 228 kB / 1.125 GB, free: 106.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001571/1.056, allocations: 2.029 MB / 1.127 GB, free: 104 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00175/1.058, allocations: 1.264 MB / 1.128 GB, free: 102.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.058, allocations: 3.938 kB / 1.128 GB, free: 102.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009922/1.059, allocations: 0.8854 MB / 1.129 GB, free: 101.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009408/1.06, allocations: 195.3 kB / 1.129 GB, free: 101.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006345/1.066, allocations: 8.309 MB / 1.137 GB, free: 93 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004789/1.067, allocations: 1.032 MB / 1.138 GB, free: 91.94 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004566/1.067, allocations: 121.9 kB / 1.138 GB, free: 91.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/1.067, allocations: 251.4 kB / 1.138 GB, free: 91.57 MB / 0.698 GB Notification: Performance of SimCode: time 6.212e-06/1.067, allocations: 0 / 1.138 GB, free: 91.57 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03122/1.099, allocations: 16.37 MB / 1.154 GB, free: 75.51 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001566/1.099, allocations: 227.5 kB / 1.155 GB, free: 75.27 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.376/3.474, allocations: 0 / 1.155 GB, free: 75.27 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)