Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.514/2.514, allocations: 287.3 MB / 302.3 MB, free: 8.348 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.001522/0.001522, allocations: 183.3 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.252/2.252, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001666/0.001666, allocations: 85.3 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004758/0.0004758, allocations: 11.89 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2106, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.066/1.277, allocations: 209.4 MB / 1.183 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004208/1.277, allocations: 101.2 kB / 1.183 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.3678/1.645, allocations: 85.72 MB / 1.267 GB, free: 12.13 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.255e-06/1.645, allocations: 0 / 1.267 GB, free: 12.13 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002604/1.645, allocations: 51.86 kB / 1.267 GB, free: 12.08 MB / 0.7917 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.007246/1.653, allocations: 1.859 MB / 1.269 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/1.653, allocations: 8.031 kB / 1.269 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001099/1.654, allocations: 202.1 kB / 1.269 GB, free: 9.949 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02123/1.675, allocations: 1.963 MB / 1.271 GB, free: 7.98 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009224/1.684, allocations: 2.09 MB / 1.273 GB, free: 5.832 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/1.685, allocations: 86.31 kB / 1.273 GB, free: 5.746 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007084/1.685, allocations: 116 kB / 1.273 GB, free: 5.633 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01247/1.698, allocations: 2.724 MB / 1.276 GB, free: 2.723 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.4e-05/1.698, allocations: 11.84 kB / 1.276 GB, free: 2.711 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003827/1.698, allocations: 51.98 kB / 1.276 GB, free: 2.66 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001868/1.699, allocations: 94.23 kB / 1.276 GB, free: 2.566 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01604/1.715, allocations: 2.842 MB / 1.278 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02909/1.744, allocations: 10.73 MB / 1.289 GB, free: 4.402 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0139/1.758, allocations: 2.393 MB / 1.291 GB, free: 1.984 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001998/1.758, allocations: 9 kB / 1.291 GB, free: 1.977 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.912e-05/1.758, allocations: 47.52 kB / 1.291 GB, free: 1.922 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=89): time 3.697e-06/1.758, allocations: 0 / 1.291 GB, free: 1.922 MB / 0.8073 GB Notification: Performance of matching and sorting (n=153): time 0.1237/1.882, allocations: 17.33 MB / 1.308 GB, free: 440 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001697/1.882, allocations: 226.9 kB / 1.308 GB, free: 164 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002565/1.885, allocations: 1.02 MB / 1.309 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0004869/1.885, allocations: 53.7 kB / 1.309 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000896/1.886, allocations: 0.7284 MB / 1.31 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009256/1.887, allocations: 0.5159 MB / 1.311 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003156/1.887, allocations: 28 kB / 1.311 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002134/1.888, allocations: 365.9 kB / 1.311 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007118/1.895, allocations: 1.546 MB / 1.313 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00762/1.902, allocations: 1.825 MB / 1.314 GB, free: 9.953 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007674/1.91, allocations: 1.665 MB / 1.316 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.328e-05/1.91, allocations: 4 kB / 1.316 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.02788/1.938, allocations: 5.402 MB / 1.321 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/1.938, allocations: 12.03 kB / 1.321 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/1.938, allocations: 4 kB / 1.321 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01599/1.954, allocations: 2.137 MB / 1.323 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003901/1.958, allocations: 419.3 kB / 1.324 GB, free: 260 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05222/2.01, allocations: 23.3 MB / 1.347 GB, free: 7.891 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005082/2.015, allocations: 327.5 kB / 1.347 GB, free: 7.57 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003758/2.016, allocations: 63.97 kB / 1.347 GB, free: 7.508 MB / 0.8698 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 (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.001618/2.017, allocations: 475.1 kB / 1.347 GB, free: 7.035 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009007/2.018, allocations: 177.9 kB / 1.348 GB, free: 6.859 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02809/2.047, allocations: 5.465 MB / 1.353 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.406e-05/2.047, allocations: 12 kB / 1.353 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-05/2.047, allocations: 20 kB / 1.353 GB, free: 1.316 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.98e-05/2.047, allocations: 7.969 kB / 1.353 GB, free: 1.309 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03472/2.081, allocations: 7.688 MB / 1.36 GB, free: 9.492 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.712e-05/2.081, allocations: 8.328 kB / 1.36 GB, free: 9.484 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003415/2.085, allocations: 367.4 kB / 1.361 GB, free: 9.125 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01532/2.1, allocations: 1.993 MB / 1.363 GB, free: 7.109 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004392/2.101, allocations: 43.97 kB / 1.363 GB, free: 7.066 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04987/2.151, allocations: 22.47 MB / 1.385 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/2.151, allocations: 4.062 kB / 1.385 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02528/2.176, allocations: 5.242 MB / 1.39 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00192/2.178, allocations: 0.5027 MB / 1.39 GB, free: 9.598 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005774/2.179, allocations: 36.31 kB / 1.39 GB, free: 9.562 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004575/2.183, allocations: 331.5 kB / 1.391 GB, free: 9.238 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008156/2.184, allocations: 149 kB / 1.391 GB, free: 9.094 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002774/2.184, allocations: 55.97 kB / 1.391 GB, free: 9.039 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001957/2.186, allocations: 0.7898 MB / 1.392 GB, free: 8.25 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.51e-07/2.186, allocations: 7.875 kB / 1.392 GB, free: 8.242 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003999/2.19, allocations: 0.7265 MB / 1.392 GB, free: 7.516 MB / 0.9167 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 () * Number of clocked 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.02699/2.217, allocations: 6.621 MB / 1.399 GB, free: 0.7656 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.02135/2.239, allocations: 5.202 MB / 1.404 GB, free: 11.46 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/2.239, allocations: 4 kB / 1.404 GB, free: 11.45 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01346/2.252, allocations: 3.402 MB / 1.407 GB, free: 7.945 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004225/2.257, allocations: 0.503 MB / 1.408 GB, free: 7.445 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06655/2.323, allocations: 20.28 MB / 1.428 GB, free: 2.453 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0023/2.325, allocations: 1.604 MB / 1.429 GB, free: 0.8086 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003024/2.329, allocations: 406.6 kB / 1.429 GB, free: 416 kB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.7047/3.033, allocations: 0.6618 MB / 1.43 GB, free: 287.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.923e-06/3.033, allocations: 0 / 1.43 GB, free: 287.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1864/3.22, allocations: 59.19 MB / 1.488 GB, free: 285.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002649/3.22, allocations: 229.5 kB / 1.488 GB, free: 285 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.625/7.845, allocations: 0 / 1.488 GB, free: 285 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)