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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 105.5 kB / 16.36 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001473/0.001474, allocations: 195.3 kB / 17.3 MB, free: 5.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.803/1.803, allocations: 292.3 MB / 0.5496 GB, free: 17.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 82.84 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2584, allocations: 114.5 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.4093/0.6677, allocations: 6.114 MB / 0.7908 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004103/0.6719, allocations: 3.232 MB / 0.7939 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004034/0.6723, allocations: 31.97 kB / 0.7939 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002049/0.6744, allocations: 0.932 MB / 0.7949 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0009313/0.6753, allocations: 475.6 kB / 0.7953 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.6763, allocations: 0.5002 MB / 0.7958 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008384/0.6772, allocations: 1.094 MB / 0.7969 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007152/0.6779, allocations: 0.6434 MB / 0.7975 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004006/0.6783, allocations: 437.9 kB / 0.7979 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004666/0.6788, allocations: 476.1 kB / 0.7984 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.16e-05/0.6789, allocations: 61.34 kB / 0.7984 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000705/0.6796, allocations: 483.9 kB / 0.7989 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002192/0.6798, allocations: 293.5 kB / 0.7992 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002784/0.6801, allocations: 405.6 kB / 0.7996 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.6812, allocations: 1.177 MB / 0.8007 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.6812, allocations: 0 / 0.8007 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6812, allocations: 0 / 0.8007 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.6812, allocations: 1.438 kB / 0.8007 GB, free: 43.17 MB / 0.6544 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.001433/0.6826, allocations: 1.06 MB / 0.8017 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.6827, allocations: 9.297 kB / 0.8018 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001504/0.6842, allocations: 227.6 kB / 0.802 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008388/0.6851, allocations: 0.5974 MB / 0.8026 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.607e-05/0.6851, allocations: 46.39 kB / 0.8026 GB, free: 41.94 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.6852, allocations: 61.59 kB / 0.8027 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.6866, allocations: 1.03 MB / 0.8037 GB, free: 41.31 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/0.6866, allocations: 11.56 kB / 0.8037 GB, free: 41.3 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-05/0.6867, allocations: 33.39 kB / 0.8037 GB, free: 41.28 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.572e-05/0.6868, allocations: 69.17 kB / 0.8038 GB, free: 41.27 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.6879, allocations: 0.6914 MB / 0.8044 GB, free: 41.03 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004162/0.692, allocations: 5.728 MB / 0.81 GB, free: 36.08 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008151/0.6929, allocations: 0.5989 MB / 0.8106 GB, free: 35.71 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008038/0.6937, allocations: 421.6 kB / 0.811 GB, free: 35.57 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.949e-05/0.6937, allocations: 5.172 kB / 0.811 GB, free: 35.57 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.6938, allocations: 35.97 kB / 0.8111 GB, free: 35.53 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=41): time 1.994e-06/0.6938, allocations: 3.938 kB / 0.8111 GB, free: 35.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42): time 0.004424/0.6982, allocations: 2.052 MB / 0.8131 GB, free: 34.48 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.6982, allocations: 60.94 kB / 0.8131 GB, free: 34.41 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005103/0.6988, allocations: 467.6 kB / 0.8136 GB, free: 34.19 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.6988, allocations: 31.92 kB / 0.8136 GB, free: 34.16 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.699, allocations: 385.7 kB / 0.814 GB, free: 33.85 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.81e-05/0.6991, allocations: 147 kB / 0.8141 GB, free: 33.73 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/0.6993, allocations: 117.2 kB / 0.8142 GB, free: 33.67 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.421e-05/0.6994, allocations: 367 kB / 0.8146 GB, free: 33.33 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003569/0.6997, allocations: 244.3 kB / 0.8148 GB, free: 33.25 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004325/0.7002, allocations: 461.1 kB / 0.8152 GB, free: 32.89 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008124/0.701, allocations: 0.7523 MB / 0.816 GB, free: 32.38 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.701, allocations: 1.219 kB / 0.816 GB, free: 32.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001769/0.7028, allocations: 1.068 MB / 0.817 GB, free: 31.93 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.7028, allocations: 8.75 kB / 0.817 GB, free: 31.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.7028, allocations: 13.33 kB / 0.817 GB, free: 31.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.7038, allocations: 329.4 kB / 0.8174 GB, free: 31.83 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003121/0.7042, allocations: 97.03 kB / 0.8175 GB, free: 31.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005838/0.71, allocations: 7.521 MB / 0.8248 GB, free: 25.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004728/0.7105, allocations: 33.08 kB / 0.8248 GB, free: 25.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.472e-05/0.7106, allocations: 27.06 kB / 0.8249 GB, free: 25.43 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003197/0.7109, allocations: 245.2 kB / 0.8251 GB, free: 25.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.651e-05/0.711, allocations: 64.78 kB / 0.8252 GB, free: 25.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001692/0.7127, allocations: 0.9131 MB / 0.826 GB, free: 24.82 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.7127, allocations: 4.375 kB / 0.826 GB, free: 24.82 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.7127, allocations: 4.266 kB / 0.8261 GB, free: 24.82 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.7127, allocations: 3.344 kB / 0.8261 GB, free: 24.82 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002605/0.7153, allocations: 1.708 MB / 0.8277 GB, free: 23.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.7154, allocations: 1.281 kB / 0.8277 GB, free: 23.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.7155, allocations: 42.36 kB / 0.8278 GB, free: 23.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009324/0.7165, allocations: 326.2 kB / 0.8281 GB, free: 23.86 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.7165, allocations: 15.66 kB / 0.8281 GB, free: 23.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005739/0.7223, allocations: 7.502 MB / 0.8354 GB, free: 17.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.7223, allocations: 5.438 kB / 0.8354 GB, free: 17.48 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.724, allocations: 1.017 MB / 0.8364 GB, free: 16.95 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002592/0.7242, allocations: 174.2 kB / 0.8366 GB, free: 16.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.624e-05/0.7243, allocations: 12.44 kB / 0.8366 GB, free: 16.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/0.7246, allocations: 23.84 kB / 0.8366 GB, free: 16.79 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.7247, allocations: 40.05 kB / 0.8367 GB, free: 16.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.7248, allocations: 9.875 kB / 0.8367 GB, free: 16.79 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003557/0.7251, allocations: 314.8 kB / 0.837 GB, free: 16.64 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7251, allocations: 0 / 0.837 GB, free: 16.64 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008906/0.726, allocations: 198.4 kB / 0.8372 GB, free: 16.61 MB / 0.6544 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001429/0.7262, allocations: 114.2 kB / 0.8373 GB, free: 16.51 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001756/0.7279, allocations: 1.212 MB / 0.8384 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.728, allocations: 4.125 kB / 0.8385 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.729, allocations: 0.8621 MB / 0.8393 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009688/0.73, allocations: 200.5 kB / 0.8395 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.7318, allocations: 1.297 MB / 0.8408 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/0.7323, allocations: 0.9911 MB / 0.8417 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.437e-05/0.7324, allocations: 39.84 kB / 0.8418 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.7324, allocations: 0 / 0.8418 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of Templates: time 0.02133/0.7537, allocations: 18.67 MB / 0.86 GB, free: 6.391 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (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 & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)