Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.722/1.722, allocations: 292.3 MB / 308.1 MB, free: 4.293 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.001463/0.001463, allocations: 197.9 kB / 376.9 MB, free: 1.824 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.894/1.894, allocations: 205 MB / 0.6353 GB, free: 9.82 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.001026/0.001026, allocations: 102.2 kB / 0.748 GB, free: 61.12 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 55.92 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3194, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01876/0.3383, allocations: 13.85 MB / 0.9958 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01578/0.3541, allocations: 9.48 MB / 1.005 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002189/0.3564, allocations: 55.62 kB / 1.005 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.004698/0.3611, allocations: 1.557 MB / 1.007 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.005867/0.367, allocations: 1.409 MB / 1.008 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002604/0.3696, allocations: 0.6785 MB / 1.009 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00527/0.3749, allocations: 3.195 MB / 1.012 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003049/0.378, allocations: 1.36 MB / 1.013 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002432/0.3804, allocations: 0.9377 MB / 1.014 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002704/0.3832, allocations: 1.148 MB / 1.015 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0007837/0.384, allocations: 100 kB / 1.015 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002685/0.3867, allocations: 0.8851 MB / 1.016 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001349/0.3881, allocations: 0.5529 MB / 1.017 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.002347/0.3904, allocations: 0.8743 MB / 1.017 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.005307/0.3957, allocations: 2.729 MB / 1.02 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3958, allocations: 0 / 1.02 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3958, allocations: 0 / 1.02 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001284/0.3959, allocations: 0 / 1.02 GB, free: 3.438 MB / 0.7448 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.00643/0.4023, allocations: 2.131 MB / 1.022 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.4024, allocations: 12.03 kB / 1.022 GB, free: 1.238 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5804/0.9828, allocations: 2.079 MB / 1.024 GB, free: 98.08 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003028/0.9859, allocations: 1.192 MB / 1.025 GB, free: 97.78 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.299e-05/0.986, allocations: 87.56 kB / 1.025 GB, free: 97.78 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002517/0.9862, allocations: 124.5 kB / 1.026 GB, free: 97.77 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005637/0.9919, allocations: 2.68 MB / 1.028 GB, free: 97.38 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.17e-05/0.9919, allocations: 5.969 kB / 1.028 GB, free: 97.38 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001536/0.9921, allocations: 62.39 kB / 1.028 GB, free: 97.37 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006344/0.9928, allocations: 180.8 kB / 1.028 GB, free: 97.37 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00756/1, allocations: 2.796 MB / 1.031 GB, free: 97.35 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01711/1.017, allocations: 10.51 MB / 1.041 GB, free: 91.95 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008005/1.026, allocations: 2.525 MB / 1.044 GB, free: 91.14 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00364/1.029, allocations: 1.288 MB / 1.045 GB, free: 90.78 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.849e-05/1.029, allocations: 11.98 kB / 1.045 GB, free: 90.78 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.274e-05/1.029, allocations: 39.78 kB / 1.045 GB, free: 90.73 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=89): time 5.29e-06/1.029, allocations: 1.312 kB / 1.045 GB, free: 90.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=131): time 0.04417/1.074, allocations: 13.36 MB / 1.058 GB, free: 87.12 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/1.074, allocations: 65.56 kB / 1.058 GB, free: 87.05 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/1.075, allocations: 1.117 MB / 1.059 GB, free: 86.6 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001215/1.075, allocations: 51.14 kB / 1.059 GB, free: 86.55 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003518/1.076, allocations: 0.7121 MB / 1.06 GB, free: 85.99 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003495/1.076, allocations: 454.8 kB / 1.061 GB, free: 85.64 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000474/1.076, allocations: 265.2 kB / 1.061 GB, free: 85.53 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.518e-05/1.076, allocations: 358.4 kB / 1.061 GB, free: 85.21 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003094/1.08, allocations: 1.338 MB / 1.063 GB, free: 84.83 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003139/1.083, allocations: 1.6 MB / 1.064 GB, free: 84.16 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006151/1.089, allocations: 2.996 MB / 1.067 GB, free: 83 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/1.089, allocations: 4 kB / 1.067 GB, free: 83 MB / 0.7448 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01083/1.1, allocations: 4.443 MB / 1.071 GB, free: 81.6 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/1.1, allocations: 9.562 kB / 1.071 GB, free: 81.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/1.1, allocations: 6.906 kB / 1.071 GB, free: 81.6 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004864/1.105, allocations: 1.433 MB / 1.073 GB, free: 81.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002064/1.107, allocations: 438.5 kB / 1.073 GB, free: 81.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01966/1.126, allocations: 24.55 MB / 1.097 GB, free: 60.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002836/1.129, allocations: 301.2 kB / 1.097 GB, free: 60.87 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/1.129, allocations: 64.44 kB / 1.098 GB, free: 60.86 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008304/1.13, allocations: 438.4 kB / 1.098 GB, free: 60.59 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002702/1.131, allocations: 166.8 kB / 1.098 GB, free: 60.51 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01085/1.141, allocations: 4.447 MB / 1.102 GB, free: 59.04 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/1.141, allocations: 17.16 kB / 1.102 GB, free: 59.04 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.988e-05/1.142, allocations: 13.53 kB / 1.102 GB, free: 59.04 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-05/1.142, allocations: 7.078 kB / 1.102 GB, free: 59.04 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02106/1.163, allocations: 6.767 MB / 1.109 GB, free: 56.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.13e-05/1.163, allocations: 4.25 kB / 1.109 GB, free: 56.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002791/1.166, allocations: 377.8 kB / 1.109 GB, free: 56.49 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007693/1.173, allocations: 1.31 MB / 1.111 GB, free: 56.12 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004326/1.174, allocations: 40.36 kB / 1.111 GB, free: 56.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0339/1.208, allocations: 23.51 MB / 1.134 GB, free: 36.24 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.231e-05/1.208, allocations: 4.328 kB / 1.134 GB, free: 36.24 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02745/1.235, allocations: 6.813 MB / 1.14 GB, free: 33.43 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00184/1.237, allocations: 458.6 kB / 1.141 GB, free: 33.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000672/1.238, allocations: 25.69 kB / 1.141 GB, free: 33.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00423/1.242, allocations: 305.5 kB / 1.141 GB, free: 33.12 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007895/1.243, allocations: 128.8 kB / 1.141 GB, free: 33.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000308/1.243, allocations: 49.83 kB / 1.141 GB, free: 33.08 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002117/1.245, allocations: 0.7511 MB / 1.142 GB, free: 32.78 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.81e-07/1.245, allocations: 0 / 1.142 GB, free: 32.78 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004338/1.25, allocations: 0.5717 MB / 1.143 GB, free: 32.72 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004754/1.25, allocations: 138.6 kB / 1.143 GB, free: 32.61 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0185/1.269, allocations: 5.118 MB / 1.148 GB, free: 30.03 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/1.269, allocations: 1.062 kB / 1.148 GB, free: 30.03 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.01266/1.281, allocations: 3.497 MB / 1.151 GB, free: 27.95 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005622/1.287, allocations: 0.5165 MB / 1.152 GB, free: 27.81 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02053/1.308, allocations: 5.356 MB / 1.157 GB, free: 25.04 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003177/1.311, allocations: 1.536 MB / 1.158 GB, free: 24.2 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.004321/1.315, allocations: 427 kB / 1.159 GB, free: 24.09 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/1.316, allocations: 118.4 kB / 1.159 GB, free: 24.07 MB / 0.7448 GB Notification: Performance of SimCode: time 1.844e-06/1.316, allocations: 0 / 1.159 GB, free: 24.07 MB / 0.7448 GB Notification: Performance of Templates: time 0.114/1.43, allocations: 39.08 MB / 1.197 GB, free: 14.4 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)