Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.505/1.505, 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.001277/0.001277, allocations: 175.3 kB / 327.6 MB, free: 2.09 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.729/1.729, allocations: 205.4 MB / 0.5786 GB, free: 20.14 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.0007381/0.0007379, allocations: 89.58 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003158/0.0003159, allocations: 12.17 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1794, allocations: 106.3 MB / 0.9015 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.008323/0.1878, allocations: 10.29 MB / 0.9115 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009937/0.1977, allocations: 8.747 MB / 0.9201 GB, free: 44.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/0.199, allocations: 51.62 kB / 0.9201 GB, free: 44.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007652/0.1998, allocations: 281.8 kB / 0.9204 GB, free: 44.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003397/0.2032, allocations: 1.389 MB / 0.9217 GB, free: 42.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.2046, allocations: 0.6107 MB / 0.9223 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002329/0.2069, allocations: 2.908 MB / 0.9252 GB, free: 39.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002585/0.2095, allocations: 1.955 MB / 0.9271 GB, free: 37.13 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.2106, allocations: 0.8284 MB / 0.9279 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.2117, allocations: 0.9492 MB / 0.9288 GB, free: 35.35 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.2118, allocations: 60 kB / 0.9289 GB, free: 35.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.2132, allocations: 0.885 MB / 0.9297 GB, free: 34.4 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003326/0.2135, allocations: 486.3 kB / 0.9302 GB, free: 33.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005589/0.2141, allocations: 0.798 MB / 0.931 GB, free: 33.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.2156, allocations: 1.983 MB / 0.9329 GB, free: 31.13 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2156, allocations: 0 / 0.9329 GB, free: 31.13 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2156, allocations: 3.938 kB / 0.9329 GB, free: 31.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.344e-05/0.2156, allocations: 4 kB / 0.9329 GB, free: 31.12 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.002222/0.2178, allocations: 1.71 MB / 0.9346 GB, free: 29.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.2179, allocations: 8.031 kB / 0.9346 GB, free: 29.35 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01013/0.228, allocations: 2.116 MB / 0.9367 GB, free: 27.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001867/0.2299, allocations: 1.115 MB / 0.9378 GB, free: 26.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.947e-05/0.23, allocations: 90.69 kB / 0.9378 GB, free: 25.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.2302, allocations: 116.1 kB / 0.938 GB, free: 25.85 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004705/0.2349, allocations: 2.506 MB / 0.9404 GB, free: 23.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/0.2349, allocations: 11.84 kB / 0.9404 GB, free: 23.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/0.2351, allocations: 55.98 kB / 0.9405 GB, free: 23.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003071/0.2354, allocations: 126.1 kB / 0.9406 GB, free: 23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006499/0.2419, allocations: 2.592 MB / 0.9431 GB, free: 20.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01082/0.2528, allocations: 10.11 MB / 0.953 GB, free: 9.637 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005654/0.2585, allocations: 2.001 MB / 0.9549 GB, free: 7.605 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002467/0.2609, allocations: 0.9894 MB / 0.9559 GB, free: 6.613 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.882e-05/0.261, allocations: 16.41 kB / 0.9559 GB, free: 6.598 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.261, allocations: 39 kB / 0.956 GB, free: 6.551 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=53): time 2.525e-06/0.261, allocations: 0 / 0.956 GB, free: 6.551 MB / 0.6042 GB Notification: Performance of matching and sorting (n=81): time 0.02989/0.2909, allocations: 8.781 MB / 0.9645 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.2911, allocations: 60.06 kB / 0.9646 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/0.2927, allocations: 1.104 MB / 0.9657 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.626e-05/0.2928, allocations: 41.7 kB / 0.9657 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005589/0.2933, allocations: 0.7379 MB / 0.9664 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002661/0.2936, allocations: 280 kB / 0.9667 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.954e-05/0.2937, allocations: 20 kB / 0.9667 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.2939, allocations: 341.9 kB / 0.967 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002968/0.2968, allocations: 1.091 MB / 0.9681 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003063/0.2999, allocations: 1.329 MB / 0.9694 GB, free: 8.562 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00605/0.306, allocations: 2.425 MB / 0.9718 GB, free: 6.039 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.306, allocations: 4 kB / 0.9718 GB, free: 6.035 MB / 0.6198 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008834/0.3148, allocations: 3.319 MB / 0.975 GB, free: 2.684 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.3149, allocations: 8 kB / 0.975 GB, free: 2.676 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.3149, allocations: 8.875 kB / 0.975 GB, free: 2.668 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002778/0.3177, allocations: 0.791 MB / 0.9758 GB, free: 1.852 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001956/0.3197, allocations: 419.3 kB / 0.9762 GB, free: 1.441 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01494/0.3346, allocations: 14.7 MB / 0.9906 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002448/0.3371, allocations: 295.5 kB / 0.9909 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002655/0.3374, allocations: 51.97 kB / 0.9909 GB, free: 1.328 MB / 0.6355 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,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009692/0.3384, allocations: 397.5 kB / 0.9913 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003853/0.3388, allocations: 142.3 kB / 0.9914 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009108/0.3479, allocations: 3.249 MB / 0.9946 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.3479, allocations: 11.94 kB / 0.9946 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-05/0.348, allocations: 8 kB / 0.9946 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.348, allocations: 3.984 kB / 0.9946 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/0.36, allocations: 4.944 MB / 0.9994 GB, free: 8.406 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.36, allocations: 4 kB / 0.9994 GB, free: 8.402 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001732/0.3618, allocations: 367.9 kB / 0.9998 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002558/0.3643, allocations: 0.7018 MB / 1 GB, free: 7.316 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001271/0.3645, allocations: 27.97 kB / 1.001 GB, free: 7.289 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01524/0.3798, allocations: 14.34 MB / 1.015 GB, free: 7.879 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.3798, allocations: 0 / 1.015 GB, free: 7.879 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008753/0.3886, allocations: 3.085 MB / 1.018 GB, free: 4.715 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/0.3897, allocations: 383.1 kB / 1.018 GB, free: 4.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004511/0.3902, allocations: 23.94 kB / 1.018 GB, free: 4.297 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002216/0.3924, allocations: 303.5 kB / 1.018 GB, free: 4 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003402/0.3928, allocations: 76.48 kB / 1.018 GB, free: 3.926 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/0.3929, allocations: 39.97 kB / 1.018 GB, free: 3.887 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001223/0.3942, allocations: 0.7366 MB / 1.019 GB, free: 3.148 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3942, allocations: 4 kB / 1.019 GB, free: 3.145 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001778/0.396, allocations: 435.9 kB / 1.019 GB, free: 2.719 MB / 0.6667 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,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003/0.3963, allocations: 124.4 kB / 1.02 GB, free: 2.59 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.008738/0.405, allocations: 3.668 MB / 1.023 GB, free: 14.81 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.4051, allocations: 3.938 kB / 1.023 GB, free: 14.81 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.005133/0.4102, allocations: 2.387 MB / 1.025 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003182/0.4134, allocations: 491.8 kB / 1.026 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008425/0.4219, allocations: 4.21 MB / 1.03 GB, free: 7.57 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/0.4231, allocations: 1.384 MB / 1.031 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006424/0.4238, allocations: 123.3 kB / 1.032 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of SimCode: time 1.002e-06/0.4238, allocations: 0 / 1.032 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of Templates: time 0.4037/0.8275, allocations: 74.78 MB / 1.105 GB, free: 109.9 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)