Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 108 kB / 15.61 MB, free: 152 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.001575/0.001575, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.472/1.472, 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.851/1.851, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.0015/0.0015, allocations: 64.75 kB / 0.6715 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2856, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02293/0.3086, allocations: 20.18 MB / 0.8031 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01319/0.3219, allocations: 6.492 MB / 0.8094 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002501/0.3244, allocations: 83.62 kB / 0.8095 GB, free: 2.641 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005702/0.3302, allocations: 2.242 MB / 0.8117 GB, free: 404 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004164/0.3344, allocations: 1.177 MB / 0.8128 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003591/0.338, allocations: 1.293 MB / 0.8141 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006233/0.3442, allocations: 4.842 MB / 0.8188 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007528/0.3518, allocations: 5.634 MB / 0.8243 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004515/0.3564, allocations: 2.08 MB / 0.8264 GB, free: 1.27 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004115/0.3605, allocations: 2.34 MB / 0.8286 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0009784/0.3615, allocations: 432 kB / 0.8291 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002596/0.3641, allocations: 0.9948 MB / 0.83 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002057/0.3662, allocations: 1.665 MB / 0.8317 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003437/0.3697, allocations: 1.922 MB / 0.8335 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007842/0.3775, allocations: 6.474 MB / 0.8399 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.3776, allocations: 3.984 kB / 0.8399 GB, free: 3.41 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3776, allocations: 0 / 0.8399 GB, free: 3.41 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002038/0.3778, allocations: 0 / 0.8399 GB, free: 3.41 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008959/0.3868, allocations: 3.444 MB / 0.8432 GB, free: 15.9 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.3868, allocations: 8.031 kB / 0.8432 GB, free: 15.89 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003776/0.3906, allocations: 0.6411 MB / 0.8439 GB, free: 15.25 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004498/0.3951, allocations: 1.939 MB / 0.8457 GB, free: 13.25 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001876/0.3954, allocations: 222.3 kB / 0.846 GB, free: 13.03 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000808/0.3962, allocations: 296.2 kB / 0.8462 GB, free: 12.74 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008933/0.4051, allocations: 4.894 MB / 0.851 GB, free: 7.652 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.74e-05/0.4052, allocations: 11.92 kB / 0.851 GB, free: 7.641 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003254/0.4056, allocations: 128 kB / 0.8512 GB, free: 7.516 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004619/0.406, allocations: 221.7 kB / 0.8514 GB, free: 7.297 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006591/0.4126, allocations: 3.754 MB / 0.855 GB, free: 3.531 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02359/0.4363, allocations: 21.58 MB / 0.8761 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/0.438, allocations: 1.312 MB / 0.8774 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/0.4393, allocations: 1.053 MB / 0.8784 GB, free: 9.574 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 6.319e-05/0.4394, allocations: 13 kB / 0.8784 GB, free: 9.562 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.4394, allocations: 43.56 kB / 0.8785 GB, free: 9.512 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=107): time 3.917e-06/0.4394, allocations: 0 / 0.8785 GB, free: 9.512 MB / 0.7012 GB Notification: Performance of matching and sorting (n=138): time 0.0241/0.4635, allocations: 8.645 MB / 0.8869 GB, free: 0.8047 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/0.4636, allocations: 64.72 kB / 0.887 GB, free: 0.7305 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002055/0.4657, allocations: 1.134 MB / 0.8881 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001285/0.4659, allocations: 49.7 kB / 0.8881 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001018/0.4669, allocations: 1.3 MB / 0.8894 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000476/0.4674, allocations: 485.1 kB / 0.8899 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000457/0.4678, allocations: 291.4 kB / 0.8901 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.468, allocations: 305.1 kB / 0.8904 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.4692, allocations: 0.9135 MB / 0.8913 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/0.4706, allocations: 1.326 MB / 0.8926 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00284/0.4735, allocations: 2.422 MB / 0.895 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.4735, allocations: 8 kB / 0.895 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005721/0.4792, allocations: 3.467 MB / 0.8984 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/0.4793, allocations: 12.97 kB / 0.8984 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.4793, allocations: 12 kB / 0.8984 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003034/0.4824, allocations: 1.187 MB / 0.8996 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009517/0.4833, allocations: 263.5 kB / 0.8998 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01764/0.501, allocations: 13.85 MB / 0.9133 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.5025, allocations: 91.97 kB / 0.9134 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.5026, allocations: 60 kB / 0.9135 GB, free: 4.77 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00215/0.5048, allocations: 1.115 MB / 0.9146 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004602/0.5053, allocations: 162.1 kB / 0.9147 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005498/0.5108, allocations: 3.173 MB / 0.9178 GB, free: 292 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.5108, allocations: 19.98 kB / 0.9178 GB, free: 272 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.63e-05/0.5108, allocations: 12 kB / 0.9178 GB, free: 260 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/0.5109, allocations: 12.28 kB / 0.9179 GB, free: 248 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6205/1.131, allocations: 6.242 MB / 0.924 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/1.131, allocations: 6.156 kB / 0.924 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000561/1.132, allocations: 150.4 kB / 0.9241 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002751/1.135, allocations: 1.08 MB / 0.9252 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/1.135, allocations: 24.72 kB / 0.9252 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01754/1.152, allocations: 13.53 MB / 0.9384 GB, free: 118.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.209e-05/1.152, allocations: 13.41 kB / 0.9384 GB, free: 118.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006479/1.159, allocations: 3.152 MB / 0.9415 GB, free: 116.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/1.16, allocations: 424.8 kB / 0.9419 GB, free: 116.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002547/1.16, allocations: 28.09 kB / 0.9419 GB, free: 116.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009608/1.161, allocations: 83.84 kB / 0.942 GB, free: 116.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005884/1.162, allocations: 123.3 kB / 0.9421 GB, free: 116.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/1.162, allocations: 37.62 kB / 0.9422 GB, free: 116.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001419/1.164, allocations: 0.7676 MB / 0.9429 GB, free: 116.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/1.164, allocations: 4.438 kB / 0.9429 GB, free: 116.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002754/1.166, allocations: 0.6566 MB / 0.9436 GB, free: 116.2 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002754/1.167, allocations: 145.8 kB / 0.9437 GB, free: 116.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00635/1.173, allocations: 3.634 MB / 0.9472 GB, free: 114.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-05/1.173, allocations: 5.094 kB / 0.9472 GB, free: 114.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00323/1.176, allocations: 1.952 MB / 0.9491 GB, free: 113.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002772/1.179, allocations: 0.4936 MB / 0.9496 GB, free: 113.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01378/1.193, allocations: 5.436 MB / 0.9549 GB, free: 111.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004123/1.197, allocations: 2.342 MB / 0.9572 GB, free: 110 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002043/1.199, allocations: 354.3 kB / 0.9576 GB, free: 110 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003207/1.199, allocations: 89.66 kB / 0.9577 GB, free: 110 MB / 0.7325 GB Notification: Performance of SimCode: time 1.824e-06/1.199, allocations: 0 / 0.9577 GB, free: 110 MB / 0.7325 GB Notification: Performance of Templates: time 0.07512/1.275, allocations: 32.67 MB / 0.9896 GB, free: 83.75 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)