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.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.509/1.509, 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.001031/0.001031, allocations: 183.4 kB / 327.6 MB, free: 2.098 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.685/1.685, 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.000776/0.0007761, allocations: 97.59 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003046/0.0003046, allocations: 11.69 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1813, allocations: 106.3 MB / 0.9015 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.005879/0.1872, allocations: 6.341 MB / 0.9077 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004042/0.1913, allocations: 3.068 MB / 0.9107 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006512/0.192, allocations: 19.88 kB / 0.9107 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004228/0.1924, allocations: 134.8 kB / 0.9108 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001187/0.1936, allocations: 489.6 kB / 0.9113 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009928/0.1946, allocations: 402 kB / 0.9116 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001381/0.196, allocations: 1.595 MB / 0.9132 GB, free: 51.42 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001492/0.1975, allocations: 1.008 MB / 0.9142 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006338/0.1982, allocations: 394.3 kB / 0.9146 GB, free: 50 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006483/0.1988, allocations: 0.498 MB / 0.9151 GB, free: 49.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.199, allocations: 36 kB / 0.9151 GB, free: 49.47 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000756/0.1997, allocations: 439.1 kB / 0.9155 GB, free: 49.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002755/0.2, allocations: 271.1 kB / 0.9158 GB, free: 48.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004895/0.2005, allocations: 431.5 kB / 0.9162 GB, free: 48.34 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008571/0.2014, allocations: 0.9158 MB / 0.9171 GB, free: 47.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.2014, allocations: 0 / 0.9171 GB, free: 47.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2014, allocations: 4 kB / 0.9171 GB, free: 47.42 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.002e-05/0.2014, allocations: 0 / 0.9171 GB, free: 47.42 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.00162/0.2031, allocations: 1.013 MB / 0.9181 GB, free: 46.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.2031, allocations: 12.03 kB / 0.9181 GB, free: 46.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/0.2046, allocations: 231.6 kB / 0.9183 GB, free: 46.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00073/0.2053, allocations: 0.557 MB / 0.9188 GB, free: 45.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.2054, allocations: 45.67 kB / 0.9189 GB, free: 45.48 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.99e-05/0.2055, allocations: 76.2 kB / 0.919 GB, free: 45.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.2067, allocations: 1.089 MB / 0.92 GB, free: 44.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.2067, allocations: 7.938 kB / 0.92 GB, free: 44.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.346e-05/0.2068, allocations: 31.98 kB / 0.9201 GB, free: 44.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001215/0.2069, allocations: 85.25 kB / 0.9201 GB, free: 44.08 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009685/0.2079, allocations: 0.7543 MB / 0.9209 GB, free: 43.32 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003862/0.2118, allocations: 5.893 MB / 0.9266 GB, free: 37.01 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008057/0.2126, allocations: 0.5613 MB / 0.9272 GB, free: 36.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003549/0.213, allocations: 322 kB / 0.9275 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.213, allocations: 4.438 kB / 0.9275 GB, free: 36.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.213, allocations: 39 kB / 0.9275 GB, free: 36.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 1.884e-06/0.213, allocations: 3.938 kB / 0.9275 GB, free: 36.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.003575/0.2166, allocations: 1.998 MB / 0.9295 GB, free: 33.97 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.2167, allocations: 55.84 kB / 0.9295 GB, free: 33.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005794/0.2173, allocations: 0.5704 MB / 0.9301 GB, free: 33.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.2173, allocations: 29.7 kB / 0.9301 GB, free: 33.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.2175, allocations: 426.9 kB / 0.9305 GB, free: 32.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.2176, allocations: 165.6 kB / 0.9307 GB, free: 32.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.2177, allocations: 16 kB / 0.9307 GB, free: 32.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2178, allocations: 378.7 kB / 0.9311 GB, free: 32.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004452/0.2182, allocations: 273.8 kB / 0.9313 GB, free: 32.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004525/0.2187, allocations: 0.4892 MB / 0.9318 GB, free: 31.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008243/0.2195, allocations: 0.8093 MB / 0.9326 GB, free: 30.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.2196, allocations: 4 kB / 0.9326 GB, free: 30.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001584/0.2211, allocations: 1.091 MB / 0.9337 GB, free: 29.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.2212, allocations: 8 kB / 0.9337 GB, free: 29.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.2212, allocations: 8 kB / 0.9337 GB, free: 29.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007653/0.222, allocations: 279.2 kB / 0.9339 GB, free: 29.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004617/0.2224, allocations: 127.7 kB / 0.9341 GB, free: 29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004384/0.2268, allocations: 6.595 MB / 0.9405 GB, free: 21.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005252/0.2274, allocations: 43.95 kB / 0.9405 GB, free: 21.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.097e-05/0.2274, allocations: 32 kB / 0.9406 GB, free: 21.8 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.0002859/0.2277, allocations: 253.6 kB / 0.9408 GB, free: 21.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.994e-05/0.2278, allocations: 71.16 kB / 0.9409 GB, free: 21.47 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.2291, allocations: 0.8963 MB / 0.9418 GB, free: 20.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.2291, allocations: 4 kB / 0.9418 GB, free: 20.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.2292, allocations: 4 kB / 0.9418 GB, free: 20.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2292, allocations: 7.922 kB / 0.9418 GB, free: 20.53 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/0.2313, allocations: 1.724 MB / 0.9435 GB, free: 18.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.2314, allocations: 7.922 kB / 0.9435 GB, free: 18.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/0.2316, allocations: 63.89 kB / 0.9435 GB, free: 18.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006537/0.2323, allocations: 263.4 kB / 0.9438 GB, free: 18.38 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.2323, allocations: 16 kB / 0.9438 GB, free: 18.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004356/0.2367, allocations: 6.595 MB / 0.9502 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2367, allocations: 0 / 0.9502 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.238, allocations: 0.9913 MB / 0.9512 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000269/0.2382, allocations: 192.2 kB / 0.9514 GB, free: 9.988 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.794e-05/0.2384, allocations: 15.92 kB / 0.9514 GB, free: 9.973 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003795/0.2387, allocations: 32.16 kB / 0.9514 GB, free: 9.941 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.704e-05/0.2388, allocations: 39.94 kB / 0.9515 GB, free: 9.902 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-05/0.2389, allocations: 20 kB / 0.9515 GB, free: 9.883 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003466/0.2392, allocations: 387.1 kB / 0.9519 GB, free: 9.512 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2392, allocations: 0 / 0.9519 GB, free: 9.512 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007412/0.24, allocations: 224 kB / 0.9521 GB, free: 9.293 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.0001559/0.2402, allocations: 119.2 kB / 0.9522 GB, free: 9.164 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00172/0.2419, allocations: 1.271 MB / 0.9534 GB, free: 7.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.2419, allocations: 0 / 0.9534 GB, free: 7.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.2429, allocations: 0.9013 MB / 0.9543 GB, free: 6.887 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.244, allocations: 205.9 kB / 0.9545 GB, free: 6.688 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.2461, allocations: 1.733 MB / 0.9562 GB, free: 4.902 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.2465, allocations: 1.013 MB / 0.9572 GB, free: 3.863 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.2467, allocations: 43.44 kB / 0.9572 GB, free: 3.82 MB / 0.6042 GB Notification: Performance of SimCode: time 5.62e-07/0.2467, allocations: 0 / 0.9572 GB, free: 3.82 MB / 0.6042 GB Notification: Performance of Templates: time 0.02341/0.2701, allocations: 20.75 MB / 0.9775 GB, free: 15.11 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)