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.ACLineMatrix_RLC_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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001487, allocations: 107.3 kB / 15.23 MB, free: 0.6523 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.001773/0.001773, allocations: 196.7 kB / 16.14 MB, free: 6.648 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.787/1.787, allocations: 205.1 MB / 222 MB, free: 4.73 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.595/1.595, allocations: 251.6 MB / 0.5088 GB, free: 3.316 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.001346/0.001346, allocations: 59.92 kB / 0.6216 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5796/0.5809, allocations: 104.7 MB / 0.7238 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01243/0.5934, allocations: 10.05 MB / 0.7336 GB, free: 3.086 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005634/0.5991, allocations: 3.21 MB / 0.7368 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006648/0.5998, allocations: 31.81 kB / 0.7368 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.6013, allocations: 0.5483 MB / 0.7373 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.6027, allocations: 0.7003 MB / 0.738 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.6042, allocations: 0.6816 MB / 0.7387 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004323/0.6085, allocations: 4.474 MB / 0.7431 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004181/0.6127, allocations: 2.837 MB / 0.7458 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002017/0.6148, allocations: 1.059 MB / 0.7469 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002328/0.6171, allocations: 1.601 MB / 0.7484 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002962/0.6174, allocations: 160 kB / 0.7486 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.6187, allocations: 0.4993 MB / 0.7491 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001293/0.62, allocations: 1.002 MB / 0.75 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001524/0.6215, allocations: 1.027 MB / 0.751 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004088/0.6256, allocations: 3.626 MB / 0.7546 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.6256, allocations: 0 / 0.7546 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6256, allocations: 0 / 0.7546 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.234e-05/0.6257, allocations: 3.938 kB / 0.7546 GB, free: 13.54 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004389/0.6301, allocations: 2.134 MB / 0.7567 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.529e-05/0.6302, allocations: 12.02 kB / 0.7567 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00837/0.6386, allocations: 1.309 MB / 0.758 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002862/0.6415, allocations: 1.259 MB / 0.7592 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-05/0.6416, allocations: 111.4 kB / 0.7593 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003036/0.6419, allocations: 148.3 kB / 0.7594 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005461/0.6473, allocations: 3.441 MB / 0.7628 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.494e-05/0.6474, allocations: 7.906 kB / 0.7628 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000207/0.6476, allocations: 63.97 kB / 0.7629 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002579/0.6479, allocations: 203.1 kB / 0.7631 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004885/0.6528, allocations: 3.131 MB / 0.7661 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01747/0.6703, allocations: 13.61 MB / 0.7794 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002547/0.6729, allocations: 1.727 MB / 0.7811 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002011/0.6749, allocations: 1.436 MB / 0.7825 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.779e-05/0.675, allocations: 16.98 kB / 0.7825 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.6751, allocations: 43.56 kB / 0.7826 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=104): time 3.377e-06/0.6751, allocations: 0 / 0.7826 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of matching and sorting (n=183): time 0.131/0.806, allocations: 36.67 MB / 0.8184 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002399/0.8064, allocations: 77.34 kB / 0.8184 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002016/0.8084, allocations: 1.05 MB / 0.8195 GB, free: 9.805 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0004287/0.8088, allocations: 57.7 kB / 0.8195 GB, free: 9.742 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005381/0.8094, allocations: 0.7872 MB / 0.8203 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005976/0.81, allocations: 0.6161 MB / 0.8209 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007345/0.8107, allocations: 363.3 kB / 0.8212 GB, free: 7.961 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.8108, allocations: 309.1 kB / 0.8215 GB, free: 7.656 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002688/0.8135, allocations: 1.928 MB / 0.8234 GB, free: 5.727 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002816/0.8164, allocations: 2.285 MB / 0.8257 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005657/0.822, allocations: 4.391 MB / 0.8299 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.8221, allocations: 4 kB / 0.8299 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01924/0.8413, allocations: 9.024 MB / 0.8388 GB, free: 5.742 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.8414, allocations: 11.94 kB / 0.8388 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/0.8414, allocations: 12.66 kB / 0.8388 GB, free: 5.719 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01591/0.8573, allocations: 4.969 MB / 0.8436 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008734/0.8582, allocations: 199.6 kB / 0.8438 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05163/0.9099, allocations: 35.28 MB / 0.8783 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002581/0.9125, allocations: 107.9 kB / 0.8784 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002208/0.9128, allocations: 68 kB / 0.8784 GB, free: 12.53 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001616/0.9144, allocations: 0.8018 MB / 0.8792 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003362/0.9147, allocations: 138.3 kB / 0.8794 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01869/0.9334, allocations: 8.894 MB / 0.888 GB, free: 2.652 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.463e-05/0.9335, allocations: 20 kB / 0.8881 GB, free: 2.633 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-05/0.9336, allocations: 28 kB / 0.8881 GB, free: 2.605 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.068e-05/0.9336, allocations: 11.95 kB / 0.8881 GB, free: 2.594 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0279/0.9616, allocations: 13.29 MB / 0.9011 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.498e-05/0.9616, allocations: 4.469 kB / 0.9011 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005373/0.9622, allocations: 127.8 kB / 0.9012 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01709/0.9793, allocations: 4.765 MB / 0.9059 GB, free: 236 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003758/0.9797, allocations: 32 kB / 0.9059 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5797/1.559, allocations: 31.56 MB / 0.9367 GB, free: 156.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/1.56, allocations: 7.25 kB / 0.9367 GB, free: 156.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01735/1.577, allocations: 8.402 MB / 0.9449 GB, free: 148.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001575/1.579, allocations: 0.6117 MB / 0.9455 GB, free: 148 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004189/1.579, allocations: 43.92 kB / 0.9456 GB, free: 147.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/1.58, allocations: 87.89 kB / 0.9457 GB, free: 147.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001203/1.581, allocations: 160.4 kB / 0.9458 GB, free: 147.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001566/1.582, allocations: 55.67 kB / 0.9459 GB, free: 147.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001004/1.583, allocations: 0.7382 MB / 0.9466 GB, free: 146.9 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.583, allocations: 0 / 0.9466 GB, free: 146.9 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004129/1.587, allocations: 0.9922 MB / 0.9475 GB, free: 145.9 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004761/1.587, allocations: 146.9 kB / 0.9477 GB, free: 145.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.009349/1.597, allocations: 5.843 MB / 0.9534 GB, free: 139.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/1.597, allocations: 0 / 0.9534 GB, free: 139.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.007563/1.604, allocations: 3.841 MB / 0.9571 GB, free: 136 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/1.606, allocations: 224.4 kB / 0.9574 GB, free: 135.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008125/1.614, allocations: 5.806 MB / 0.963 GB, free: 130 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001569/1.616, allocations: 1.855 MB / 0.9648 GB, free: 128.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008978/1.617, allocations: 354.2 kB / 0.9652 GB, free: 127.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/1.617, allocations: 63.42 kB / 0.9652 GB, free: 127.7 MB / 0.7169 GB Notification: Performance of SimCode: time 1.032e-06/1.617, allocations: 0 / 0.9652 GB, free: 127.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.07397/1.691, allocations: 57.82 MB / 1.022 GB, free: 70.02 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)