Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001731/0.001731, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 192.7 kB / 16.13 MB, free: 6.652 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.663/1.663, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.784/1.784, allocations: 292.3 MB / 0.5484 GB, free: 13.64 MB / 462.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.001484/0.001484, allocations: 64.95 kB / 0.6708 GB, free: 26.51 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3053, allocations: 114.5 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03877/0.3441, allocations: 37.46 MB / 0.8193 GB, free: 8.438 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02245/0.3666, allocations: 11.04 MB / 0.83 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005164/0.3719, allocations: 139.2 kB / 0.8302 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01161/0.3835, allocations: 4.053 MB / 0.8341 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008005/0.3916, allocations: 2.096 MB / 0.8362 GB, free: 7.062 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006369/0.398, allocations: 1.975 MB / 0.8381 GB, free: 5.09 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0161/0.4141, allocations: 13.18 MB / 0.851 GB, free: 7.871 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02108/0.4352, allocations: 12.43 MB / 0.8631 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007371/0.4427, allocations: 3.414 MB / 0.8665 GB, free: 7.91 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008848/0.4516, allocations: 4.584 MB / 0.8709 GB, free: 3.312 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.003123/0.4547, allocations: 0.5625 MB / 0.8715 GB, free: 2.75 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005997/0.4607, allocations: 1.552 MB / 0.873 GB, free: 1.195 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.005504/0.4663, allocations: 2.884 MB / 0.8758 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.009173/0.4755, allocations: 3.364 MB / 0.8791 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01731/0.4928, allocations: 12.09 MB / 0.8909 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.4929, allocations: 4 kB / 0.8909 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.484e-06/0.4929, allocations: 0 / 0.8909 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0005085/0.4934, allocations: 0 / 0.8909 GB, free: 14.8 MB / 0.7169 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.02262/0.516, allocations: 6.311 MB / 0.8971 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 8.234e-05/0.5161, allocations: 8.031 kB / 0.8971 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008293/0.5244, allocations: 1.075 MB / 0.8981 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009855/0.5343, allocations: 3.419 MB / 0.9015 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004953/0.5349, allocations: 423.7 kB / 0.9019 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002703/0.5376, allocations: 0.5433 MB / 0.9024 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02816/0.5658, allocations: 9.377 MB / 0.9116 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003558/0.5662, allocations: 23.72 kB / 0.9116 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002557/0.5688, allocations: 248 kB / 0.9118 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007673/0.5695, allocations: 418.9 kB / 0.9122 GB, free: 8.508 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01907/0.5886, allocations: 7.123 MB / 0.9192 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6593/1.248, allocations: 41.31 MB / 0.9595 GB, free: 90.79 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005344/1.253, allocations: 3.107 MB / 0.9626 GB, free: 89.59 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00369/1.257, allocations: 2.136 MB / 0.9646 GB, free: 88.55 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001714/1.257, allocations: 22.03 kB / 0.9647 GB, free: 88.55 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.193e-05/1.257, allocations: 58.41 kB / 0.9647 GB, free: 88.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=209): time 3.957e-06/1.257, allocations: 5.094 kB / 0.9647 GB, free: 88.49 MB / 0.7325 GB Notification: Performance of matching and sorting (n=212): time 0.02506/1.282, allocations: 10.55 MB / 0.975 GB, free: 82.57 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/1.283, allocations: 77.88 kB / 0.9751 GB, free: 82.51 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00336/1.286, allocations: 2.003 MB / 0.9771 GB, free: 81.42 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000321/1.286, allocations: 62.52 kB / 0.9771 GB, free: 81.36 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001374/1.288, allocations: 2.406 MB / 0.9795 GB, free: 79.25 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007476/1.288, allocations: 0.7316 MB / 0.9802 GB, free: 78.62 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009634/1.289, allocations: 477 kB / 0.9806 GB, free: 78.36 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.307e-05/1.289, allocations: 309 kB / 0.9809 GB, free: 78.06 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001856/1.291, allocations: 1.376 MB / 0.9823 GB, free: 77.34 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00211/1.293, allocations: 2.111 MB / 0.9843 GB, free: 75.67 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003958/1.297, allocations: 3.765 MB / 0.988 GB, free: 73.11 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.488e-05/1.297, allocations: 9.25 kB / 0.988 GB, free: 73.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007867/1.305, allocations: 5.074 MB / 0.993 GB, free: 70.41 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.083e-05/1.305, allocations: 14.66 kB / 0.993 GB, free: 70.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.56e-05/1.305, allocations: 20.41 kB / 0.993 GB, free: 70.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003267/1.309, allocations: 1.582 MB / 0.9946 GB, free: 69.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/1.31, allocations: 452.6 kB / 0.995 GB, free: 69.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01682/1.327, allocations: 17.08 MB / 1.012 GB, free: 53.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002553/1.33, allocations: 148 kB / 1.012 GB, free: 53.63 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005243/1.33, allocations: 108 kB / 1.012 GB, free: 53.53 MB / 0.7325 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.003257/1.333, allocations: 1.945 MB / 1.014 GB, free: 51.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007267/1.334, allocations: 292.6 kB / 1.014 GB, free: 51.28 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006467/1.341, allocations: 4.454 MB / 1.018 GB, free: 46.79 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/1.341, allocations: 23.56 kB / 1.018 GB, free: 46.77 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.563e-05/1.341, allocations: 20 kB / 1.018 GB, free: 46.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/1.341, allocations: 7.969 kB / 1.018 GB, free: 46.75 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01524/1.356, allocations: 9.658 MB / 1.028 GB, free: 36.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/1.356, allocations: 4 kB / 1.028 GB, free: 36.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009901/1.357, allocations: 239.6 kB / 1.028 GB, free: 36.74 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003119/1.36, allocations: 1.427 MB / 1.03 GB, free: 35.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002533/1.36, allocations: 40 kB / 1.03 GB, free: 35.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01625/1.377, allocations: 17.06 MB / 1.046 GB, free: 17.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.377, allocations: 4 kB / 1.046 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006061/1.383, allocations: 4.54 MB / 1.051 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001317/1.384, allocations: 0.6304 MB / 1.051 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003793/1.385, allocations: 40 kB / 1.051 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/1.386, allocations: 119.8 kB / 1.051 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004549/1.386, allocations: 177.6 kB / 1.052 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/1.386, allocations: 56 kB / 1.052 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001401/1.388, allocations: 1.323 MB / 1.053 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.388, allocations: 3.938 kB / 1.053 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00292/1.391, allocations: 1.137 MB / 1.054 GB, free: 9.543 MB / 0.7325 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.0002653/1.391, allocations: 167 kB / 1.054 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00583/1.397, allocations: 4.693 MB / 1.059 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.397, allocations: 1 kB / 1.059 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003642/1.4, allocations: 2.921 MB / 1.062 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00357/1.404, allocations: 0.8298 MB / 1.062 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01662/1.421, allocations: 11.76 MB / 1.074 GB, free: 4.996 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004529/1.425, allocations: 3.683 MB / 1.078 GB, free: 1.281 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002447/1.428, allocations: 0.5556 MB / 1.078 GB, free: 0.7188 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004375/1.428, allocations: 155.4 kB / 1.078 GB, free: 0.5664 MB / 0.7481 GB Notification: Performance of SimCode: time 7.62e-07/1.428, allocations: 0 / 1.078 GB, free: 0.5664 MB / 0.7481 GB Notification: Performance of Templates: time 0.08717/1.515, allocations: 51.13 MB / 1.128 GB, free: 14.12 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)