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.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.562/1.562, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009965/0.0009966, allocations: 181.8 kB / 326.5 MB, free: 2.668 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.676/1.676, allocations: 205 MB / 0.5766 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007947/0.0007947, allocations: 87.98 kB / 0.6803 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003431, allocations: 10.12 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2198, allocations: 105.4 MB / 0.8968 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01279/0.2327, allocations: 14.24 MB / 0.9107 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01196/0.2447, allocations: 10.46 MB / 0.9209 GB, free: 43.34 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/0.2462, allocations: 55.56 kB / 0.9209 GB, free: 43.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003389/0.2496, allocations: 1.563 MB / 0.9225 GB, free: 41.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004554/0.2542, allocations: 1.603 MB / 0.924 GB, free: 40.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.2559, allocations: 0.6915 MB / 0.9247 GB, free: 39.42 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003169/0.2591, allocations: 3.411 MB / 0.928 GB, free: 36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001593/0.2607, allocations: 1.352 MB / 0.9293 GB, free: 34.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001591/0.2623, allocations: 1.336 MB / 0.9306 GB, free: 33.28 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.2634, allocations: 1.082 MB / 0.9317 GB, free: 32.19 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.2635, allocations: 68 kB / 0.9318 GB, free: 32.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.2648, allocations: 0.8539 MB / 0.9326 GB, free: 31.27 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003625/0.2652, allocations: 0.506 MB / 0.9331 GB, free: 30.76 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0006409/0.2659, allocations: 0.835 MB / 0.9339 GB, free: 29.92 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001562/0.2674, allocations: 2.15 MB / 0.936 GB, free: 27.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2674, allocations: 0 / 0.936 GB, free: 27.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2675, allocations: 0 / 0.936 GB, free: 27.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.187e-05/0.2675, allocations: 0 / 0.936 GB, free: 27.77 MB / 0.6042 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.002785/0.2703, allocations: 1.843 MB / 0.9378 GB, free: 25.87 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.2703, allocations: 8.031 kB / 0.9378 GB, free: 25.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01028/0.2806, allocations: 2.171 MB / 0.9399 GB, free: 23.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00232/0.283, allocations: 1.213 MB / 0.9411 GB, free: 22.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.563e-05/0.283, allocations: 90.56 kB / 0.9412 GB, free: 22.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/0.2832, allocations: 116.1 kB / 0.9413 GB, free: 22.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004801/0.288, allocations: 2.694 MB / 0.944 GB, free: 19.37 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.95e-05/0.2881, allocations: 11.84 kB / 0.944 GB, free: 19.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001504/0.2883, allocations: 59.97 kB / 0.944 GB, free: 19.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005409/0.2888, allocations: 194.1 kB / 0.9442 GB, free: 19.11 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006735/0.2956, allocations: 2.838 MB / 0.947 GB, free: 16.26 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0131/0.3087, allocations: 10.57 MB / 0.9573 GB, free: 5.102 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005646/0.3144, allocations: 2.383 MB / 0.9596 GB, free: 2.688 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002516/0.3169, allocations: 1.3 MB / 0.9609 GB, free: 1.383 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.259e-05/0.317, allocations: 13 kB / 0.9609 GB, free: 1.367 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.317, allocations: 43.5 kB / 0.961 GB, free: 1.316 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=89): time 2.965e-06/0.317, allocations: 0 / 0.961 GB, free: 1.316 MB / 0.6042 GB Notification: Performance of matching and sorting (n=153): time 0.05412/0.3712, allocations: 16.53 MB / 0.9771 GB, free: 0.6328 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.3713, allocations: 72.66 kB / 0.9772 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/0.3727, allocations: 1.168 MB / 0.9783 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001804/0.3729, allocations: 53.7 kB / 0.9784 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005131/0.3734, allocations: 0.7475 MB / 0.9791 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004537/0.3739, allocations: 0.5159 MB / 0.9796 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/0.3741, allocations: 121.7 kB / 0.9797 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.3742, allocations: 305.1 kB / 0.98 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003397/0.3776, allocations: 1.53 MB / 0.9815 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003601/0.3813, allocations: 1.803 MB / 0.9833 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007029/0.3883, allocations: 3.408 MB / 0.9866 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/0.3883, allocations: 4 kB / 0.9866 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01315/0.4015, allocations: 5.323 MB / 0.9918 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.723e-05/0.4016, allocations: 11.98 kB / 0.9918 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.4016, allocations: 4 kB / 0.9918 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006931/0.4085, allocations: 1.88 MB / 0.9936 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001981/0.4105, allocations: 427.3 kB / 0.994 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02707/0.4376, allocations: 22.2 MB / 1.016 GB, free: 7.703 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002698/0.4404, allocations: 319.5 kB / 1.016 GB, free: 7.391 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001736/0.4405, allocations: 63.97 kB / 1.016 GB, free: 7.328 MB / 0.6667 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009291/0.4415, allocations: 471.4 kB / 1.017 GB, free: 6.859 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003016/0.4418, allocations: 173.9 kB / 1.017 GB, free: 6.688 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01315/0.4549, allocations: 5.367 MB / 1.022 GB, free: 1.273 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.455, allocations: 20 kB / 1.022 GB, free: 1.254 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.832e-05/0.455, allocations: 20 kB / 1.022 GB, free: 1.234 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.771e-05/0.4551, allocations: 7.969 kB / 1.022 GB, free: 1.227 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01592/0.471, allocations: 7.457 MB / 1.029 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.471, allocations: 0 / 1.029 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001602/0.4726, allocations: 371.7 kB / 1.03 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006046/0.4787, allocations: 1.696 MB / 1.031 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002115/0.4789, allocations: 55.84 kB / 1.031 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02695/0.5059, allocations: 21.38 MB / 1.052 GB, free: 1.07 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/0.5059, allocations: 4 kB / 1.052 GB, free: 1.066 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.41/0.9159, allocations: 4.929 MB / 1.057 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009733/0.9169, allocations: 499 kB / 1.058 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002557/0.9172, allocations: 30.7 kB / 1.058 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002117/0.9193, allocations: 329.5 kB / 1.058 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005701/0.9199, allocations: 149.2 kB / 1.058 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/0.92, allocations: 53.61 kB / 1.058 GB, free: 141.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001048/0.9211, allocations: 0.7937 MB / 1.059 GB, free: 141.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9211, allocations: 0 / 1.059 GB, free: 141.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002274/0.9234, allocations: 0.6553 MB / 1.059 GB, free: 141.8 MB / 0.698 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002975/0.9237, allocations: 142.8 kB / 1.06 GB, free: 141.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01353/0.9372, allocations: 5.166 MB / 1.065 GB, free: 140.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/0.9373, allocations: 0.875 kB / 1.065 GB, free: 140.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.007576/0.9449, allocations: 3.37 MB / 1.068 GB, free: 139.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002883/0.9478, allocations: 0.5129 MB / 1.068 GB, free: 139.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008239/0.956, allocations: 5.132 MB / 1.073 GB, free: 137.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/0.9573, allocations: 1.564 MB / 1.075 GB, free: 137.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005986/0.9579, allocations: 128 kB / 1.075 GB, free: 137.1 MB / 0.698 GB Notification: Performance of SimCode: time 7.01e-07/0.9579, allocations: 0 / 1.075 GB, free: 137.1 MB / 0.698 GB Notification: Performance of Templates: time 0.07091/1.029, allocations: 85.49 MB / 1.159 GB, free: 62.84 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)