Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.754/1.754, allocations: 289.9 MB / 297.4 MB, free: 6.406 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.001161/0.001161, allocations: 180.8 kB / 366.7 MB, free: 1.691 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.697/1.697, allocations: 205.3 MB / 0.626 GB, free: 7.191 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.00084/0.0008399, allocations: 81.28 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.227e-05/3.237e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6817/0.6817, allocations: 116.3 MB / 0.9734 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2187/0.9005, allocations: 163.8 MB / 1.133 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003137/0.9009, allocations: 92.47 kB / 1.133 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.08991/0.9908, allocations: 36.76 MB / 1.169 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9908, allocations: 0 / 1.169 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.171e-05/0.9909, allocations: 27.98 kB / 1.169 GB, free: 13.1 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001657/0.9926, allocations: 0.9511 MB / 1.17 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.9926, allocations: 8.031 kB / 1.17 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001496/0.9941, allocations: 250.5 kB / 1.171 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008636/0.995, allocations: 0.5414 MB / 1.171 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.995, allocations: 24 kB / 1.171 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.025e-05/0.9951, allocations: 36 kB / 1.171 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009892/0.9961, allocations: 0.5974 MB / 1.172 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.9975, allocations: 1.023 MB / 1.173 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.9976, allocations: 7.938 kB / 1.173 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.363e-05/0.9976, allocations: 8 kB / 1.173 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-05/0.9977, allocations: 55.59 kB / 1.173 GB, free: 9.375 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005474/1.003, allocations: 5.759 MB / 1.178 GB, free: 3.199 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009397/1.004, allocations: 0.5234 MB / 1.179 GB, free: 2.664 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004034/1.005, allocations: 315.1 kB / 1.179 GB, free: 2.355 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.738e-05/1.005, allocations: 8.422 kB / 1.179 GB, free: 2.348 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/1.005, allocations: 39 kB / 1.179 GB, free: 2.301 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=47): time 3.066e-06/1.005, allocations: 0 / 1.179 GB, free: 2.301 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48): time 0.002212/1.007, allocations: 1.166 MB / 1.18 GB, free: 1.113 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/1.007, allocations: 55.84 kB / 1.18 GB, free: 1.047 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000462/1.007, allocations: 402.1 kB / 1.181 GB, free: 0.6484 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/1.007, allocations: 29.7 kB / 1.181 GB, free: 0.6133 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/1.008, allocations: 406.8 kB / 1.181 GB, free: 216 kB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/1.008, allocations: 161.6 kB / 1.181 GB, free: 52 kB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/1.008, allocations: 4 kB / 1.181 GB, free: 48 kB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001875/1.008, allocations: 370.8 kB / 1.182 GB, free: 15.67 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003449/1.008, allocations: 245.5 kB / 1.182 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004643/1.009, allocations: 446.5 kB / 1.182 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/1.009, allocations: 318 kB / 1.183 GB, free: 14.6 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.009, allocations: 1.5 kB / 1.183 GB, free: 14.6 MB / 0.7917 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001613/1.011, allocations: 0.9659 MB / 1.184 GB, free: 13.61 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/1.011, allocations: 8 kB / 1.184 GB, free: 13.61 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/1.011, allocations: 4 kB / 1.184 GB, free: 13.6 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007907/1.012, allocations: 267.7 kB / 1.184 GB, free: 13.33 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005329/1.012, allocations: 119.8 kB / 1.184 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005984/1.018, allocations: 6.328 MB / 1.19 GB, free: 6.434 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006387/1.019, allocations: 28.03 kB / 1.19 GB, free: 6.406 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.653e-05/1.019, allocations: 24 kB / 1.19 GB, free: 6.383 MB / 0.7917 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 (63): * Single equations (assignments): 59 * 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,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001723/1.019, allocations: 125.2 kB / 1.19 GB, free: 6.258 MB / 0.7917 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00139/1.021, allocations: 0.7872 MB / 1.191 GB, free: 5.449 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.639e-05/1.021, allocations: 63.25 kB / 1.191 GB, free: 5.387 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/1.022, allocations: 0.8292 MB / 1.192 GB, free: 4.535 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/1.022, allocations: 12.03 kB / 1.192 GB, free: 4.523 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/1.022, allocations: 5.781 kB / 1.192 GB, free: 4.52 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/1.022, allocations: 3.984 kB / 1.192 GB, free: 4.516 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002522/1.025, allocations: 1.558 MB / 1.194 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/1.025, allocations: 5.938 kB / 1.194 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/1.025, allocations: 71.83 kB / 1.194 GB, free: 2.809 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000714/1.026, allocations: 251.4 kB / 1.194 GB, free: 2.551 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/1.026, allocations: 3.938 kB / 1.194 GB, free: 2.547 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005574/1.032, allocations: 6.308 MB / 1.2 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/1.032, allocations: 8.062 kB / 1.2 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/1.033, allocations: 0.9937 MB / 1.201 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003053/1.034, allocations: 189.8 kB / 1.201 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.161e-05/1.034, allocations: 4 kB / 1.201 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003585/1.034, allocations: 19.97 kB / 1.201 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.988e-05/1.034, allocations: 43.83 kB / 1.201 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-05/1.034, allocations: 16 kB / 1.201 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0003802/1.034, allocations: 303 kB / 1.202 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.7e-07/1.035, allocations: 4 kB / 1.202 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008659/1.035, allocations: 207.7 kB / 1.202 GB, free: 9.914 MB / 0.8073 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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,(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.001955/1.037, allocations: 1.964 MB / 1.204 GB, free: 7.871 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001874/1.039, allocations: 1.169 MB / 1.205 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.039, allocations: 0 / 1.205 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001187/1.04, allocations: 0.8426 MB / 1.206 GB, free: 5.785 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008618/1.041, allocations: 162.2 kB / 1.206 GB, free: 5.625 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/1.043, allocations: 1.105 MB / 1.207 GB, free: 4.457 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000671/1.044, allocations: 1.024 MB / 1.208 GB, free: 3.402 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0004124/1.045, allocations: 114.9 kB / 1.208 GB, free: 3.289 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003151/1.045, allocations: 251.4 kB / 1.208 GB, free: 3.043 MB / 0.8073 GB Notification: Performance of SimCode: time 2.335e-06/1.045, allocations: 0 / 1.208 GB, free: 3.043 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0395/1.084, allocations: 14.62 MB / 1.223 GB, free: 4.609 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002223/1.085, allocations: 155.6 kB / 1.223 GB, free: 4.418 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.31/3.394, allocations: 0 / 1.223 GB, free: 4.418 MB / 0.823 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)