Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.741/1.741, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001323/0.001324, allocations: 172.9 kB / 361.4 MB, free: 6.855 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.753/1.753, allocations: 205.3 MB / 0.62 GB, free: 11.65 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.0009224/0.0009224, allocations: 85.56 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.052e-05/2.058e-05, allocations: 4 kB / 0.8518 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6582/0.6582, allocations: 115.3 MB / 0.9645 GB, free: 78.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2498/0.9081, allocations: 206.3 MB / 1.166 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.9083, allocations: 96.59 kB / 1.166 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.2086/1.117, allocations: 83.87 MB / 1.248 GB, free: 8.77 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.714e-06/1.117, allocations: 0 / 1.248 GB, free: 8.77 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001087/1.117, allocations: 43.92 kB / 1.248 GB, free: 8.727 MB / 0.8542 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.003309/1.12, allocations: 1.587 MB / 1.25 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/1.121, allocations: 11.97 kB / 1.25 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01171/1.132, allocations: 1.878 MB / 1.251 GB, free: 5.195 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003126/1.135, allocations: 1.212 MB / 1.253 GB, free: 3.926 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.165e-05/1.135, allocations: 40 kB / 1.253 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003095/1.136, allocations: 71.91 kB / 1.253 GB, free: 3.816 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003219/1.139, allocations: 1.699 MB / 1.254 GB, free: 2.113 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6301/1.769, allocations: 2.052 MB / 1.256 GB, free: 210.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.476e-05/1.769, allocations: 8.734 kB / 1.256 GB, free: 210.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002077/1.769, allocations: 5.656 kB / 1.256 GB, free: 210.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001732/1.77, allocations: 84.73 kB / 1.256 GB, free: 210.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01842/1.788, allocations: 10.43 MB / 1.267 GB, free: 205.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002495/1.791, allocations: 1.66 MB / 1.268 GB, free: 205.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/1.792, allocations: 0.8789 MB / 1.269 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.096e-05/1.792, allocations: 14.3 kB / 1.269 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/1.792, allocations: 41.97 kB / 1.269 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=89): time 4.589e-06/1.792, allocations: 3.469 kB / 1.269 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=131): time 0.01488/1.807, allocations: 5.723 MB / 1.275 GB, free: 204.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.642e-05/1.807, allocations: 226.9 kB / 1.275 GB, free: 204.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/1.808, allocations: 0.7608 MB / 1.276 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000259/1.809, allocations: 27.17 kB / 1.276 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005142/1.809, allocations: 0.7076 MB / 1.276 GB, free: 203.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005064/1.81, allocations: 440.5 kB / 1.277 GB, free: 203.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/1.81, allocations: 0 / 1.277 GB, free: 203.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001199/1.81, allocations: 359 kB / 1.277 GB, free: 203.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/1.811, allocations: 0.929 MB / 1.278 GB, free: 203.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/1.813, allocations: 1.184 MB / 1.279 GB, free: 203.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00203/1.815, allocations: 1.075 MB / 1.28 GB, free: 203.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/1.815, allocations: 2.312 kB / 1.28 GB, free: 203.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.009904/1.825, allocations: 3.617 MB / 1.284 GB, free: 202.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.171e-05/1.825, allocations: 8.703 kB / 1.284 GB, free: 202.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/1.825, allocations: 6.375 kB / 1.284 GB, free: 202.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007207/1.832, allocations: 1.574 MB / 1.285 GB, free: 202.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002527/1.835, allocations: 444.1 kB / 1.286 GB, free: 202.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02568/1.861, allocations: 23.88 MB / 1.309 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003208/1.864, allocations: 295.2 kB / 1.309 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000377/1.864, allocations: 61.59 kB / 1.309 GB, free: 184.7 MB / 0.8542 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 (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004433/1.865, allocations: 134.6 kB / 1.31 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008692/1.873, allocations: 3.41 MB / 1.313 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001013/1.875, allocations: 149.3 kB / 1.313 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01119/1.886, allocations: 3.676 MB / 1.317 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-05/1.886, allocations: 12.72 kB / 1.317 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.551e-05/1.886, allocations: 12.66 kB / 1.317 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.195e-05/1.886, allocations: 8.797 kB / 1.317 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0173/1.903, allocations: 5.949 MB / 1.322 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/1.903, allocations: 2.562 kB / 1.322 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00232/1.906, allocations: 404.8 kB / 1.323 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006607/1.912, allocations: 1.472 MB / 1.324 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003492/1.913, allocations: 16.73 kB / 1.324 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02447/1.937, allocations: 22.92 MB / 1.347 GB, free: 160.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/1.937, allocations: 3.844 kB / 1.347 GB, free: 160.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008629/1.946, allocations: 3.614 MB / 1.35 GB, free: 158.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00134/1.947, allocations: 450.3 kB / 1.351 GB, free: 158.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003103/1.948, allocations: 11.12 kB / 1.351 GB, free: 158.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002623/1.95, allocations: 300 kB / 1.351 GB, free: 158.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005265/1.951, allocations: 127.4 kB / 1.351 GB, free: 158.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/1.951, allocations: 53.89 kB / 1.351 GB, free: 158.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000966/1.952, allocations: 0.5694 MB / 1.352 GB, free: 158.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.71e-07/1.952, allocations: 0 / 1.352 GB, free: 158.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002973/1.955, allocations: 0.5421 MB / 1.352 GB, free: 158.3 MB / 0.8542 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 (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007558/1.962, allocations: 4.953 MB / 1.357 GB, free: 155.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006411/1.969, allocations: 4.155 MB / 1.361 GB, free: 153 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/1.969, allocations: 3.562 kB / 1.361 GB, free: 153 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004515/1.973, allocations: 2.986 MB / 1.364 GB, free: 151.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/1.976, allocations: 429.8 kB / 1.364 GB, free: 151 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006478/1.982, allocations: 3.122 MB / 1.368 GB, free: 149.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/1.984, allocations: 1.51 MB / 1.369 GB, free: 149 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001815/1.985, allocations: 412.6 kB / 1.369 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008106/1.986, allocations: 0.614 MB / 1.37 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of SimCode: time 8.62e-07/1.986, allocations: 0 / 1.37 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07637/2.063, allocations: 46.88 MB / 1.416 GB, free: 123.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001509/2.063, allocations: 161.4 kB / 1.416 GB, free: 123.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.439/5.502, allocations: 0 / 1.416 GB, free: 123.7 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)