Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_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.521/1.521, allocations: 249.3 MB / 261.8 MB, free: 5.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 182.3 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205.2 MB / 0.572 GB, free: 10.71 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.0008818/0.0008819, allocations: 89.28 kB / 0.6764 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.545e-05/3.556e-05, allocations: 7.984 kB / 0.7881 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2363, allocations: 106.3 MB / 0.8919 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8688/1.105, allocations: 164.5 MB / 1.053 GB, free: 3.938 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003496/1.106, allocations: 93.44 kB / 1.053 GB, free: 3.887 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.4488/1.554, allocations: 181.6 MB / 1.23 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.575e-06/1.554, allocations: 0 / 1.23 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0005508/1.555, allocations: 124 kB / 1.23 GB, free: 2.77 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01712/1.572, allocations: 4.155 MB / 1.234 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/1.572, allocations: 12.03 kB / 1.234 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00451/1.577, allocations: 0.706 MB / 1.235 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008381/1.585, allocations: 1.005 MB / 1.236 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01147/1.597, allocations: 3.214 MB / 1.239 GB, free: 9.539 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00058/1.597, allocations: 365.7 kB / 1.239 GB, free: 9.18 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003088/1.6, allocations: 472 kB / 1.24 GB, free: 8.719 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0266/1.627, allocations: 7.414 MB / 1.247 GB, free: 0.8281 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003151/1.627, allocations: 31.72 kB / 1.247 GB, free: 0.7969 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002458/1.63, allocations: 212 kB / 1.247 GB, free: 0.5898 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000461/1.63, allocations: 269.1 kB / 1.247 GB, free: 332 kB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01605/1.646, allocations: 5.307 MB / 1.253 GB, free: 11 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7376/2.384, allocations: 36.25 MB / 1.288 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004662/2.389, allocations: 2.115 MB / 1.29 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002463/2.391, allocations: 1.458 MB / 1.292 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/2.392, allocations: 16.73 kB / 1.292 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.987e-05/2.392, allocations: 55.94 kB / 1.292 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=157): time 4.629e-06/2.392, allocations: 0 / 1.292 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=160): time 0.01149/2.403, allocations: 4.975 MB / 1.296 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/2.403, allocations: 69.3 kB / 1.297 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003411/2.407, allocations: 1.542 MB / 1.298 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003953/2.407, allocations: 55.73 kB / 1.298 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001819/2.409, allocations: 2.103 MB / 1.3 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008161/2.41, allocations: 0.5559 MB / 1.301 GB, free: 183.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/2.41, allocations: 41.66 kB / 1.301 GB, free: 183.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001957/2.41, allocations: 389.8 kB / 1.301 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/2.412, allocations: 0.9911 MB / 1.302 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002128/2.414, allocations: 1.713 MB / 1.304 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002293/2.416, allocations: 1.289 MB / 1.305 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.77e-05/2.416, allocations: 7.25 kB / 1.305 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.007924/2.424, allocations: 3.774 MB / 1.309 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.067e-05/2.424, allocations: 13.81 kB / 1.309 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.336e-05/2.424, allocations: 23.5 kB / 1.309 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002675/2.427, allocations: 0.9102 MB / 1.31 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001991/2.429, allocations: 416.6 kB / 1.31 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01943/2.449, allocations: 21 MB / 1.331 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002754/2.451, allocations: 121.1 kB / 1.331 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003791/2.452, allocations: 94.75 kB / 1.331 GB, free: 166.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 203 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005474/2.452, allocations: 238.8 kB / 1.331 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007716/2.453, allocations: 255.3 kB / 1.331 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00609/2.459, allocations: 3.232 MB / 1.334 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/2.459, allocations: 16.84 kB / 1.334 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.935e-05/2.459, allocations: 18.17 kB / 1.334 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/2.459, allocations: 5.906 kB / 1.334 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01374/2.473, allocations: 7.48 MB / 1.342 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/2.473, allocations: 3.938 kB / 1.342 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009209/2.474, allocations: 216.3 kB / 1.342 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002026/2.476, allocations: 0.8756 MB / 1.343 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/2.476, allocations: 35.36 kB / 1.343 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01602/2.492, allocations: 20.96 MB / 1.363 GB, free: 150 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/2.492, allocations: 10.31 kB / 1.363 GB, free: 150 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006022/2.498, allocations: 3.67 MB / 1.367 GB, free: 149 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001531/2.5, allocations: 0.527 MB / 1.367 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004069/2.5, allocations: 36.34 kB / 1.367 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/2.501, allocations: 88.64 kB / 1.367 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000416/2.502, allocations: 143.7 kB / 1.368 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/2.502, allocations: 45.62 kB / 1.368 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001603/2.504, allocations: 1.16 MB / 1.369 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.31e-07/2.504, allocations: 0 / 1.369 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004164/2.508, allocations: 0.9355 MB / 1.37 GB, free: 148.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(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.005711/2.514, allocations: 5.391 MB / 1.375 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.006049/2.52, allocations: 4.282 MB / 1.379 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/2.52, allocations: 3.125 kB / 1.379 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003829/2.524, allocations: 2.952 MB / 1.382 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004178/2.528, allocations: 0.717 MB / 1.383 GB, free: 141 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01731/2.545, allocations: 7.186 MB / 1.39 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003276/2.548, allocations: 3.289 MB / 1.393 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002219/2.551, allocations: 0.5164 MB / 1.393 GB, free: 137 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001826/2.553, allocations: 1.676 MB / 1.395 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.513e-06/2.553, allocations: 3.75 kB / 1.395 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1111/2.664, allocations: 68.2 MB / 1.462 GB, free: 122 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/2.664, allocations: 219.3 kB / 1.462 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.116/6.78, allocations: 0 / 1.462 GB, free: 121.7 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)