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_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.516/1.516, allocations: 252 MB / 268 MB, free: 10.84 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.001121/0.001121, allocations: 168.4 kB / 327.6 MB, free: 2.078 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.767/1.767, allocations: 205.4 MB / 0.5786 GB, free: 20.16 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.0008167/0.0008169, allocations: 86.36 kB / 0.6832 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003266/0.0003267, allocations: 7.812 kB / 0.7976 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.192, allocations: 106.3 MB / 0.9015 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006042/0.198, allocations: 6.271 MB / 0.9076 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004192/0.2023, allocations: 3.041 MB / 0.9106 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006528/0.2029, allocations: 23.81 kB / 0.9106 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004512/0.2034, allocations: 138.9 kB / 0.9107 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.2046, allocations: 477.6 kB / 0.9112 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009222/0.2055, allocations: 386.4 kB / 0.9115 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001332/0.2068, allocations: 1.591 MB / 0.9131 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001495/0.2083, allocations: 1 MB / 0.9141 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005823/0.2089, allocations: 406.2 kB / 0.9145 GB, free: 49.9 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005285/0.2095, allocations: 498 kB / 0.9149 GB, free: 49.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.555e-05/0.2096, allocations: 36 kB / 0.915 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006124/0.2102, allocations: 435.1 kB / 0.9154 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.2104, allocations: 271.1 kB / 0.9156 GB, free: 48.69 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002926/0.2107, allocations: 435.5 kB / 0.9161 GB, free: 48.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006131/0.2113, allocations: 0.9159 MB / 0.9169 GB, free: 47.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2113, allocations: 0 / 0.9169 GB, free: 47.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2113, allocations: 0 / 0.9169 GB, free: 47.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.2113, allocations: 3.938 kB / 0.917 GB, free: 47.33 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001237/0.2126, allocations: 0.9972 MB / 0.9179 GB, free: 46.28 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.2126, allocations: 8.031 kB / 0.9179 GB, free: 46.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.214, allocations: 243.6 kB / 0.9182 GB, free: 46.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006017/0.2146, allocations: 0.5452 MB / 0.9187 GB, free: 45.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.2146, allocations: 49.67 kB / 0.9187 GB, free: 45.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.596e-05/0.2147, allocations: 64.36 kB / 0.9188 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.2158, allocations: 1.093 MB / 0.9199 GB, free: 44.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.2159, allocations: 7.938 kB / 0.9199 GB, free: 44.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.105e-05/0.2159, allocations: 27.98 kB / 0.9199 GB, free: 44.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001272/0.2161, allocations: 85.25 kB / 0.92 GB, free: 44.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009088/0.217, allocations: 0.7543 MB / 0.9207 GB, free: 43.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003606/0.2206, allocations: 5.897 MB / 0.9265 GB, free: 36.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007776/0.2214, allocations: 0.5554 MB / 0.927 GB, free: 36.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003366/0.2218, allocations: 330 kB / 0.9273 GB, free: 36.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.2218, allocations: 4.438 kB / 0.9273 GB, free: 36.05 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.2218, allocations: 39 kB / 0.9274 GB, free: 36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 2.175e-06/0.2218, allocations: 0 / 0.9274 GB, free: 36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.003133/0.225, allocations: 1.99 MB / 0.9293 GB, free: 33.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.225, allocations: 63.78 kB / 0.9294 GB, free: 33.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004504/0.2255, allocations: 0.5586 MB / 0.9299 GB, free: 33.27 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.2255, allocations: 29.7 kB / 0.93 GB, free: 33.23 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.2257, allocations: 418.9 kB / 0.9304 GB, free: 32.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.667e-05/0.2258, allocations: 169.6 kB / 0.9305 GB, free: 32.65 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.2258, allocations: 16 kB / 0.9305 GB, free: 32.63 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.81e-05/0.2259, allocations: 374.7 kB / 0.9309 GB, free: 32.26 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/0.2262, allocations: 273.8 kB / 0.9312 GB, free: 31.99 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003864/0.2266, allocations: 0.4892 MB / 0.9316 GB, free: 31.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007827/0.2274, allocations: 0.8132 MB / 0.9324 GB, free: 30.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2274, allocations: 4 kB / 0.9324 GB, free: 30.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001442/0.2289, allocations: 1.083 MB / 0.9335 GB, free: 29.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.2289, allocations: 11.98 kB / 0.9335 GB, free: 29.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.2289, allocations: 4 kB / 0.9335 GB, free: 29.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007131/0.2296, allocations: 279.3 kB / 0.9338 GB, free: 29.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004176/0.23, allocations: 123.8 kB / 0.9339 GB, free: 28.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004277/0.2343, allocations: 6.606 MB / 0.9403 GB, free: 21.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004767/0.2348, allocations: 43.95 kB / 0.9404 GB, free: 21.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.131e-05/0.2349, allocations: 27.94 kB / 0.9404 GB, free: 21.75 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 (67): * Single equations (assignments): 63 * 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 {(2,6,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.0002766/0.2352, allocations: 261.5 kB / 0.9407 GB, free: 21.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.043e-05/0.2352, allocations: 67.25 kB / 0.9407 GB, free: 21.42 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/0.2365, allocations: 0.8962 MB / 0.9416 GB, free: 20.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.2365, allocations: 4 kB / 0.9416 GB, free: 20.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2365, allocations: 4 kB / 0.9416 GB, free: 20.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2365, allocations: 3.984 kB / 0.9416 GB, free: 20.49 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/0.2385, allocations: 1.713 MB / 0.9433 GB, free: 18.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.2385, allocations: 7.938 kB / 0.9433 GB, free: 18.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/0.2388, allocations: 59.89 kB / 0.9433 GB, free: 18.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006438/0.2394, allocations: 267.3 kB / 0.9436 GB, free: 18.35 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/0.2395, allocations: 12 kB / 0.9436 GB, free: 18.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00414/0.2436, allocations: 6.591 MB / 0.9501 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.2436, allocations: 8.016 kB / 0.9501 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.2448, allocations: 0.9873 MB / 0.951 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.245, allocations: 192.2 kB / 0.9512 GB, free: 9.965 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.668e-05/0.2451, allocations: 15.94 kB / 0.9512 GB, free: 9.949 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003424/0.2454, allocations: 32.14 kB / 0.9513 GB, free: 9.918 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.887e-05/0.2455, allocations: 39.89 kB / 0.9513 GB, free: 9.879 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.2456, allocations: 20 kB / 0.9513 GB, free: 9.859 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003206/0.2459, allocations: 383.1 kB / 0.9517 GB, free: 9.488 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.31e-07/0.2459, allocations: 0 / 0.9517 GB, free: 9.488 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006325/0.2465, allocations: 231.9 kB / 0.9519 GB, free: 9.262 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001206/0.2467, allocations: 117.3 kB / 0.952 GB, free: 9.137 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001501/0.2482, allocations: 1.268 MB / 0.9532 GB, free: 7.816 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2482, allocations: 3.938 kB / 0.9532 GB, free: 7.812 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009449/0.2491, allocations: 0.8975 MB / 0.9541 GB, free: 6.863 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009902/0.2501, allocations: 206.1 kB / 0.9543 GB, free: 6.668 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.2518, allocations: 1.724 MB / 0.956 GB, free: 4.891 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.2521, allocations: 1.005 MB / 0.957 GB, free: 3.859 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.2523, allocations: 47.44 kB / 0.957 GB, free: 3.812 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2523, allocations: 0 / 0.957 GB, free: 3.812 MB / 0.6042 GB Notification: Performance of Templates: time 0.02169/0.274, allocations: 20.55 MB / 0.9771 GB, free: 15.31 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)