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.001209/0.001209, 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.001586/0.001585, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.451/1.451, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.753/1.753, allocations: 292.3 MB / 0.5489 GB, free: 12.88 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.001468/0.001468, allocations: 68.61 kB / 0.6715 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2703, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03779/0.3081, allocations: 33.18 MB / 0.8158 GB, free: 12.18 MB / 0.6388 GB Notification: Performance of NFInst.instExpressions: time 0.02504/0.3332, allocations: 14.91 MB / 0.8303 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005031/0.3384, allocations: 151.2 kB / 0.8305 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.009647/0.348, allocations: 3.653 MB / 0.834 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.009748/0.3578, allocations: 2.89 MB / 0.8369 GB, free: 6.512 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00648/0.3643, allocations: 2.327 MB / 0.8391 GB, free: 4.184 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01155/0.3759, allocations: 8.808 MB / 0.8477 GB, free: 11.35 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01433/0.3902, allocations: 9.64 MB / 0.8572 GB, free: 1.586 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007337/0.3976, allocations: 3.942 MB / 0.861 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007988/0.4057, allocations: 4.046 MB / 0.865 GB, free: 9.574 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.003157/0.4089, allocations: 0.7148 MB / 0.8657 GB, free: 8.859 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005513/0.4144, allocations: 1.709 MB / 0.8673 GB, free: 7.148 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004503/0.4189, allocations: 2.838 MB / 0.8701 GB, free: 4.305 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.006805/0.4258, allocations: 3.388 MB / 0.8734 GB, free: 0.9023 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01448/0.4403, allocations: 11.1 MB / 0.8843 GB, free: 5.766 MB / 0.7013 GB Notification: Performance of FrontEnd - DAE generated: time 1.178e-05/0.4403, allocations: 11.94 kB / 0.8843 GB, free: 5.754 MB / 0.7013 GB Notification: Performance of FrontEnd: time 2.285e-06/0.4403, allocations: 4 kB / 0.8843 GB, free: 5.75 MB / 0.7013 GB Notification: Performance of Transformations before backend: time 0.0004386/0.4408, allocations: 0 / 0.8843 GB, free: 5.75 MB / 0.7013 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.01778/0.4586, allocations: 5.971 MB / 0.8901 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.4586, allocations: 12.03 kB / 0.8901 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008021/0.4667, allocations: 1.134 MB / 0.8912 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007848/0.4746, allocations: 3.332 MB / 0.8945 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004016/0.475, allocations: 370.4 kB / 0.8948 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001809/0.4768, allocations: 0.4922 MB / 0.8953 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0158/0.4926, allocations: 8.001 MB / 0.9031 GB, free: 2 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001719/0.4928, allocations: 23.78 kB / 0.9031 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007319/0.4936, allocations: 216 kB / 0.9033 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001106/0.4947, allocations: 437.6 kB / 0.9038 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01276/0.5075, allocations: 6.081 MB / 0.9097 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5344/1.042, allocations: 35.15 MB / 0.944 GB, free: 101.2 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002767/1.045, allocations: 2.022 MB / 0.946 GB, free: 100.4 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002504/1.047, allocations: 1.87 MB / 0.9478 GB, free: 99.7 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/1.047, allocations: 22.3 kB / 0.9479 GB, free: 99.7 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.176e-05/1.047, allocations: 54.25 kB / 0.9479 GB, free: 99.64 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=171): time 3.867e-06/1.047, allocations: 0 / 0.9479 GB, free: 99.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=276): time 0.1455/1.193, allocations: 38.89 MB / 0.9859 GB, free: 82.75 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/1.193, allocations: 81.58 kB / 0.986 GB, free: 82.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002913/1.196, allocations: 2.278 MB / 0.9882 GB, free: 80.36 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000284/1.196, allocations: 73.7 kB / 0.9883 GB, free: 80.29 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009111/1.197, allocations: 2.272 MB / 0.9905 GB, free: 77.99 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006339/1.198, allocations: 0.9382 MB / 0.9914 GB, free: 77.06 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007872/1.199, allocations: 0.5061 MB / 0.9919 GB, free: 76.55 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.402e-05/1.199, allocations: 301.1 kB / 0.9922 GB, free: 76.25 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00223/1.201, allocations: 1.984 MB / 0.9941 GB, free: 74.27 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002495/1.203, allocations: 2.599 MB / 0.9966 GB, free: 71.42 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004931/1.208, allocations: 4.929 MB / 1.001 GB, free: 66.22 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/1.208, allocations: 4 kB / 1.001 GB, free: 66.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01221/1.221, allocations: 7.752 MB / 1.009 GB, free: 58.39 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.286e-05/1.221, allocations: 20.05 kB / 1.009 GB, free: 58.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.406e-05/1.221, allocations: 16 kB / 1.009 GB, free: 58.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008099/1.229, allocations: 3.253 MB / 1.012 GB, free: 55.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/1.23, allocations: 395.4 kB / 1.013 GB, free: 54.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03565/1.266, allocations: 33.89 MB / 1.046 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00317/1.269, allocations: 167.8 kB / 1.046 GB, free: 19.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002936/1.27, allocations: 112 kB / 1.046 GB, free: 19.7 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.002722/1.272, allocations: 1.801 MB / 1.048 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006313/1.273, allocations: 332.1 kB / 1.048 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01149/1.285, allocations: 7.356 MB / 1.055 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-05/1.285, allocations: 28 kB / 1.055 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.892e-05/1.285, allocations: 28 kB / 1.055 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.909e-05/1.285, allocations: 11.95 kB / 1.055 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02117/1.306, allocations: 12.93 MB / 1.068 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.672e-05/1.306, allocations: 8 kB / 1.068 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/1.307, allocations: 236.4 kB / 1.068 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008549/1.316, allocations: 2.872 MB / 1.071 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006108/1.316, allocations: 52 kB / 1.071 GB, free: 9.816 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04598/1.362, allocations: 32.71 MB / 1.103 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/1.362, allocations: 15.94 kB / 1.103 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01287/1.375, allocations: 6.879 MB / 1.11 GB, free: 1.168 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002102/1.377, allocations: 0.7821 MB / 1.11 GB, free: 372 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006583/1.378, allocations: 48 kB / 1.111 GB, free: 324 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001976/1.38, allocations: 167.8 kB / 1.111 GB, free: 156 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009049/1.381, allocations: 257.5 kB / 1.111 GB, free: 15.9 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001831/1.381, allocations: 79.94 kB / 1.111 GB, free: 15.82 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002257/1.383, allocations: 1.525 MB / 1.112 GB, free: 14.3 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.91e-07/1.384, allocations: 0 / 1.112 GB, free: 14.3 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.004985/1.388, allocations: 1.367 MB / 1.114 GB, free: 12.93 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.000595/1.389, allocations: 184.7 kB / 1.114 GB, free: 12.74 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01597/1.405, allocations: 8.361 MB / 1.122 GB, free: 4.297 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.386e-05/1.405, allocations: 7.281 kB / 1.122 GB, free: 4.293 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.008715/1.414, allocations: 4.415 MB / 1.126 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005136/1.419, allocations: 1.109 MB / 1.128 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01996/1.439, allocations: 10.22 MB / 1.138 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005045/1.444, allocations: 3.642 MB / 1.141 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002456/1.447, allocations: 0.5556 MB / 1.142 GB, free: 236 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003942/1.447, allocations: 163.4 kB / 1.142 GB, free: 76 kB / 0.8106 GB Notification: Performance of SimCode: time 1.844e-06/1.447, allocations: 0 / 1.142 GB, free: 76 kB / 0.8106 GB Notification: Performance of Templates: time 0.1353/1.582, allocations: 77.55 MB / 1.218 GB, free: 3.582 MB / 0.8888 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)