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_L.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_L,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.468/1.468, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001343/0.001343, allocations: 191.8 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.8/1.8, allocations: 205.4 MB / 0.5775 GB, free: 20.2 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.0008989/0.0008989, allocations: 90.39 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003698, allocations: 12.14 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2333, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6971/0.9305, allocations: 164.6 MB / 1.061 GB, free: 63.38 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/0.9308, allocations: 98.41 kB / 1.061 GB, free: 63.38 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.463/1.394, allocations: 180.5 MB / 1.237 GB, free: 6.086 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.397e-06/1.394, allocations: 3.938 kB / 1.237 GB, free: 6.082 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0006055/1.395, allocations: 123.9 kB / 1.237 GB, free: 5.961 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01759/1.412, allocations: 4.112 MB / 1.241 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/1.412, allocations: 8.031 kB / 1.241 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004165/1.416, allocations: 0.6975 MB / 1.242 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00821/1.425, allocations: 0.9425 MB / 1.243 GB, free: 116 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01069/1.435, allocations: 2.991 MB / 1.246 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005002/1.436, allocations: 349.3 kB / 1.246 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003548/1.439, allocations: 467.9 kB / 1.247 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02778/1.467, allocations: 7.31 MB / 1.254 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006316/1.468, allocations: 23.72 kB / 1.254 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003913/1.472, allocations: 212 kB / 1.254 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007157/1.473, allocations: 277 kB / 1.254 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01632/1.489, allocations: 5.18 MB / 1.259 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05287/1.542, allocations: 35.07 MB / 1.294 GB, free: 8.516 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002892/1.545, allocations: 2.138 MB / 1.296 GB, free: 6.258 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 7.733e-05/1.545, allocations: 13.31 kB / 1.296 GB, free: 6.246 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/1.545, allocations: 55.81 kB / 1.296 GB, free: 6.184 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=133): time 2.835e-06/1.545, allocations: 0 / 1.296 GB, free: 6.184 MB / 0.7917 GB Notification: Performance of matching and sorting (n=136): time 0.01493/1.56, allocations: 7.069 MB / 1.303 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/1.56, allocations: 64.72 kB / 1.303 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/1.562, allocations: 1.268 MB / 1.304 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/1.562, allocations: 49.7 kB / 1.304 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001369/1.564, allocations: 1.984 MB / 1.306 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004469/1.564, allocations: 493 kB / 1.306 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.341e-05/1.564, allocations: 40 kB / 1.306 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001785/1.564, allocations: 385.8 kB / 1.307 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/1.566, allocations: 0.8979 MB / 1.308 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001744/1.567, allocations: 1.551 MB / 1.309 GB, free: 7.73 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001585/1.569, allocations: 1.166 MB / 1.31 GB, free: 6.566 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/1.569, allocations: 4 kB / 1.31 GB, free: 6.562 MB / 0.8073 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.00617/1.575, allocations: 3.495 MB / 1.314 GB, free: 3.02 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.517e-05/1.575, allocations: 12 kB / 1.314 GB, free: 3.008 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-05/1.575, allocations: 27.94 kB / 1.314 GB, free: 2.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002529/1.578, allocations: 0.8963 MB / 1.315 GB, free: 2.047 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/1.579, allocations: 343.4 kB / 1.315 GB, free: 1.711 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02035/1.599, allocations: 21.57 MB / 1.336 GB, free: 10.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001894/1.601, allocations: 99.95 kB / 1.336 GB, free: 10.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/1.601, allocations: 84 kB / 1.336 GB, free: 10.36 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (182): * Single equations (assignments): 170 * 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 {(3,77.8%) 5,(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.004088/1.605, allocations: 1.609 MB / 1.338 GB, free: 8.738 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005669/1.606, allocations: 201.6 kB / 1.338 GB, free: 8.539 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005457/1.612, allocations: 2.982 MB / 1.341 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/1.612, allocations: 12 kB / 1.341 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/1.612, allocations: 12 kB / 1.341 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/1.612, allocations: 7.969 kB / 1.341 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01351/1.625, allocations: 7.255 MB / 1.348 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/1.625, allocations: 7.984 kB / 1.348 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008049/1.626, allocations: 179.7 kB / 1.348 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002391/1.628, allocations: 0.826 MB / 1.349 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/1.629, allocations: 31.89 kB / 1.349 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01994/1.648, allocations: 20.61 MB / 1.369 GB, free: 6.688 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.311e-06/1.649, allocations: 4.312 kB / 1.369 GB, free: 6.684 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006122/1.655, allocations: 3.294 MB / 1.372 GB, free: 3.109 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0016/1.656, allocations: 466.4 kB / 1.373 GB, free: 2.633 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002383/1.657, allocations: 31.94 kB / 1.373 GB, free: 2.602 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008243/1.657, allocations: 71.91 kB / 1.373 GB, free: 2.531 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004123/1.658, allocations: 128.7 kB / 1.373 GB, free: 2.402 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-05/1.658, allocations: 36 kB / 1.373 GB, free: 2.367 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001606/1.659, allocations: 0.96 MB / 1.374 GB, free: 1.383 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.31e-07/1.659, allocations: 0 / 1.374 GB, free: 1.383 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003758/1.663, allocations: 0.8281 MB / 1.375 GB, free: 0.5547 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 79 * 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%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006362/1.67, allocations: 5.054 MB / 1.38 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.006569/1.676, allocations: 3.977 MB / 1.384 GB, free: 7.18 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/1.676, allocations: 4 kB / 1.384 GB, free: 7.176 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004078/1.68, allocations: 2.729 MB / 1.386 GB, free: 4.289 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003413/1.684, allocations: 0.6418 MB / 1.387 GB, free: 3.652 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5721/2.256, allocations: 33.48 MB / 1.42 GB, free: 204.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004816/2.261, allocations: 3.19 MB / 1.423 GB, free: 204.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002056/2.263, allocations: 457 kB / 1.423 GB, free: 204.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002044/2.265, allocations: 1.552 MB / 1.425 GB, free: 204.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.122e-06/2.265, allocations: 0 / 1.425 GB, free: 204.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1005/2.365, allocations: 59.43 MB / 1.483 GB, free: 202.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/2.366, allocations: 227.1 kB / 1.483 GB, free: 202 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.06/6.425, allocations: 8 kB / 1.483 GB, free: 202 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)