Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000964/0.000964, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.0009566/0.0009567, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.4 MB / 222.1 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.597/1.597, allocations: 251.9 MB / 0.51 GB, free: 4.879 MB / 414.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.0006251/0.0006253, allocations: 15.98 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6647/0.6653, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01322/0.6786, allocations: 11.9 MB / 0.7396 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01344/0.6921, allocations: 8.644 MB / 0.748 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002008/0.6942, allocations: 51.62 kB / 0.7481 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.6953, allocations: 258.3 kB / 0.7483 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005584/0.7009, allocations: 1.256 MB / 0.7496 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.7028, allocations: 0.521 MB / 0.7501 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003421/0.7062, allocations: 1.518 MB / 0.7516 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003626/0.7099, allocations: 1.799 MB / 0.7533 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001933/0.7118, allocations: 0.759 MB / 0.754 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.7133, allocations: 0.8445 MB / 0.7549 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001674/0.7135, allocations: 79.94 kB / 0.7549 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.7147, allocations: 387.5 kB / 0.7553 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004878/0.7152, allocations: 474.6 kB / 0.7558 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004179/0.7157, allocations: 344.8 kB / 0.7561 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002257/0.7179, allocations: 2.078 MB / 0.7581 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.7179, allocations: 0 / 0.7581 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.886e-06/0.7179, allocations: 0 / 0.7581 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.875e-05/0.718, allocations: 0 / 0.7581 GB, free: 12.45 MB / 0.5762 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.004107/0.7221, allocations: 1.815 MB / 0.7599 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.031e-05/0.7222, allocations: 12.02 kB / 0.7599 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01116/0.7333, allocations: 2.162 MB / 0.762 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003409/0.7368, allocations: 1.154 MB / 0.7632 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-05/0.7369, allocations: 94.3 kB / 0.7632 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002724/0.7372, allocations: 119.9 kB / 0.7634 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006191/0.7434, allocations: 2.683 MB / 0.766 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.776e-05/0.7435, allocations: 7.938 kB / 0.766 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001911/0.7437, allocations: 55.98 kB / 0.766 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007208/0.7444, allocations: 182.1 kB / 0.7662 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007722/0.7521, allocations: 2.834 MB / 0.769 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01729/0.7695, allocations: 10.57 MB / 0.7793 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006836/0.7763, allocations: 2.566 MB / 0.7818 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.413e-05/0.7765, allocations: 13 kB / 0.7818 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.609e-05/0.7765, allocations: 51.48 kB / 0.7819 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=89): time 3.908e-06/0.7765, allocations: 4 kB / 0.7819 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of matching and sorting (n=131): time 0.04525/0.8218, allocations: 13.42 MB / 0.795 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.655e-05/0.8219, allocations: 64.72 kB / 0.795 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/0.8236, allocations: 1.105 MB / 0.7961 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001902/0.8238, allocations: 49.7 kB / 0.7962 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005651/0.8244, allocations: 0.7156 MB / 0.7969 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004589/0.8249, allocations: 457.4 kB / 0.7973 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.825, allocations: 27.94 kB / 0.7973 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.8252, allocations: 361.9 kB / 0.7977 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00327/0.8284, allocations: 1.354 MB / 0.799 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003389/0.8318, allocations: 1.616 MB / 0.8006 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003418/0.8353, allocations: 1.45 MB / 0.802 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.295e-06/0.8353, allocations: 3.953 kB / 0.802 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01135/0.8467, allocations: 4.469 MB / 0.8064 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/0.8467, allocations: 8 kB / 0.8064 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.8467, allocations: 4.844 kB / 0.8064 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005122/0.8519, allocations: 1.439 MB / 0.8078 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002206/0.8541, allocations: 447.2 kB / 0.8082 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.028/0.8821, allocations: 24.99 MB / 0.8326 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003118/0.8853, allocations: 315.6 kB / 0.8329 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/0.8855, allocations: 67.92 kB / 0.833 GB, free: 12.64 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 (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.001043/0.8865, allocations: 434 kB / 0.8334 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002611/0.8868, allocations: 158.1 kB / 0.8335 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01186/0.8986, allocations: 4.485 MB / 0.8379 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.8987, allocations: 12 kB / 0.8379 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.2e-05/0.8987, allocations: 12 kB / 0.8379 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.8987, allocations: 7.969 kB / 0.838 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01542/0.9141, allocations: 6.813 MB / 0.8446 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/0.9142, allocations: 7.984 kB / 0.8446 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001756/0.916, allocations: 391.6 kB / 0.845 GB, free: 116 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004639/0.9206, allocations: 1.307 MB / 0.8463 GB, free: 14.77 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001478/0.9208, allocations: 39.95 kB / 0.8463 GB, free: 14.73 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02424/0.945, allocations: 23.97 MB / 0.8697 GB, free: 5.023 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.9451, allocations: 11.92 kB / 0.8697 GB, free: 5.012 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01088/0.9559, allocations: 4.384 MB / 0.874 GB, free: 456 kB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/0.9574, allocations: 455.1 kB / 0.8744 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002447/0.9577, allocations: 31.98 kB / 0.8745 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001983/0.9597, allocations: 311.5 kB / 0.8748 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004335/0.9601, allocations: 132.7 kB / 0.8749 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001376/0.9603, allocations: 51.95 kB / 0.8749 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001025/0.9613, allocations: 0.7409 MB / 0.8757 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9613, allocations: 0 / 0.8757 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002224/0.9635, allocations: 0.5664 MB / 0.8762 GB, free: 14.15 MB / 0.7012 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.0003164/0.9638, allocations: 145.9 kB / 0.8764 GB, free: 14 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01089/0.9748, allocations: 5.147 MB / 0.8814 GB, free: 8.688 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/0.9748, allocations: 0 / 0.8814 GB, free: 8.688 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.006983/0.9818, allocations: 3.504 MB / 0.8848 GB, free: 5.016 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/0.9843, allocations: 491.9 kB / 0.8853 GB, free: 4.539 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009212/0.9935, allocations: 4.525 MB / 0.8897 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/0.9949, allocations: 1.505 MB / 0.8912 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001826/0.9967, allocations: 425.6 kB / 0.8916 GB, free: 14 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003643/0.9971, allocations: 119.4 kB / 0.8917 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of SimCode: time 5.81e-07/0.9971, allocations: 0 / 0.8917 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of Templates: time 0.469/1.466, allocations: 36.12 MB / 0.927 GB, free: 156.5 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) Environment - environmentSimulation: