Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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: 109.4 kB / 15.69 MB, free: 128 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.001907/0.001907, allocations: 185.2 kB / 16.62 MB, free: 6.613 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.48/1.48, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.809/1.809, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001469/0.001469, allocations: 72.53 kB / 0.6723 GB, free: 25.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2787, allocations: 114.5 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03919/0.318, allocations: 33.18 MB / 0.8165 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02647/0.3445, allocations: 14.91 MB / 0.8311 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005265/0.3498, allocations: 155.2 kB / 0.8312 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01056/0.3605, allocations: 3.646 MB / 0.8348 GB, free: 8.703 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.3713, allocations: 2.886 MB / 0.8376 GB, free: 5.805 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00811/0.3794, allocations: 2.326 MB / 0.8399 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01474/0.3942, allocations: 8.811 MB / 0.8485 GB, free: 10.64 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01423/0.4085, allocations: 9.581 MB / 0.8579 GB, free: 0.9336 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007756/0.4163, allocations: 3.953 MB / 0.8617 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007419/0.4237, allocations: 4.042 MB / 0.8657 GB, free: 8.914 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002714/0.4265, allocations: 0.7188 MB / 0.8664 GB, free: 8.195 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005473/0.4319, allocations: 1.716 MB / 0.868 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004133/0.4361, allocations: 2.83 MB / 0.8708 GB, free: 3.641 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.007227/0.4434, allocations: 3.384 MB / 0.8741 GB, free: 248 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01615/0.4595, allocations: 11.18 MB / 0.885 GB, free: 5.027 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.133e-05/0.4596, allocations: 0 / 0.885 GB, free: 5.027 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.254e-06/0.4596, allocations: 3.938 kB / 0.885 GB, free: 5.023 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0004807/0.4601, allocations: 4 kB / 0.885 GB, free: 5.02 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01784/0.4779, allocations: 5.987 MB / 0.8909 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.478, allocations: 12.03 kB / 0.8909 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007249/0.4853, allocations: 1.134 MB / 0.892 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009009/0.4943, allocations: 3.516 MB / 0.8954 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003023/0.4946, allocations: 374.4 kB / 0.8958 GB, free: 9.844 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001427/0.4961, allocations: 500 kB / 0.8963 GB, free: 9.355 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01541/0.5115, allocations: 8.009 MB / 0.9041 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001205/0.5117, allocations: 23.83 kB / 0.9041 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005264/0.5122, allocations: 216 kB / 0.9043 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001059/0.5133, allocations: 437.6 kB / 0.9047 GB, free: 408 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01151/0.5248, allocations: 6.085 MB / 0.9107 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5664/1.091, allocations: 34.88 MB / 0.9447 GB, free: 101 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002716/1.094, allocations: 2.031 MB / 0.9467 GB, free: 100.2 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002474/1.096, allocations: 1.856 MB / 0.9485 GB, free: 99.49 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/1.097, allocations: 19 kB / 0.9486 GB, free: 99.49 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/1.097, allocations: 63.94 kB / 0.9486 GB, free: 99.43 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=171): time 3.968e-06/1.097, allocations: 0 / 0.9486 GB, free: 99.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=276): time 0.2012/1.298, allocations: 38.88 MB / 0.9866 GB, free: 83.22 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.968e-05/1.298, allocations: 85.58 kB / 0.9867 GB, free: 83.12 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005674/1.304, allocations: 2.282 MB / 0.9889 GB, free: 80.83 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0006727/1.304, allocations: 73.7 kB / 0.989 GB, free: 80.75 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001663/1.306, allocations: 2.276 MB / 0.9912 GB, free: 78.45 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00128/1.307, allocations: 0.934 MB / 0.9921 GB, free: 77.53 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002319/1.31, allocations: 0.5061 MB / 0.9926 GB, free: 77.01 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.075e-05/1.31, allocations: 305.1 kB / 0.9929 GB, free: 76.71 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004525/1.314, allocations: 1.98 MB / 0.9948 GB, free: 74.73 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00483/1.319, allocations: 2.599 MB / 0.9974 GB, free: 71.89 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009831/1.329, allocations: 4.933 MB / 1.002 GB, free: 66.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.185e-05/1.329, allocations: 5.812 kB / 1.002 GB, free: 66.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.02211/1.351, allocations: 7.749 MB / 1.01 GB, free: 58.86 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.548e-05/1.351, allocations: 12.19 kB / 1.01 GB, free: 58.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.351e-05/1.351, allocations: 23.98 kB / 1.01 GB, free: 58.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01626/1.368, allocations: 3.221 MB / 1.013 GB, free: 55.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003118/1.371, allocations: 403.3 kB / 1.013 GB, free: 55.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06637/1.437, allocations: 33.86 MB / 1.046 GB, free: 20.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003715/1.441, allocations: 163.8 kB / 1.047 GB, free: 20.35 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005958/1.442, allocations: 112 kB / 1.047 GB, free: 20.24 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003178/1.445, allocations: 1.794 MB / 1.048 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009008/1.446, allocations: 340 kB / 1.049 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01303/1.459, allocations: 7.353 MB / 1.056 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.519e-05/1.459, allocations: 28 kB / 1.056 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.332e-05/1.459, allocations: 28 kB / 1.056 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.157e-05/1.459, allocations: 11.95 kB / 1.056 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02188/1.481, allocations: 12.93 MB / 1.069 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.901e-05/1.481, allocations: 8 kB / 1.069 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009429/1.482, allocations: 229.3 kB / 1.069 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0082/1.49, allocations: 2.852 MB / 1.072 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004184/1.491, allocations: 59.94 kB / 1.072 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04348/1.534, allocations: 32.66 MB / 1.104 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.241e-05/1.534, allocations: 19.86 kB / 1.104 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01238/1.547, allocations: 6.883 MB / 1.11 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001909/1.549, allocations: 0.7783 MB / 1.111 GB, free: 0.9688 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006339/1.549, allocations: 52 kB / 1.111 GB, free: 0.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001967/1.551, allocations: 167.8 kB / 1.111 GB, free: 0.7539 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009325/1.552, allocations: 253.5 kB / 1.112 GB, free: 0.5078 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002427/1.552, allocations: 76 kB / 1.112 GB, free: 444 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002904/1.555, allocations: 1.521 MB / 1.113 GB, free: 14.91 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.9e-07/1.555, allocations: 0 / 1.113 GB, free: 14.91 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.005968/1.561, allocations: 1.371 MB / 1.114 GB, free: 13.54 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004846/1.562, allocations: 186.3 kB / 1.115 GB, free: 13.35 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01245/1.574, allocations: 6.92 MB / 1.121 GB, free: 6.34 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.765e-05/1.574, allocations: 8.812 kB / 1.121 GB, free: 6.332 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.009213/1.583, allocations: 4.405 MB / 1.126 GB, free: 1.859 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00673/1.59, allocations: 1.121 MB / 1.127 GB, free: 0.8047 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02008/1.61, allocations: 10.09 MB / 1.137 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005594/1.616, allocations: 3.639 MB / 1.14 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002297/1.618, allocations: 0.5556 MB / 1.141 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005445/1.619, allocations: 163.4 kB / 1.141 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of SimCode: time 1.213e-06/1.619, allocations: 0 / 1.141 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of Templates: time 0.1262/1.745, allocations: 75.02 MB / 1.214 GB, free: 8.336 MB / 0.8887 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)