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.0009902/0.0009902, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.00135/0.00135, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.809/1.809, allocations: 252 MB / 0.5102 GB, free: 4.777 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.0006095/0.0006097, allocations: 16 kB / 0.6243 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5574/0.558, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03573/0.5938, allocations: 34.49 MB / 0.7618 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01766/0.6115, allocations: 10.59 MB / 0.7722 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003823/0.6154, allocations: 135.2 kB / 0.7723 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003127/0.6185, allocations: 0.7674 MB / 0.773 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006245/0.6248, allocations: 1.795 MB / 0.7748 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004679/0.6295, allocations: 1.272 MB / 0.776 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01303/0.6425, allocations: 10.36 MB / 0.7862 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02193/0.6645, allocations: 12.66 MB / 0.7985 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007038/0.6716, allocations: 2.875 MB / 0.8013 GB, free: 224 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008801/0.6805, allocations: 3.761 MB / 0.805 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001806/0.6823, allocations: 348 kB / 0.8053 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003455/0.6858, allocations: 0.7103 MB / 0.806 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003352/0.6891, allocations: 2.514 MB / 0.8085 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002549/0.6917, allocations: 1.194 MB / 0.8096 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01262/0.7043, allocations: 10.19 MB / 0.8196 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.7044, allocations: 0 / 0.8196 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.545e-06/0.7044, allocations: 0 / 0.8196 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0004503/0.7048, allocations: 0 / 0.8196 GB, free: 13.46 MB / 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.01437/0.7192, allocations: 5.152 MB / 0.8246 GB, free: 8.234 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.7193, allocations: 11.97 kB / 0.8246 GB, free: 8.223 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006623/0.7259, allocations: 1.066 MB / 0.8257 GB, free: 7.148 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008036/0.734, allocations: 3.349 MB / 0.8289 GB, free: 3.746 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004202/0.7344, allocations: 423.4 kB / 0.8293 GB, free: 3.332 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002394/0.7368, allocations: 0.5429 MB / 0.8299 GB, free: 2.789 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02449/0.7614, allocations: 9.33 MB / 0.839 GB, free: 9.125 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002239/0.7616, allocations: 15.88 kB / 0.839 GB, free: 9.109 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001373/0.763, allocations: 244 kB / 0.8392 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005991/0.7636, allocations: 422.9 kB / 0.8396 GB, free: 8.457 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01525/0.7789, allocations: 7.08 MB / 0.8466 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05649/0.8354, allocations: 41.36 MB / 0.8869 GB, free: 4.266 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004369/0.8398, allocations: 3.1 MB / 0.89 GB, free: 1.156 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002773/0.8426, allocations: 2.125 MB / 0.892 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.8427, allocations: 22 kB / 0.8921 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.128e-05/0.8428, allocations: 56.56 kB / 0.8921 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=209): time 3.417e-06/0.8428, allocations: 4 kB / 0.8921 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of matching and sorting (n=212): time 0.02269/0.8655, allocations: 10.45 MB / 0.9023 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.8657, allocations: 77.41 kB / 0.9024 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003985/0.8697, allocations: 1.982 MB / 0.9043 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005186/0.8702, allocations: 65.7 kB / 0.9044 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.5014/1.372, allocations: 2.391 MB / 0.9067 GB, free: 160.1 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001332/1.373, allocations: 0.738 MB / 0.9075 GB, free: 160.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000258/1.373, allocations: 53.84 kB / 0.9075 GB, free: 160.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002629/1.374, allocations: 413.9 kB / 0.9079 GB, free: 159.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002577/1.376, allocations: 1.365 MB / 0.9092 GB, free: 159.8 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002718/1.379, allocations: 2.095 MB / 0.9113 GB, free: 158.4 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002737/1.382, allocations: 1.725 MB / 0.913 GB, free: 157.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-05/1.382, allocations: 9.094 kB / 0.913 GB, free: 157.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009829/1.391, allocations: 5.036 MB / 0.9179 GB, free: 155.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/1.392, allocations: 16.52 kB / 0.9179 GB, free: 155.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-05/1.392, allocations: 21.84 kB / 0.9179 GB, free: 155.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003585/1.395, allocations: 1.561 MB / 0.9195 GB, free: 155.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/1.397, allocations: 455.5 kB / 0.9199 GB, free: 155.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0174/1.414, allocations: 17.06 MB / 0.9365 GB, free: 145.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002673/1.417, allocations: 143.5 kB / 0.9367 GB, free: 145.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000218/1.417, allocations: 106.7 kB / 0.9368 GB, free: 145.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,69.4%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00333/1.421, allocations: 1.942 MB / 0.9387 GB, free: 144.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005477/1.421, allocations: 290.5 kB / 0.939 GB, free: 144.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006212/1.427, allocations: 4.442 MB / 0.9433 GB, free: 141.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/1.427, allocations: 23.34 kB / 0.9433 GB, free: 141.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-05/1.427, allocations: 20.28 kB / 0.9433 GB, free: 141.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/1.427, allocations: 18.14 kB / 0.9434 GB, free: 141.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01254/1.44, allocations: 9.64 MB / 0.9528 GB, free: 131.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/1.44, allocations: 7.953 kB / 0.9528 GB, free: 131.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000863/1.441, allocations: 235.6 kB / 0.953 GB, free: 131.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002668/1.444, allocations: 1.422 MB / 0.9544 GB, free: 130.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001278/1.444, allocations: 40 kB / 0.9544 GB, free: 130.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01618/1.46, allocations: 17.07 MB / 0.9711 GB, free: 112.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.46, allocations: 7.938 kB / 0.9711 GB, free: 112.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006191/1.466, allocations: 4.521 MB / 0.9755 GB, free: 107.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001474/1.468, allocations: 0.6343 MB / 0.9761 GB, free: 107.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003362/1.468, allocations: 44 kB / 0.9762 GB, free: 107.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/1.469, allocations: 111.9 kB / 0.9763 GB, free: 107 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005047/1.47, allocations: 181.6 kB / 0.9765 GB, free: 106.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/1.47, allocations: 60 kB / 0.9765 GB, free: 106.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001539/1.471, allocations: 1.295 MB / 0.9778 GB, free: 105.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/1.471, allocations: 0 / 0.9778 GB, free: 105.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003531/1.475, allocations: 1.141 MB / 0.9789 GB, free: 104.4 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003062/1.475, allocations: 168.6 kB / 0.9791 GB, free: 104.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006277/1.481, allocations: 4.673 MB / 0.9836 GB, free: 99.46 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/1.481, allocations: 4 kB / 0.9836 GB, free: 99.46 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003833/1.485, allocations: 2.917 MB / 0.9865 GB, free: 96.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003736/1.489, allocations: 0.8415 MB / 0.9873 GB, free: 95.67 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01502/1.504, allocations: 11.22 MB / 0.9983 GB, free: 84.37 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003502/1.508, allocations: 3.697 MB / 1.002 GB, free: 80.64 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002417/1.51, allocations: 0.5518 MB / 1.002 GB, free: 80.08 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003688/1.51, allocations: 147.4 kB / 1.003 GB, free: 79.94 MB / 0.7169 GB Notification: Performance of SimCode: time 7.01e-07/1.51, allocations: 0 / 1.003 GB, free: 79.94 MB / 0.7169 GB Notification: Performance of Templates: time 0.07727/1.588, allocations: 48.81 MB / 1.05 GB, free: 31.83 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: