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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.724/1.724, allocations: 288.4 MB / 303.7 MB, free: 8.18 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.0011/0.0011, allocations: 175.2 kB / 372.3 MB, free: 10.12 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.751/1.751, allocations: 205.4 MB / 0.631 GB, free: 9.879 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.0009844/0.0009844, allocations: 112.1 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000422/0.0004222, allocations: 15.55 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2494, allocations: 115.3 MB / 0.9801 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01137/0.2608, allocations: 12.57 MB / 0.9924 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01154/0.2724, allocations: 8.833 MB / 1.001 GB, free: 5.859 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001625/0.274, allocations: 47.69 kB / 1.001 GB, free: 5.812 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008942/0.2749, allocations: 265.8 kB / 1.001 GB, free: 5.551 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004735/0.2797, allocations: 1.338 MB / 1.003 GB, free: 4.211 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002021/0.2817, allocations: 0.5675 MB / 1.003 GB, free: 3.645 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003049/0.2848, allocations: 2.692 MB / 1.006 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003242/0.2881, allocations: 1.951 MB / 1.008 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002023/0.2901, allocations: 0.8403 MB / 1.009 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001781/0.2919, allocations: 1.027 MB / 1.01 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002358/0.2921, allocations: 72 kB / 1.01 GB, free: 13 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001696/0.2938, allocations: 0.8226 MB / 1.01 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005563/0.2944, allocations: 0.5023 MB / 1.011 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001031/0.2955, allocations: 0.8062 MB / 1.012 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002454/0.2979, allocations: 2.143 MB / 1.014 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.2979, allocations: 3.938 kB / 1.014 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.813e-06/0.298, allocations: 0 / 1.014 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.546e-05/0.298, allocations: 4 kB / 1.014 GB, free: 8.695 MB / 0.6355 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.003595/0.3016, allocations: 1.812 MB / 1.016 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.3017, allocations: 8.031 kB / 1.016 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01098/0.3127, allocations: 2.148 MB / 1.018 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002612/0.3153, allocations: 1.197 MB / 1.019 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.09e-05/0.3154, allocations: 86.73 kB / 1.019 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002735/0.3157, allocations: 120.1 kB / 1.019 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005715/0.3214, allocations: 2.694 MB / 1.022 GB, free: 376 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.285e-05/0.3215, allocations: 15.84 kB / 1.022 GB, free: 360 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/0.3217, allocations: 51.97 kB / 1.022 GB, free: 308 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006155/0.3223, allocations: 186.1 kB / 1.022 GB, free: 120 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007685/0.33, allocations: 2.838 MB / 1.025 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01585/0.3459, allocations: 10.57 MB / 1.035 GB, free: 2.125 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006719/0.3526, allocations: 2.578 MB / 1.038 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003431/0.3561, allocations: 1.298 MB / 1.039 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-05/0.3563, allocations: 16.98 kB / 1.039 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.3563, allocations: 39.56 kB / 1.039 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=89): time 3.006e-06/0.3563, allocations: 0 / 1.039 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of matching and sorting (n=131): time 0.04631/0.4026, allocations: 13.45 MB / 1.052 GB, free: 464 kB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.665e-05/0.4028, allocations: 64.72 kB / 1.052 GB, free: 384 kB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002727/0.4055, allocations: 1.105 MB / 1.053 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005184/0.4061, allocations: 49.7 kB / 1.053 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.4071, allocations: 0.7116 MB / 1.054 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009769/0.4081, allocations: 453.5 kB / 1.054 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.4083, allocations: 24 kB / 1.054 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002828/0.4086, allocations: 361.9 kB / 1.055 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005185/0.4138, allocations: 1.354 MB / 1.056 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005545/0.4194, allocations: 1.62 MB / 1.058 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01287/0.4323, allocations: 3.022 MB / 1.061 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.688e-05/0.4324, allocations: 4 kB / 1.061 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.02218/0.4546, allocations: 4.477 MB / 1.065 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.008e-05/0.4547, allocations: 12.81 kB / 1.065 GB, free: 2.914 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.166e-05/0.4547, allocations: 4 kB / 1.065 GB, free: 2.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01015/0.4649, allocations: 1.431 MB / 1.066 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004279/0.4692, allocations: 451.2 kB / 1.067 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6651/1.134, allocations: 24.52 MB / 1.091 GB, free: 66.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004029/1.138, allocations: 316.7 kB / 1.091 GB, free: 66.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003021/1.139, allocations: 63.47 kB / 1.091 GB, free: 66.32 MB / 0.6823 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 (99): * Single equations (assignments): 86 * 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 {(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001284/1.14, allocations: 431.5 kB / 1.091 GB, free: 66.06 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004688/1.141, allocations: 165.4 kB / 1.092 GB, free: 66.05 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01952/1.16, allocations: 4.481 MB / 1.096 GB, free: 64.62 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.566e-05/1.16, allocations: 12.41 kB / 1.096 GB, free: 64.62 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.448e-05/1.16, allocations: 12.53 kB / 1.096 GB, free: 64.62 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.772e-05/1.16, allocations: 11.17 kB / 1.096 GB, free: 64.62 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02644/1.187, allocations: 6.809 MB / 1.103 GB, free: 62.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.608e-05/1.187, allocations: 3.594 kB / 1.103 GB, free: 62.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002297/1.189, allocations: 393.2 kB / 1.103 GB, free: 62.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00467/1.194, allocations: 1.306 MB / 1.104 GB, free: 61.72 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001778/1.194, allocations: 37.09 kB / 1.104 GB, free: 61.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01972/1.214, allocations: 23.52 MB / 1.127 GB, free: 41.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/1.214, allocations: 3.906 kB / 1.127 GB, free: 41.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01079/1.225, allocations: 4.232 MB / 1.131 GB, free: 39.16 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/1.226, allocations: 458.4 kB / 1.132 GB, free: 38.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002441/1.226, allocations: 35.58 kB / 1.132 GB, free: 38.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002014/1.228, allocations: 314.4 kB / 1.132 GB, free: 38.64 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004991/1.229, allocations: 123.8 kB / 1.132 GB, free: 38.58 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/1.229, allocations: 51.25 kB / 1.132 GB, free: 38.56 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00105/1.23, allocations: 0.7414 MB / 1.133 GB, free: 38.14 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/1.23, allocations: 0 / 1.133 GB, free: 38.14 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002604/1.232, allocations: 0.5676 MB / 1.134 GB, free: 38.09 MB / 0.6823 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 (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,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(2,100.0%) 4,(3,100.0%) 9,(2,100.0%) 4,(3,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002876/1.233, allocations: 146.1 kB / 1.134 GB, free: 37.96 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01147/1.244, allocations: 5.15 MB / 1.139 GB, free: 34.59 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/1.244, allocations: 1 kB / 1.139 GB, free: 34.59 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.006404/1.251, allocations: 3.509 MB / 1.142 GB, free: 32.03 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002854/1.253, allocations: 0.4924 MB / 1.143 GB, free: 31.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008281/1.262, allocations: 4.522 MB / 1.147 GB, free: 28.98 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/1.263, allocations: 1.477 MB / 1.149 GB, free: 27.91 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002703/1.266, allocations: 423.5 kB / 1.149 GB, free: 27.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000497/1.266, allocations: 118.5 kB / 1.149 GB, free: 27.66 MB / 0.6823 GB Notification: Performance of SimCode: time 1.503e-06/1.266, allocations: 3.938 kB / 1.149 GB, free: 27.66 MB / 0.6823 GB Notification: Performance of Templates: time 0.07247/1.339, allocations: 36.47 MB / 1.185 GB, free: 9.234 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)