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.422/1.422, 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.001044/0.001044, allocations: 171.9 kB / 326.5 MB, free: 2.684 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.591/1.591, allocations: 205 MB / 0.5766 GB, free: 20.93 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.0006669/0.0006668, allocations: 83.98 kB / 0.6803 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000294/0.0002941, allocations: 12.5 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1739, allocations: 105.4 MB / 0.8968 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.004716/0.1786, allocations: 5.742 MB / 0.9024 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00381/0.1825, allocations: 3.228 MB / 0.9055 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004338/0.1829, allocations: 23.81 kB / 0.9055 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.1847, allocations: 0.8604 MB / 0.9064 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008833/0.1856, allocations: 442 kB / 0.9068 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009379/0.1866, allocations: 445.4 kB / 0.9072 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0009577/0.1875, allocations: 1.451 MB / 0.9086 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006998/0.1882, allocations: 0.6363 MB / 0.9093 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000384/0.1886, allocations: 370.3 kB / 0.9096 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003753/0.189, allocations: 446.2 kB / 0.91 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.471e-05/0.1891, allocations: 28 kB / 0.9101 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007373/0.1898, allocations: 0.5769 MB / 0.9106 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001624/0.19, allocations: 255.3 kB / 0.9109 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002271/0.1902, allocations: 350 kB / 0.9112 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006459/0.1909, allocations: 0.896 MB / 0.9121 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1909, allocations: 4 kB / 0.9121 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1909, allocations: 0 / 0.9121 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.1909, allocations: 0 / 0.9121 GB, free: 52.39 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.001057/0.192, allocations: 0.9086 MB / 0.913 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.192, allocations: 12.03 kB / 0.913 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.1933, allocations: 219.6 kB / 0.9132 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005506/0.1939, allocations: 0.5337 MB / 0.9137 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.1939, allocations: 49.61 kB / 0.9138 GB, free: 50.58 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.079e-05/0.194, allocations: 64.28 kB / 0.9138 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.195, allocations: 1.034 MB / 0.9148 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.195, allocations: 7.938 kB / 0.9148 GB, free: 49.37 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-05/0.1951, allocations: 31.98 kB / 0.9149 GB, free: 49.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.816e-05/0.1952, allocations: 77.25 kB / 0.9149 GB, free: 49.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007704/0.196, allocations: 0.6879 MB / 0.9156 GB, free: 48.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003224/0.1992, allocations: 5.753 MB / 0.9212 GB, free: 42.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006205/0.1998, allocations: 0.5904 MB / 0.9218 GB, free: 41.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006032/0.2004, allocations: 424.5 kB / 0.9222 GB, free: 41.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.749e-05/0.2005, allocations: 4.688 kB / 0.9222 GB, free: 41.33 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.446e-05/0.2005, allocations: 34.56 kB / 0.9223 GB, free: 41.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=41): time 2.104e-06/0.2005, allocations: 0 / 0.9223 GB, free: 41.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.003584/0.2041, allocations: 2.069 MB / 0.9243 GB, free: 39.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.2041, allocations: 55.41 kB / 0.9243 GB, free: 39.06 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003203/0.2045, allocations: 458.7 kB / 0.9248 GB, free: 38.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.2045, allocations: 29.7 kB / 0.9248 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.2047, allocations: 395 kB / 0.9252 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.589e-05/0.2047, allocations: 146 kB / 0.9253 GB, free: 38.03 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-05/0.2048, allocations: 49.69 kB / 0.9254 GB, free: 37.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.69e-05/0.2049, allocations: 362.8 kB / 0.9257 GB, free: 37.61 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.2051, allocations: 253.2 kB / 0.9259 GB, free: 37.37 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003245/0.2055, allocations: 453 kB / 0.9264 GB, free: 36.83 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006314/0.2061, allocations: 0.7594 MB / 0.9271 GB, free: 35.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2061, allocations: 4 kB / 0.9271 GB, free: 35.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001506/0.2076, allocations: 1.066 MB / 0.9282 GB, free: 34.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.2077, allocations: 8 kB / 0.9282 GB, free: 34.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.2077, allocations: 8 kB / 0.9282 GB, free: 34.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008796/0.2086, allocations: 327.3 kB / 0.9285 GB, free: 34.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.2088, allocations: 103.8 kB / 0.9286 GB, free: 34.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004541/0.2134, allocations: 6.95 MB / 0.9354 GB, free: 26.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003776/0.2138, allocations: 32.02 kB / 0.9354 GB, free: 26.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.48e-05/0.2138, allocations: 32 kB / 0.9354 GB, free: 26.88 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.0002597/0.2141, allocations: 246.2 kB / 0.9357 GB, free: 26.63 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.681e-05/0.2142, allocations: 55.34 kB / 0.9357 GB, free: 26.58 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.2155, allocations: 0.9157 MB / 0.9366 GB, free: 25.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.2156, allocations: 4 kB / 0.9366 GB, free: 25.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.2156, allocations: 4 kB / 0.9366 GB, free: 25.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/0.2156, allocations: 7.922 kB / 0.9366 GB, free: 25.62 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001996/0.2176, allocations: 1.712 MB / 0.9383 GB, free: 23.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.2176, allocations: 4.188 kB / 0.9383 GB, free: 23.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.2177, allocations: 43.91 kB / 0.9383 GB, free: 23.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008287/0.2186, allocations: 327 kB / 0.9387 GB, free: 23.44 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.2186, allocations: 11.98 kB / 0.9387 GB, free: 23.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004471/0.2231, allocations: 6.95 MB / 0.9455 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2231, allocations: 0 / 0.9455 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.2244, allocations: 1.007 MB / 0.9464 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.2246, allocations: 172.4 kB / 0.9466 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.74e-05/0.2247, allocations: 12 kB / 0.9466 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.225, allocations: 19.98 kB / 0.9466 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.871e-05/0.2251, allocations: 47.88 kB / 0.9467 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.2251, allocations: 15.94 kB / 0.9467 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002349/0.2253, allocations: 303.2 kB / 0.947 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2253, allocations: 0 / 0.947 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006484/0.226, allocations: 196 kB / 0.9472 GB, free: 14.12 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.0001297/0.2261, allocations: 119.1 kB / 0.9473 GB, free: 14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001407/0.2275, allocations: 1.203 MB / 0.9485 GB, free: 12.74 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2276, allocations: 0 / 0.9485 GB, free: 12.74 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00088/0.2284, allocations: 0.8618 MB / 0.9493 GB, free: 11.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009105/0.2294, allocations: 189.5 kB / 0.9495 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.231, allocations: 1.579 MB / 0.951 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.2313, allocations: 0.9921 MB / 0.952 GB, free: 9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.432e-05/0.2314, allocations: 39.44 kB / 0.952 GB, free: 8.961 MB / 0.6042 GB Notification: Performance of SimCode: time 4.21e-07/0.2314, allocations: 0 / 0.952 GB, free: 8.961 MB / 0.6042 GB Notification: Performance of Templates: time 0.01701/0.2484, allocations: 18.37 MB / 0.97 GB, free: 6.617 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)