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_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.454/1.454, 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.000981/0.0009809, allocations: 170.2 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.759/1.759, allocations: 205.4 MB / 0.5786 GB, free: 20.11 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.0008068/0.0008068, allocations: 89.61 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003123, allocations: 10.75 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1796, allocations: 106.3 MB / 0.9015 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.005106/0.1848, allocations: 5.656 MB / 0.907 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003825/0.1887, allocations: 3.181 MB / 0.9101 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003422/0.189, allocations: 27.81 kB / 0.9101 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000305/0.1894, allocations: 119 kB / 0.9102 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008172/0.1902, allocations: 446 kB / 0.9107 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008562/0.191, allocations: 443.1 kB / 0.9111 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000951/0.192, allocations: 1.459 MB / 0.9125 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001297/0.1933, allocations: 0.986 MB / 0.9135 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004033/0.1937, allocations: 374.3 kB / 0.9138 GB, free: 50.76 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004259/0.1942, allocations: 450.2 kB / 0.9143 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.271e-05/0.1942, allocations: 28 kB / 0.9143 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007572/0.195, allocations: 0.5652 MB / 0.9148 GB, free: 49.72 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.1952, allocations: 255.2 kB / 0.9151 GB, free: 49.47 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002459/0.1954, allocations: 383.7 kB / 0.9154 GB, free: 49.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006564/0.1961, allocations: 0.8924 MB / 0.9163 GB, free: 48.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1961, allocations: 3.984 kB / 0.9163 GB, free: 48.19 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1961, allocations: 0 / 0.9163 GB, free: 48.19 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.1961, allocations: 4 kB / 0.9163 GB, free: 48.19 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001063/0.1972, allocations: 0.8999 MB / 0.9172 GB, free: 47.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1972, allocations: 12.03 kB / 0.9172 GB, free: 47.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/0.1986, allocations: 227.6 kB / 0.9174 GB, free: 47 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005647/0.1991, allocations: 0.5299 MB / 0.9179 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.1992, allocations: 45.67 kB / 0.918 GB, free: 46.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.157e-05/0.1993, allocations: 68.2 kB / 0.9181 GB, free: 46.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.2003, allocations: 1.038 MB / 0.9191 GB, free: 45.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.2003, allocations: 7.938 kB / 0.9191 GB, free: 45.17 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.399e-05/0.2004, allocations: 31.98 kB / 0.9191 GB, free: 45.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.731e-05/0.2005, allocations: 69.27 kB / 0.9192 GB, free: 45.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007873/0.2013, allocations: 0.6918 MB / 0.9198 GB, free: 44.38 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003331/0.2046, allocations: 5.772 MB / 0.9255 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006385/0.2053, allocations: 0.588 MB / 0.9261 GB, free: 37.54 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006077/0.2059, allocations: 416.6 kB / 0.9265 GB, free: 37.13 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.2059, allocations: 4.688 kB / 0.9265 GB, free: 37.13 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.2059, allocations: 34.56 kB / 0.9265 GB, free: 37.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=41): time 2.474e-06/0.206, allocations: 0 / 0.9265 GB, free: 37.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.003732/0.2097, allocations: 2.069 MB / 0.9285 GB, free: 34.92 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.2097, allocations: 59.41 kB / 0.9286 GB, free: 34.85 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/0.2101, allocations: 458.7 kB / 0.929 GB, free: 34.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.2101, allocations: 29.7 kB / 0.929 GB, free: 34.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.2102, allocations: 391 kB / 0.9294 GB, free: 33.97 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.848e-05/0.2103, allocations: 149.9 kB / 0.9295 GB, free: 33.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.2104, allocations: 11.94 kB / 0.9296 GB, free: 33.81 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.472e-05/0.2104, allocations: 366.8 kB / 0.9299 GB, free: 33.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/0.2107, allocations: 245.1 kB / 0.9301 GB, free: 33.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003341/0.2111, allocations: 461 kB / 0.9306 GB, free: 32.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006719/0.2117, allocations: 0.7595 MB / 0.9313 GB, free: 31.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2118, allocations: 4 kB / 0.9313 GB, free: 31.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001486/0.2132, allocations: 1.062 MB / 0.9324 GB, free: 30.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.2133, allocations: 12 kB / 0.9324 GB, free: 30.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.2133, allocations: 7.984 kB / 0.9324 GB, free: 30.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009519/0.2143, allocations: 331.1 kB / 0.9327 GB, free: 30.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.2146, allocations: 91.89 kB / 0.9328 GB, free: 30.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0051/0.2197, allocations: 6.95 MB / 0.9396 GB, free: 22.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003558/0.22, allocations: 28.03 kB / 0.9396 GB, free: 22.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/0.2201, allocations: 32.12 kB / 0.9396 GB, free: 22.72 MB / 0.6042 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003056/0.2204, allocations: 249.8 kB / 0.9399 GB, free: 22.47 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.706e-05/0.2205, allocations: 59.34 kB / 0.9399 GB, free: 22.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/0.2219, allocations: 0.9115 MB / 0.9408 GB, free: 21.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2219, allocations: 11.94 kB / 0.9408 GB, free: 21.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2219, allocations: 4 kB / 0.9408 GB, free: 21.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.2219, allocations: 3.984 kB / 0.9408 GB, free: 21.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002108/0.2241, allocations: 1.708 MB / 0.9425 GB, free: 19.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.2241, allocations: 0 / 0.9425 GB, free: 19.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.2242, allocations: 43.91 kB / 0.9425 GB, free: 19.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008078/0.225, allocations: 327.2 kB / 0.9429 GB, free: 19.28 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/0.2251, allocations: 12.09 kB / 0.9429 GB, free: 19.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00461/0.2297, allocations: 6.939 MB / 0.9496 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2297, allocations: 0 / 0.9496 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.231, allocations: 1.011 MB / 0.9506 GB, free: 10.74 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/0.2312, allocations: 176.4 kB / 0.9508 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.575e-05/0.2313, allocations: 8 kB / 0.9508 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.2316, allocations: 19.97 kB / 0.9508 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.293e-05/0.2317, allocations: 44.11 kB / 0.9509 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.2317, allocations: 19.94 kB / 0.9509 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002469/0.232, allocations: 306.9 kB / 0.9512 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.232, allocations: 3.938 kB / 0.9512 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006693/0.2326, allocations: 196 kB / 0.9514 GB, free: 9.965 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001334/0.2328, allocations: 111.2 kB / 0.9515 GB, free: 9.844 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001444/0.2342, allocations: 1.203 MB / 0.9527 GB, free: 8.59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2342, allocations: 0 / 0.9527 GB, free: 8.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009233/0.2352, allocations: 0.8657 MB / 0.9535 GB, free: 7.672 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009678/0.2362, allocations: 191.2 kB / 0.9537 GB, free: 7.492 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.2378, allocations: 1.612 MB / 0.9553 GB, free: 5.832 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.2381, allocations: 0.9881 MB / 0.9562 GB, free: 4.816 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.784e-05/0.2382, allocations: 39.44 kB / 0.9563 GB, free: 4.777 MB / 0.6042 GB Notification: Performance of SimCode: time 3.1e-07/0.2382, allocations: 0 / 0.9563 GB, free: 4.777 MB / 0.6042 GB Notification: Performance of Templates: time 0.01813/0.2564, allocations: 18.37 MB / 0.9742 GB, free: 2.438 MB / 0.6198 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)