Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.387/2.387, allocations: 391.2 MB / 407 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001282, allocations: 191.4 kB / 499.1 MB, free: 4.637 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.646/1.646, allocations: 222.9 MB / 0.7948 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 111.7 kB / 0.9329 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001102, allocations: 54.7 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3082, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.02809/0.3364, allocations: 37.2 MB / 1.254 GB, free: 79.88 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01877/0.3552, allocations: 13.02 MB / 1.267 GB, free: 66.82 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005046/0.3603, allocations: 155.1 kB / 1.267 GB, free: 66.67 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.008116/0.3684, allocations: 3.61 MB / 1.271 GB, free: 63.05 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.006438/0.3749, allocations: 2.356 MB / 1.273 GB, free: 60.69 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00569/0.3806, allocations: 2.474 MB / 1.276 GB, free: 58.21 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01357/0.3942, allocations: 13.41 MB / 1.289 GB, free: 44.77 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01628/0.4105, allocations: 11.69 MB / 1.3 GB, free: 32.95 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006496/0.4171, allocations: 3.444 MB / 1.303 GB, free: 29.5 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007704/0.4248, allocations: 4.455 MB / 1.308 GB, free: 25.03 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.00252/0.4274, allocations: 0.4922 MB / 1.308 GB, free: 24.54 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004902/0.4323, allocations: 1.81 MB / 1.31 GB, free: 22.72 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.003441/0.4358, allocations: 2.755 MB / 1.313 GB, free: 19.96 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.005224/0.441, allocations: 3.266 MB / 1.316 GB, free: 16.68 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.009736/0.4508, allocations: 11.65 MB / 1.327 GB, free: 4.992 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.4508, allocations: 4 kB / 1.327 GB, free: 4.988 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4508, allocations: 0 / 1.327 GB, free: 4.988 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003469/0.4512, allocations: 4 kB / 1.327 GB, free: 4.984 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01659/0.4678, allocations: 6.354 MB / 1.333 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.4678, allocations: 11.98 kB / 1.334 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008902/0.4767, allocations: 1.305 MB / 1.335 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009201/0.486, allocations: 3.56 MB / 1.338 GB, free: 9.594 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003562/0.4864, allocations: 386.5 kB / 1.339 GB, free: 9.215 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002192/0.4886, allocations: 0.5001 MB / 1.339 GB, free: 8.715 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01909/0.5077, allocations: 8.89 MB / 1.348 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001637/0.5079, allocations: 31.7 kB / 1.348 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000821/0.5087, allocations: 223.9 kB / 1.348 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002244/0.511, allocations: 0.6304 MB / 1.349 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01506/0.526, allocations: 7.01 MB / 1.356 GB, free: 7.566 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05534/0.5814, allocations: 40.33 MB / 1.395 GB, free: 12 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005434/0.5869, allocations: 2.896 MB / 1.398 GB, free: 9.098 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004901/0.5919, allocations: 2.667 MB / 1.4 GB, free: 6.422 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003652/0.5923, allocations: 30.08 kB / 1.4 GB, free: 6.391 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.368e-05/0.5924, allocations: 68.59 kB / 1.4 GB, free: 6.312 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=265): time 6.362e-06/0.5924, allocations: 0 / 1.4 GB, free: 6.312 MB / 0.9011 GB Notification: Performance of matching and sorting (n=424): time 0.9063/1.499, allocations: 74.66 MB / 1.473 GB, free: 160.9 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/1.499, allocations: 94.73 kB / 1.473 GB, free: 160.8 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002757/1.502, allocations: 2.355 MB / 1.476 GB, free: 158.5 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0007353/1.502, allocations: 97.7 kB / 1.476 GB, free: 158.4 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009781/1.503, allocations: 2.336 MB / 1.478 GB, free: 156 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001308/1.505, allocations: 1.438 MB / 1.479 GB, free: 154.6 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001184/1.506, allocations: 0.7254 MB / 1.48 GB, free: 153.8 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.61e-05/1.506, allocations: 305.1 kB / 1.48 GB, free: 153.5 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003399/1.509, allocations: 3.003 MB / 1.483 GB, free: 150.5 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00369/1.513, allocations: 3.839 MB / 1.487 GB, free: 146.4 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007448/1.52, allocations: 7.384 MB / 1.494 GB, free: 138.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-05/1.521, allocations: 4 kB / 1.494 GB, free: 138.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.025/1.546, allocations: 12.56 MB / 1.507 GB, free: 126 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/1.546, allocations: 17.25 kB / 1.507 GB, free: 126 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.464e-05/1.546, allocations: 20 kB / 1.507 GB, free: 125.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02099/1.567, allocations: 6.023 MB / 1.513 GB, free: 119.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/1.569, allocations: 495.2 kB / 1.513 GB, free: 119.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06273/1.632, allocations: 67.17 MB / 1.579 GB, free: 49.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004035/1.636, allocations: 219.8 kB / 1.579 GB, free: 48.89 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004009/1.636, allocations: 156.1 kB / 1.579 GB, free: 48.74 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00298/1.639, allocations: 1.992 MB / 1.581 GB, free: 46.73 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008128/1.64, allocations: 395.4 kB / 1.581 GB, free: 46.34 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02503/1.665, allocations: 12.23 MB / 1.593 GB, free: 34 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.027e-05/1.665, allocations: 43.94 kB / 1.593 GB, free: 33.95 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001446/1.665, allocations: 48 kB / 1.593 GB, free: 33.91 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.229e-05/1.665, allocations: 21.61 kB / 1.593 GB, free: 33.89 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03575/1.701, allocations: 19.14 MB / 1.612 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.678e-05/1.701, allocations: 4 kB / 1.612 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001557/1.703, allocations: 295.5 kB / 1.612 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01972/1.722, allocations: 5.581 MB / 1.618 GB, free: 8.605 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007528/1.723, allocations: 80 kB / 1.618 GB, free: 8.527 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07498/1.798, allocations: 64.78 MB / 1.681 GB, free: 4.598 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/1.798, allocations: 8 kB / 1.681 GB, free: 4.59 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06544/1.864, allocations: 36.74 MB / 1.717 GB, free: 14.64 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003723/1.867, allocations: 1.039 MB / 1.718 GB, free: 13.57 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001163/1.868, allocations: 83.94 kB / 1.718 GB, free: 13.49 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003071/1.872, allocations: 223.8 kB / 1.718 GB, free: 13.27 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001519/1.873, allocations: 406.2 kB / 1.719 GB, free: 12.88 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003143/1.873, allocations: 111.9 kB / 1.719 GB, free: 12.77 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.002365/1.876, allocations: 1.553 MB / 1.72 GB, free: 11.21 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.91e-07/1.876, allocations: 4 kB / 1.72 GB, free: 11.21 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.008039/1.884, allocations: 2.121 MB / 1.722 GB, free: 9.09 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009851/1.885, allocations: 210.9 kB / 1.723 GB, free: 8.875 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.02279/1.908, allocations: 12.17 MB / 1.735 GB, free: 12.39 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.065e-05/1.908, allocations: 4 kB / 1.735 GB, free: 12.39 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.01659/1.924, allocations: 8.362 MB / 1.743 GB, free: 3.727 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006551/1.931, allocations: 1.106 MB / 1.744 GB, free: 2.629 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03189/1.963, allocations: 18.07 MB / 1.761 GB, free: 404 kB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006754/1.97, allocations: 4.241 MB / 1.766 GB, free: 12.12 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.002825/1.972, allocations: 0.6708 MB / 1.766 GB, free: 11.45 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000598/1.973, allocations: 179.4 kB / 1.766 GB, free: 11.27 MB / 1.073 GB Notification: Performance of SimCode: time 5.61e-07/1.973, allocations: 0 / 1.766 GB, free: 11.27 MB / 1.073 GB Notification: Performance of Templates: time 0.7044/2.678, allocations: 115.3 MB / 1.879 GB, free: 369.7 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)