Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.ACLine_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.783/1.783, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.00171/0.00171, allocations: 188.9 kB / 377.1 MB, free: 1.508 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.892/1.892, allocations: 205.4 MB / 0.6366 GB, free: 8.605 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.001047/0.001047, allocations: 89.56 kB / 0.7509 GB, free: 62.94 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.0003587, allocations: 12 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2839, allocations: 116.3 MB / 0.9884 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7907/1.075, allocations: 165.4 MB / 1.15 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/1.075, allocations: 102.1 kB / 1.15 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.08337/1.158, allocations: 37.46 MB / 1.187 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.866e-06/1.158, allocations: 0 / 1.187 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.205e-05/1.158, allocations: 27.98 kB / 1.187 GB, free: 11.29 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00166/1.16, allocations: 0.942 MB / 1.188 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/1.16, allocations: 16.02 kB / 1.188 GB, free: 10.28 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001575/1.16, allocations: 118.5 kB / 1.188 GB, free: 10.15 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00147/1.162, allocations: 228.8 kB / 1.188 GB, free: 9.93 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/1.163, allocations: 0.5443 MB / 1.188 GB, free: 9.344 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.685e-05/1.163, allocations: 49.3 kB / 1.188 GB, free: 9.297 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/1.163, allocations: 67.42 kB / 1.189 GB, free: 9.234 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/1.165, allocations: 1.091 MB / 1.19 GB, free: 7.992 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.606e-05/1.165, allocations: 4 kB / 1.19 GB, free: 7.988 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.058e-05/1.165, allocations: 31.94 kB / 1.19 GB, free: 7.957 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.423e-05/1.165, allocations: 69.2 kB / 1.19 GB, free: 7.891 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/1.166, allocations: 0.6879 MB / 1.19 GB, free: 7.199 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006059/1.172, allocations: 5.77 MB / 1.196 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008953/1.173, allocations: 0.5934 MB / 1.197 GB, free: 380 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/1.173, allocations: 4 kB / 1.197 GB, free: 376 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/1.173, allocations: 38.56 kB / 1.197 GB, free: 328 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=41): time 1.854e-06/1.173, allocations: 4 kB / 1.197 GB, free: 324 kB / 0.7605 GB Notification: Performance of matching and sorting (n=42): time 0.00417/1.177, allocations: 1.907 MB / 1.198 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/1.177, allocations: 59.41 kB / 1.199 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004581/1.178, allocations: 398 kB / 1.199 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/1.178, allocations: 33.7 kB / 1.199 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/1.178, allocations: 379.2 kB / 1.199 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/1.178, allocations: 157.8 kB / 1.199 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/1.178, allocations: 12 kB / 1.199 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000167/1.178, allocations: 362.8 kB / 1.2 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/1.179, allocations: 229 kB / 1.2 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000469/1.179, allocations: 413.3 kB / 1.2 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004269/1.18, allocations: 290 kB / 1.201 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/1.18, allocations: 7.938 kB / 1.201 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001607/1.181, allocations: 0.9512 MB / 1.202 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/1.181, allocations: 12.69 kB / 1.202 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/1.181, allocations: 8 kB / 1.202 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008665/1.182, allocations: 263.2 kB / 1.202 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/1.183, allocations: 103.8 kB / 1.202 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006388/1.189, allocations: 6.759 MB / 1.209 GB, free: 3.266 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004567/1.189, allocations: 34.47 kB / 1.209 GB, free: 3.234 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.271e-05/1.19, allocations: 20 kB / 1.209 GB, free: 3.215 MB / 0.7761 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 (51): * Single equations (assignments): 47 * 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,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004328/1.19, allocations: 248.3 kB / 1.209 GB, free: 2.965 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.086e-05/1.19, allocations: 55.34 kB / 1.209 GB, free: 2.91 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/1.192, allocations: 0.8299 MB / 1.21 GB, free: 2.059 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/1.192, allocations: 4 kB / 1.21 GB, free: 2.055 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.192, allocations: 4 kB / 1.21 GB, free: 2.051 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/1.192, allocations: 3.984 kB / 1.21 GB, free: 2.047 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002706/1.194, allocations: 1.743 MB / 1.211 GB, free: 196 kB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/1.194, allocations: 0 / 1.211 GB, free: 196 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/1.195, allocations: 51.89 kB / 1.212 GB, free: 144 kB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007945/1.196, allocations: 251.2 kB / 1.212 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/1.196, allocations: 8 kB / 1.212 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005841/1.201, allocations: 6.452 MB / 1.218 GB, free: 8.898 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.201, allocations: 3.938 kB / 1.218 GB, free: 8.895 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/1.203, allocations: 0.9744 MB / 1.219 GB, free: 7.832 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002997/1.203, allocations: 172.4 kB / 1.219 GB, free: 7.645 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.307e-05/1.203, allocations: 11.94 kB / 1.219 GB, free: 7.633 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/1.204, allocations: 19.98 kB / 1.219 GB, free: 7.613 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.284e-05/1.204, allocations: 43.94 kB / 1.219 GB, free: 7.57 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/1.204, allocations: 12 kB / 1.219 GB, free: 7.559 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003606/1.204, allocations: 310.9 kB / 1.22 GB, free: 7.258 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.7e-07/1.204, allocations: 0 / 1.22 GB, free: 7.258 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0008285/1.205, allocations: 192 kB / 1.22 GB, free: 7.07 MB / 0.7917 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 (27): * Single equations (assignments): 23 * 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,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002055/1.207, allocations: 1.955 MB / 1.222 GB, free: 5.031 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001789/1.209, allocations: 1.122 MB / 1.223 GB, free: 3.863 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.209, allocations: 0 / 1.223 GB, free: 3.863 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.00108/1.21, allocations: 0.7996 MB / 1.224 GB, free: 3.012 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008461/1.211, allocations: 188.8 kB / 1.224 GB, free: 2.832 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007348/1.218, allocations: 7.791 MB / 1.231 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006754/1.219, allocations: 1.004 MB / 1.232 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003938/1.219, allocations: 108.2 kB / 1.232 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003203/1.22, allocations: 227.4 kB / 1.233 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of SimCode: time 1.062e-06/1.22, allocations: 0 / 1.233 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03151/1.251, allocations: 14.08 MB / 1.246 GB, free: 11.65 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002406/1.251, allocations: 213.9 kB / 1.247 GB, free: 11.41 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.391/3.642, allocations: 0 / 1.247 GB, free: 11.41 MB / 0.823 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)