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_L_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_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008159/0.008158, allocations: 96.23 kB / 15.73 MB, free: 6.062 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.001395/0.001395, allocations: 198.2 kB / 16.68 MB, free: 5.98 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.667/1.667, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.822/1.822, allocations: 251.7 MB / 0.5094 GB, free: 3.117 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.001469/0.001469, allocations: 67.91 kB / 0.7258 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2967, allocations: 104.7 MB / 0.8281 GB, free: 220 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04535/0.3421, allocations: 34.71 MB / 0.862 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02132/0.3635, allocations: 11.63 MB / 0.8733 GB, free: 1.719 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00537/0.369, allocations: 159.2 kB / 0.8735 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.01289/0.3819, allocations: 4.239 MB / 0.8776 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01014/0.3921, allocations: 1.982 MB / 0.8795 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.009829/0.4019, allocations: 2.405 MB / 0.8819 GB, free: 8.918 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01522/0.4172, allocations: 8.464 MB / 0.8902 GB, free: 440 kB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.018/0.4352, allocations: 11.13 MB / 0.901 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007591/0.4429, allocations: 3.743 MB / 0.9047 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6791/1.122, allocations: 4.183 MB / 0.9088 GB, free: 24.96 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.004009/1.126, allocations: 0.7792 MB / 0.9095 GB, free: 24.96 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007473/1.134, allocations: 2.023 MB / 0.9115 GB, free: 24.96 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.006215/1.14, allocations: 3.051 MB / 0.9145 GB, free: 24.96 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01178/1.152, allocations: 3.399 MB / 0.9178 GB, free: 24.46 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02086/1.173, allocations: 12.01 MB / 0.9295 GB, free: 23.34 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.308e-06/1.173, allocations: 0 / 0.9295 GB, free: 23.34 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.264e-06/1.173, allocations: 0 / 0.9295 GB, free: 23.34 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0005637/1.173, allocations: 0 / 0.9295 GB, free: 23.34 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02547/1.199, allocations: 5.948 MB / 0.9353 GB, free: 21.06 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/1.199, allocations: 9.281 kB / 0.9353 GB, free: 21.06 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00931/1.208, allocations: 1.092 MB / 0.9364 GB, free: 20.74 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01263/1.221, allocations: 3.472 MB / 0.9398 GB, free: 20.04 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000567/1.221, allocations: 414.2 kB / 0.9402 GB, free: 20.02 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004285/1.226, allocations: 0.5412 MB / 0.9407 GB, free: 20.02 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03138/1.257, allocations: 9.069 MB / 0.9496 GB, free: 16.12 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002736/1.257, allocations: 36.69 kB / 0.9496 GB, free: 16.11 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001868/1.259, allocations: 235.7 kB / 0.9498 GB, free: 15.94 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000404/1.26, allocations: 348.8 kB / 0.9502 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01575/1.275, allocations: 6.826 MB / 0.9568 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05947/1.335, allocations: 39.87 MB / 0.9958 GB, free: 7.961 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004079/1.339, allocations: 3.11 MB / 0.9988 GB, free: 5.867 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002577/1.342, allocations: 1.979 MB / 1.001 GB, free: 4.832 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/1.342, allocations: 24.5 kB / 1.001 GB, free: 4.828 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/1.342, allocations: 51.25 kB / 1.001 GB, free: 4.773 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=179): time 4.628e-06/1.342, allocations: 0 / 1.001 GB, free: 4.773 MB / 0.7481 GB Notification: Performance of matching and sorting (n=182): time 0.02864/1.37, allocations: 10.05 MB / 1.011 GB, free: 11.06 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/1.371, allocations: 69.41 kB / 1.011 GB, free: 10.98 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003097/1.374, allocations: 1.526 MB / 1.012 GB, free: 9.41 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002525/1.374, allocations: 57.7 kB / 1.012 GB, free: 9.348 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001668/1.376, allocations: 2.322 MB / 1.015 GB, free: 7.012 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006981/1.376, allocations: 0.667 MB / 1.015 GB, free: 6.355 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007394/1.377, allocations: 412.8 kB / 1.016 GB, free: 5.945 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001088/1.377, allocations: 305.1 kB / 1.016 GB, free: 5.645 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001822/1.379, allocations: 1.179 MB / 1.017 GB, free: 4.461 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002449/1.382, allocations: 1.883 MB / 1.019 GB, free: 2.266 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004806/1.386, allocations: 3.375 MB / 1.022 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.652e-05/1.386, allocations: 4 kB / 1.022 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008845/1.395, allocations: 4.586 MB / 1.027 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.809e-05/1.395, allocations: 16 kB / 1.027 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.564e-05/1.395, allocations: 31.45 kB / 1.027 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004254/1.4, allocations: 1.587 MB / 1.028 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/1.401, allocations: 349.7 kB / 1.029 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02752/1.429, allocations: 18.6 MB / 1.047 GB, free: 5.211 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003031/1.432, allocations: 116 kB / 1.047 GB, free: 5.098 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006452/1.432, allocations: 103.9 kB / 1.047 GB, free: 4.996 MB / 0.795 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005281/1.438, allocations: 1.894 MB / 1.049 GB, free: 3.117 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009083/1.439, allocations: 234.5 kB / 1.049 GB, free: 2.887 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008795/1.447, allocations: 4.1 MB / 1.053 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.065e-05/1.448, allocations: 20 kB / 1.053 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-05/1.448, allocations: 16 kB / 1.053 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.298e-05/1.448, allocations: 11.95 kB / 1.053 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0226/1.47, allocations: 9.452 MB / 1.062 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/1.47, allocations: 8.125 kB / 1.062 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008517/1.471, allocations: 190.9 kB / 1.062 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003636/1.475, allocations: 1.352 MB / 1.064 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001613/1.475, allocations: 36 kB / 1.064 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02388/1.499, allocations: 17.37 MB / 1.081 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/1.499, allocations: 7.562 kB / 1.081 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007405/1.506, allocations: 4.083 MB / 1.085 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/1.508, allocations: 0.5463 MB / 1.085 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002851/1.508, allocations: 35.95 kB / 1.085 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009873/1.509, allocations: 91.89 kB / 1.085 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005527/1.51, allocations: 161.1 kB / 1.086 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/1.51, allocations: 40 kB / 1.086 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001527/1.511, allocations: 1.005 MB / 1.087 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.71e-07/1.511, allocations: 4 kB / 1.087 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.004092/1.515, allocations: 0.9922 MB / 1.088 GB, free: 10.7 MB / 0.8419 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003438/1.516, allocations: 140.9 kB / 1.088 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.007764/1.524, allocations: 4.317 MB / 1.092 GB, free: 6.332 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/1.524, allocations: 0 / 1.092 GB, free: 6.332 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.005861/1.529, allocations: 2.681 MB / 1.095 GB, free: 3.629 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006485/1.536, allocations: 0.7783 MB / 1.095 GB, free: 2.895 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02256/1.559, allocations: 8.731 MB / 1.104 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005609/1.564, allocations: 3.573 MB / 1.107 GB, free: 6.496 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001778/1.566, allocations: 463.9 kB / 1.108 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003303/1.566, allocations: 111.4 kB / 1.108 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of SimCode: time 8.51e-07/1.566, allocations: 0 / 1.108 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of Templates: time 0.08869/1.655, allocations: 44.64 MB / 1.151 GB, free: 9.898 MB / 0.9044 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)