Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.776/1.776, allocations: 289.7 MB / 302.2 MB, free: 2.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001269/0.001269, allocations: 180.2 kB / 371.6 MB, free: 3.406 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.773/1.773, allocations: 205.2 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009561/0.0009561, allocations: 93.88 kB / 0.745 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.142e-05/3.144e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2397, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7557/0.9954, allocations: 210.5 MB / 1.185 GB, free: 5.301 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/0.9958, allocations: 94.48 kB / 1.186 GB, free: 5.25 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.2187/1.215, allocations: 85.32 MB / 1.269 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.074e-06/1.215, allocations: 0 / 1.269 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001154/1.215, allocations: 51.86 kB / 1.269 GB, free: 10.56 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003139/1.218, allocations: 1.62 MB / 1.27 GB, free: 8.895 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/1.218, allocations: 12.03 kB / 1.271 GB, free: 8.883 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002713/1.218, allocations: 186.2 kB / 1.271 GB, free: 8.691 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01163/1.23, allocations: 1.96 MB / 1.273 GB, free: 6.727 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006074/1.236, allocations: 2.079 MB / 1.275 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.513e-05/1.236, allocations: 86.31 kB / 1.275 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003231/1.236, allocations: 119.9 kB / 1.275 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003488/1.24, allocations: 2.229 MB / 1.277 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.524e-05/1.24, allocations: 7.938 kB / 1.277 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001804/1.24, allocations: 51.98 kB / 1.277 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001024/1.24, allocations: 90.28 kB / 1.277 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002979/1.243, allocations: 1.867 MB / 1.279 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01535/1.259, allocations: 10.72 MB / 1.289 GB, free: 4.668 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002426/1.261, allocations: 1.5 MB / 1.291 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001192/1.262, allocations: 0.894 MB / 1.292 GB, free: 2.242 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.595e-05/1.262, allocations: 8.781 kB / 1.292 GB, free: 2.234 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/1.262, allocations: 51.28 kB / 1.292 GB, free: 2.176 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=89): time 3.276e-06/1.262, allocations: 0 / 1.292 GB, free: 2.176 MB / 0.8542 GB Notification: Performance of matching and sorting (n=153): time 0.04949/1.312, allocations: 13.68 MB / 1.305 GB, free: 4.441 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001731/1.312, allocations: 226.9 kB / 1.305 GB, free: 4.172 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001908/1.314, allocations: 1.003 MB / 1.306 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003387/1.314, allocations: 53.7 kB / 1.306 GB, free: 3.102 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005986/1.315, allocations: 0.7361 MB / 1.307 GB, free: 2.359 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005576/1.316, allocations: 0.512 MB / 1.308 GB, free: 1.84 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/1.316, allocations: 32 kB / 1.308 GB, free: 1.809 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001661/1.316, allocations: 365.9 kB / 1.308 GB, free: 1.445 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001664/1.318, allocations: 1.125 MB / 1.309 GB, free: 328 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/1.32, allocations: 1.408 MB / 1.311 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001898/1.322, allocations: 1.25 MB / 1.312 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/1.322, allocations: 0 / 1.312 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01075/1.332, allocations: 4.575 MB / 1.316 GB, free: 8.949 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/1.332, allocations: 9.406 kB / 1.316 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/1.332, allocations: 8.75 kB / 1.316 GB, free: 8.934 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008683/1.341, allocations: 2.126 MB / 1.318 GB, free: 6.781 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002097/1.343, allocations: 419.3 kB / 1.319 GB, free: 6.371 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02756/1.371, allocations: 22.5 MB / 1.341 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002864/1.374, allocations: 327.5 kB / 1.341 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001856/1.374, allocations: 63.97 kB / 1.341 GB, free: 14.43 MB / 0.9167 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003631/1.374, allocations: 189.9 kB / 1.341 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004265/1.375, allocations: 181.9 kB / 1.341 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01059/1.385, allocations: 4.653 MB / 1.346 GB, free: 9.363 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/1.385, allocations: 16.09 kB / 1.346 GB, free: 9.348 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-05/1.385, allocations: 23.94 kB / 1.346 GB, free: 9.324 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-05/1.385, allocations: 11.92 kB / 1.346 GB, free: 9.312 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01399/1.399, allocations: 6.867 MB / 1.353 GB, free: 2.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/1.399, allocations: 4 kB / 1.353 GB, free: 2.316 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001858/1.401, allocations: 367.7 kB / 1.353 GB, free: 1.957 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007902/1.409, allocations: 1.979 MB / 1.355 GB, free: 15.95 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000242/1.41, allocations: 43.95 kB / 1.355 GB, free: 15.91 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02671/1.436, allocations: 21.67 MB / 1.376 GB, free: 9.184 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.436, allocations: 7.938 kB / 1.376 GB, free: 9.176 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01037/1.447, allocations: 4.415 MB / 1.38 GB, free: 4.598 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/1.448, allocations: 0.5105 MB / 1.381 GB, free: 4.066 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000317/1.448, allocations: 32 kB / 1.381 GB, free: 4.035 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002446/1.451, allocations: 327.5 kB / 1.381 GB, free: 3.715 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005672/1.451, allocations: 153 kB / 1.381 GB, free: 3.566 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001567/1.452, allocations: 51.97 kB / 1.382 GB, free: 3.516 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001232/1.453, allocations: 0.7729 MB / 1.382 GB, free: 2.742 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.8e-07/1.453, allocations: 0 / 1.382 GB, free: 2.742 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002655/1.455, allocations: 0.7303 MB / 1.383 GB, free: 2.012 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.6128/2.068, allocations: 5.791 MB / 1.389 GB, free: 229.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007366/2.076, allocations: 4.339 MB / 1.393 GB, free: 228.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/2.076, allocations: 2.688 kB / 1.393 GB, free: 228.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005122/2.081, allocations: 2.96 MB / 1.396 GB, free: 227.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002584/2.083, allocations: 0.4919 MB / 1.396 GB, free: 227.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008578/2.092, allocations: 3.575 MB / 1.4 GB, free: 226.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001851/2.094, allocations: 1.603 MB / 1.401 GB, free: 226 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002113/2.096, allocations: 405.8 kB / 1.402 GB, free: 226 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/2.097, allocations: 0.6691 MB / 1.402 GB, free: 226 MB / 0.948 GB Notification: Performance of SimCode: time 1.513e-06/2.097, allocations: 0 / 1.402 GB, free: 226 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09496/2.192, allocations: 59.01 MB / 1.46 GB, free: 223.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001436/2.192, allocations: 202.6 kB / 1.46 GB, free: 223.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.681/5.873, allocations: 0 / 1.46 GB, free: 223.3 MB / 0.948 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)