Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001968/0.001968, allocations: 197.4 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205.1 MB / 222.4 MB, free: 4.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.709/1.709, allocations: 251.7 MB / 0.5092 GB, free: 3.164 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 75.84 kB / 0.6223 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5657/0.5672, allocations: 104.7 MB / 0.7245 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04143/0.6086, allocations: 37.81 MB / 0.7615 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02539/0.6341, allocations: 11.09 MB / 0.7723 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006332/0.6406, allocations: 155.3 kB / 0.7724 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01178/0.6524, allocations: 4.348 MB / 0.7767 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008239/0.6607, allocations: 2.219 MB / 0.7788 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007208/0.6679, allocations: 2.163 MB / 0.781 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01536/0.6833, allocations: 9.284 MB / 0.79 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02332/0.7067, allocations: 11.35 MB / 0.8011 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01042/0.7172, allocations: 3.989 MB / 0.805 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01026/0.7275, allocations: 4.494 MB / 0.8094 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.004176/0.7318, allocations: 0.8242 MB / 0.8102 GB, free: 4.859 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007189/0.739, allocations: 1.592 MB / 0.8117 GB, free: 3.266 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.007695/0.7467, allocations: 3.154 MB / 0.8148 GB, free: 108 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.01366/0.7604, allocations: 3.657 MB / 0.8184 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02689/0.7874, allocations: 12.23 MB / 0.8303 GB, free: 172 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.335e-05/0.7875, allocations: 0 / 0.8303 GB, free: 172 kB / 0.6387 GB Notification: Performance of FrontEnd: time 2.575e-06/0.7875, allocations: 0 / 0.8303 GB, free: 172 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0005635/0.7881, allocations: 0 / 0.8303 GB, free: 172 kB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.03597/0.8241, allocations: 6.315 MB / 0.8365 GB, free: 9.781 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 7.442e-05/0.8242, allocations: 12.03 kB / 0.8365 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01314/0.8374, allocations: 1.059 MB / 0.8376 GB, free: 8.703 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0144/0.8518, allocations: 3.438 MB / 0.8409 GB, free: 5.211 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008118/0.8527, allocations: 419.8 kB / 0.8413 GB, free: 4.801 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003778/0.8565, allocations: 0.5394 MB / 0.8418 GB, free: 4.262 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03108/0.8877, allocations: 9.377 MB / 0.851 GB, free: 10.55 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004227/0.8882, allocations: 31.7 kB / 0.851 GB, free: 10.52 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002963/0.8912, allocations: 244 kB / 0.8513 GB, free: 10.28 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00095/0.8921, allocations: 418.9 kB / 0.8517 GB, free: 9.871 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01858/0.9108, allocations: 7.123 MB / 0.8586 GB, free: 2.738 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06459/0.9754, allocations: 41.31 MB / 0.899 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005603/0.9811, allocations: 3.104 MB / 0.902 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003517/0.9846, allocations: 2.145 MB / 0.9041 GB, free: 440 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001951/0.9848, allocations: 25.94 kB / 0.9041 GB, free: 416 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.918e-05/0.9849, allocations: 60.56 kB / 0.9042 GB, free: 344 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=209): time 4.688e-06/0.9849, allocations: 3.938 kB / 0.9042 GB, free: 340 kB / 0.7169 GB Notification: Performance of matching and sorting (n=212): time 0.5353/1.52, allocations: 10.55 MB / 0.9145 GB, free: 160.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/1.52, allocations: 73.41 kB / 0.9145 GB, free: 160.3 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002942/1.523, allocations: 2.009 MB / 0.9165 GB, free: 159.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001581/1.523, allocations: 63.33 kB / 0.9166 GB, free: 159.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00134/1.525, allocations: 2.406 MB / 0.9189 GB, free: 157.6 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004808/1.525, allocations: 0.7284 MB / 0.9196 GB, free: 157 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006334/1.526, allocations: 479.7 kB / 0.9201 GB, free: 156.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.22e-05/1.526, allocations: 305.1 kB / 0.9204 GB, free: 156.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001638/1.528, allocations: 1.376 MB / 0.9217 GB, free: 156 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001834/1.529, allocations: 2.103 MB / 0.9238 GB, free: 154.6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003526/1.533, allocations: 3.765 MB / 0.9275 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/1.533, allocations: 3.969 kB / 0.9275 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006837/1.54, allocations: 5.069 MB / 0.9324 GB, free: 150.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/1.54, allocations: 15.94 kB / 0.9324 GB, free: 150.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.559e-05/1.54, allocations: 22.72 kB / 0.9324 GB, free: 150.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00297/1.543, allocations: 1.589 MB / 0.934 GB, free: 149.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/1.544, allocations: 462.5 kB / 0.9344 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01746/1.562, allocations: 18.58 MB / 0.9526 GB, free: 131.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003002/1.565, allocations: 147.9 kB / 0.9527 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002627/1.565, allocations: 107.7 kB / 0.9528 GB, free: 131.3 MB / 0.7169 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00394/1.569, allocations: 1.95 MB / 0.9547 GB, free: 129.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007902/1.57, allocations: 284.7 kB / 0.955 GB, free: 129.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005935/1.576, allocations: 4.447 MB / 0.9593 GB, free: 124.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/1.576, allocations: 20 kB / 0.9594 GB, free: 124.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.607e-05/1.576, allocations: 19.94 kB / 0.9594 GB, free: 124.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.32e-05/1.576, allocations: 15.95 kB / 0.9594 GB, free: 124.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01421/1.59, allocations: 9.657 MB / 0.9688 GB, free: 114.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/1.59, allocations: 4 kB / 0.9688 GB, free: 114.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009189/1.591, allocations: 231.6 kB / 0.9691 GB, free: 114.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002919/1.594, allocations: 1.443 MB / 0.9705 GB, free: 113.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001286/1.594, allocations: 40 kB / 0.9705 GB, free: 113.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01718/1.611, allocations: 18.58 MB / 0.9886 GB, free: 93.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.802e-06/1.611, allocations: 14.34 kB / 0.9887 GB, free: 93.92 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006448/1.618, allocations: 4.537 MB / 0.9931 GB, free: 89.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001401/1.619, allocations: 0.6342 MB / 0.9937 GB, free: 88.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006903/1.62, allocations: 39.98 kB / 0.9937 GB, free: 88.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/1.622, allocations: 123.9 kB / 0.9939 GB, free: 88.48 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005221/1.622, allocations: 173.6 kB / 0.994 GB, free: 88.31 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/1.622, allocations: 59.98 kB / 0.9941 GB, free: 88.25 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001552/1.624, allocations: 1.315 MB / 0.9954 GB, free: 86.93 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/1.624, allocations: 0 / 0.9954 GB, free: 86.93 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004072/1.628, allocations: 1.141 MB / 0.9965 GB, free: 85.79 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003636/1.628, allocations: 163 kB / 0.9966 GB, free: 85.62 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008456/1.637, allocations: 5.919 MB / 1.002 GB, free: 79.66 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/1.637, allocations: 4 kB / 1.002 GB, free: 79.66 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.004207/1.641, allocations: 2.918 MB / 1.005 GB, free: 76.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004772/1.646, allocations: 0.8991 MB / 1.006 GB, free: 75.84 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01618/1.662, allocations: 9.392 MB / 1.015 GB, free: 66.38 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00341/1.665, allocations: 3.686 MB / 1.019 GB, free: 62.66 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0022/1.668, allocations: 0.5556 MB / 1.019 GB, free: 62.09 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004795/1.668, allocations: 155.4 kB / 1.02 GB, free: 61.94 MB / 0.7169 GB Notification: Performance of SimCode: time 1.693e-06/1.668, allocations: 0 / 1.02 GB, free: 61.94 MB / 0.7169 GB Notification: Performance of Templates: time 0.09469/1.763, allocations: 52.88 MB / 1.071 GB, free: 9.82 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)