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.375/1.375, allocations: 252 MB / 268 MB, free: 10.86 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.0009706/0.0009706, allocations: 171 kB / 327.6 MB, free: 2.102 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.789/1.789, allocations: 205.4 MB / 0.5786 GB, free: 20.12 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.0008175/0.0008174, allocations: 88.2 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003712, allocations: 8.531 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2008, allocations: 106.3 MB / 0.9015 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01158/0.2124, allocations: 14.02 MB / 0.9152 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01159/0.224, allocations: 10.34 MB / 0.9253 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001647/0.2257, allocations: 51.62 kB / 0.9253 GB, free: 38.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.2269, allocations: 285.7 kB / 0.9256 GB, free: 38.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004817/0.2317, allocations: 1.604 MB / 0.9271 GB, free: 37.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.2335, allocations: 0.6828 MB / 0.9278 GB, free: 36.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003732/0.2373, allocations: 3.41 MB / 0.9311 GB, free: 32.99 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003014/0.2403, allocations: 1.991 MB / 0.9331 GB, free: 30.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001914/0.2422, allocations: 1.336 MB / 0.9344 GB, free: 29.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00161/0.2439, allocations: 1.078 MB / 0.9354 GB, free: 28.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003508/0.2442, allocations: 72 kB / 0.9355 GB, free: 28.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001624/0.2459, allocations: 0.8655 MB / 0.9364 GB, free: 27.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004222/0.2463, allocations: 0.5022 MB / 0.9368 GB, free: 27.08 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0009566/0.2473, allocations: 0.8563 MB / 0.9377 GB, free: 26.21 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002265/0.2495, allocations: 2.15 MB / 0.9398 GB, free: 24.06 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.2496, allocations: 0 / 0.9398 GB, free: 24.06 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.522e-06/0.2496, allocations: 0 / 0.9398 GB, free: 24.06 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.54e-05/0.2496, allocations: 0 / 0.9398 GB, free: 24.06 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.003264/0.2529, allocations: 1.842 MB / 0.9416 GB, free: 22.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.253, allocations: 8.031 kB / 0.9416 GB, free: 22.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01104/0.264, allocations: 2.171 MB / 0.9437 GB, free: 19.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002347/0.2664, allocations: 1.217 MB / 0.9449 GB, free: 18.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/0.2664, allocations: 90.69 kB / 0.945 GB, free: 18.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002014/0.2666, allocations: 120.1 kB / 0.9451 GB, free: 18.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004943/0.2716, allocations: 2.694 MB / 0.9477 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.254e-05/0.2716, allocations: 7.906 kB / 0.9477 GB, free: 15.65 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/0.2718, allocations: 47.98 kB / 0.9478 GB, free: 15.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005929/0.2724, allocations: 198.1 kB / 0.948 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006807/0.2792, allocations: 2.846 MB / 0.9507 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01215/0.2914, allocations: 10.55 MB / 0.9611 GB, free: 1.414 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006194/0.2976, allocations: 2.391 MB / 0.9634 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003153/0.3008, allocations: 1.3 MB / 0.9647 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.65e-05/0.3009, allocations: 9 kB / 0.9647 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.3009, allocations: 47.5 kB / 0.9647 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=89): time 2.184e-06/0.3009, allocations: 0 / 0.9647 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=153): time 0.0614/0.3623, allocations: 16.53 MB / 0.9809 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.3624, allocations: 68.7 kB / 0.9809 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.3641, allocations: 1.172 MB / 0.9821 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002281/0.3643, allocations: 49.7 kB / 0.9821 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005727/0.3649, allocations: 0.7475 MB / 0.9828 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005832/0.3655, allocations: 0.5197 MB / 0.9833 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.3657, allocations: 35.94 kB / 0.9834 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3658, allocations: 365.9 kB / 0.9837 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003648/0.3695, allocations: 1.53 MB / 0.9852 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003772/0.3733, allocations: 1.803 MB / 0.987 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007612/0.3809, allocations: 3.405 MB / 0.9903 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.381, allocations: 4 kB / 0.9903 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01408/0.395, allocations: 5.315 MB / 0.9955 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/0.3951, allocations: 8 kB / 0.9955 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/0.3951, allocations: 8 kB / 0.9955 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007191/0.4023, allocations: 1.892 MB / 0.9974 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002135/0.4045, allocations: 427.2 kB / 0.9978 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02901/0.4336, allocations: 22.18 MB / 1.019 GB, free: 4.055 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002847/0.4364, allocations: 319.6 kB / 1.02 GB, free: 3.742 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003589/0.4368, allocations: 67.97 kB / 1.02 GB, free: 3.676 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%), (3,15,100.0%), (3,15,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.001154/0.438, allocations: 465.4 kB / 1.02 GB, free: 3.211 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004713/0.4385, allocations: 173.9 kB / 1.02 GB, free: 3.039 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01415/0.4526, allocations: 5.359 MB / 1.026 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-05/0.4527, allocations: 16 kB / 1.026 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.063e-05/0.4528, allocations: 20 kB / 1.026 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-05/0.4528, allocations: 7.969 kB / 1.026 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01787/0.4707, allocations: 7.476 MB / 1.033 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-05/0.4708, allocations: 7.938 kB / 1.033 GB, free: 5.984 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001837/0.4726, allocations: 367.7 kB / 1.033 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006332/0.479, allocations: 1.7 MB / 1.035 GB, free: 3.902 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002617/0.4793, allocations: 47.95 kB / 1.035 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3834/0.8627, allocations: 21.36 MB / 1.056 GB, free: 136.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.8627, allocations: 10.44 kB / 1.056 GB, free: 136.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01207/0.8748, allocations: 4.924 MB / 1.061 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009667/0.8758, allocations: 0.4885 MB / 1.061 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002383/0.8761, allocations: 25.23 kB / 1.061 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002221/0.8783, allocations: 331.4 kB / 1.062 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005525/0.8789, allocations: 155 kB / 1.062 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/0.879, allocations: 56.06 kB / 1.062 GB, free: 135.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009488/0.88, allocations: 0.7947 MB / 1.063 GB, free: 135.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.11e-07/0.88, allocations: 0 / 1.063 GB, free: 135.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002123/0.8821, allocations: 0.6536 MB / 1.063 GB, free: 135.7 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.0002984/0.8824, allocations: 139.2 kB / 1.063 GB, free: 135.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01206/0.8945, allocations: 5.193 MB / 1.068 GB, free: 134.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/0.8945, allocations: 1.062 kB / 1.068 GB, free: 134.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.007224/0.9018, allocations: 3.367 MB / 1.072 GB, free: 133.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003094/0.9049, allocations: 0.5146 MB / 1.072 GB, free: 133.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008385/0.9133, allocations: 5.165 MB / 1.077 GB, free: 131.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00138/0.9147, allocations: 1.571 MB / 1.079 GB, free: 131 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006496/0.9154, allocations: 131 kB / 1.079 GB, free: 131 MB / 0.698 GB Notification: Performance of SimCode: time 4.21e-07/0.9154, allocations: 3.75 kB / 1.079 GB, free: 131 MB / 0.698 GB Notification: Performance of Templates: time 0.06481/0.9802, allocations: 85.53 MB / 1.162 GB, free: 56.16 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)