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_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 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_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001658/0.001657, allocations: 101.4 kB / 15.06 MB, free: 1.094 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.00199/0.00199, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205.4 MB / 222.1 MB, free: 5.68 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.655/1.655, allocations: 251.9 MB / 0.51 GB, free: 4.828 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.0006753/0.0006756, allocations: 16 kB / 0.6241 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6548/0.6555, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02359/0.6791, allocations: 20.48 MB / 0.748 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01533/0.6945, allocations: 6.277 MB / 0.7541 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003842/0.6985, allocations: 75.5 kB / 0.7542 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00298/0.7015, allocations: 469.1 kB / 0.7546 GB, free: 64 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006314/0.7078, allocations: 1.196 MB / 0.7558 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004198/0.712, allocations: 0.9206 MB / 0.7567 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007158/0.7192, allocations: 3.216 MB / 0.7599 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01367/0.7329, allocations: 7.063 MB / 0.7667 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004658/0.7376, allocations: 1.729 MB / 0.7684 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004654/0.7423, allocations: 2.072 MB / 0.7705 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001498/0.7438, allocations: 248 kB / 0.7707 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003122/0.747, allocations: 491.5 kB / 0.7712 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003946/0.751, allocations: 1.922 MB / 0.773 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002777/0.7538, allocations: 0.8394 MB / 0.7739 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01209/0.7659, allocations: 6.886 MB / 0.7806 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.7659, allocations: 0 / 0.7806 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of FrontEnd: time 5.34e-06/0.766, allocations: 0 / 0.7806 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0004028/0.7664, allocations: 0 / 0.7806 GB, free: 5.391 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01159/0.778, allocations: 3.592 MB / 0.7841 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.737e-05/0.7781, allocations: 11.97 kB / 0.7841 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01014/0.7882, allocations: 1.793 MB / 0.7859 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008245/0.7965, allocations: 2.505 MB / 0.7883 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003783/0.7969, allocations: 275.3 kB / 0.7886 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001915/0.7989, allocations: 367.8 kB / 0.7889 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02119/0.8201, allocations: 7.42 MB / 0.7962 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000305/0.8204, allocations: 11.88 kB / 0.7962 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002056/0.8225, allocations: 159.9 kB / 0.7963 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008318/0.8234, allocations: 487.1 kB / 0.7968 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01508/0.8385, allocations: 5.681 MB / 0.8023 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05525/0.8938, allocations: 31.65 MB / 0.8332 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005129/0.899, allocations: 2.082 MB / 0.8353 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004033/0.8994, allocations: 17.31 kB / 0.8353 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.033e-05/0.8995, allocations: 47.88 kB / 0.8353 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=146): time 6.493e-06/0.8996, allocations: 3.938 kB / 0.8353 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=251): time 0.9176/1.817, allocations: 75.26 MB / 0.9088 GB, free: 160.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.693e-05/1.817, allocations: 77.92 kB / 0.9089 GB, free: 160.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003676/1.821, allocations: 1.648 MB / 0.9105 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0008819/1.822, allocations: 68.92 kB / 0.9106 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00153/1.823, allocations: 1.747 MB / 0.9123 GB, free: 159.8 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001286/1.825, allocations: 0.8522 MB / 0.9131 GB, free: 159.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002525/1.825, allocations: 53.84 kB / 0.9132 GB, free: 159.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002138/1.825, allocations: 408.9 kB / 0.9136 GB, free: 158.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00511/1.83, allocations: 2.718 MB / 0.9162 GB, free: 157.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005617/1.836, allocations: 3.31 MB / 0.9195 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004845/1.841, allocations: 3.064 MB / 0.9224 GB, free: 154.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-05/1.841, allocations: 3.938 kB / 0.9225 GB, free: 154.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03081/1.872, allocations: 14.64 MB / 0.9368 GB, free: 150 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.637e-05/1.872, allocations: 13.91 kB / 0.9368 GB, free: 150 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.094e-05/1.872, allocations: 19.31 kB / 0.9368 GB, free: 150 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02771/1.9, allocations: 9.24 MB / 0.9458 GB, free: 144.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/1.901, allocations: 295.5 kB / 0.9461 GB, free: 144.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0639/1.965, allocations: 49.57 MB / 0.9945 GB, free: 94.28 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003324/1.968, allocations: 227.7 kB / 0.9947 GB, free: 94.06 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003392/1.969, allocations: 99.09 kB / 0.9948 GB, free: 93.96 MB / 0.7169 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(19,68.1%) 19,(19,54.6%) 19,(12,50.0%) 18,(12,50.0%) 18,(12,52.8%) 10,(12,53.5%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003013/1.972, allocations: 1.586 MB / 0.9964 GB, free: 92.37 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006724/1.972, allocations: 241.1 kB / 0.9966 GB, free: 92.13 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02785/2, allocations: 14.72 MB / 1.011 GB, free: 77.35 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.358e-05/2, allocations: 24 kB / 1.011 GB, free: 77.33 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001767/2.001, allocations: 44 kB / 1.011 GB, free: 77.29 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.136e-05/2.001, allocations: 11.95 kB / 1.011 GB, free: 77.27 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03724/2.038, allocations: 20.48 MB / 1.031 GB, free: 56.65 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.32e-05/2.038, allocations: 8.844 kB / 1.031 GB, free: 56.64 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000783/2.039, allocations: 163.7 kB / 1.031 GB, free: 56.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02699/2.066, allocations: 9.007 MB / 1.04 GB, free: 47.45 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007427/2.067, allocations: 48 kB / 1.04 GB, free: 47.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06549/2.132, allocations: 49.21 MB / 1.088 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/2.132, allocations: 8 kB / 1.088 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03346/2.166, allocations: 14.78 MB / 1.103 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003114/2.169, allocations: 0.8493 MB / 1.103 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006859/2.169, allocations: 47.98 kB / 1.103 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00229/2.172, allocations: 207.7 kB / 1.104 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001402/2.173, allocations: 237.5 kB / 1.104 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002172/2.173, allocations: 71.98 kB / 1.104 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001779/2.175, allocations: 1.11 MB / 1.105 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/2.175, allocations: 0 / 1.105 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.006197/2.181, allocations: 1.598 MB / 1.107 GB, free: 10.04 MB / 0.7481 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(12,53.5%) 10,(12,50.0%) 18,(19,64.8%) 19,(12,53.5%) 10,(12,50.0%) 18,(19,54.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005899/2.182, allocations: 167 kB / 1.107 GB, free: 9.871 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.02359/2.206, allocations: 10.33 MB / 1.117 GB, free: 15.48 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.399e-05/2.206, allocations: 0 / 1.117 GB, free: 15.48 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.02086/2.226, allocations: 7.149 MB / 1.124 GB, free: 8.258 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005056/2.232, allocations: 495.5 kB / 1.124 GB, free: 7.773 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0238/2.256, allocations: 10.25 MB / 1.134 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004268/2.26, allocations: 3.303 MB / 1.137 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.00143/2.261, allocations: 387.3 kB / 1.138 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/2.262, allocations: 103.4 kB / 1.138 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of SimCode: time 1.332e-06/2.262, allocations: 0 / 1.138 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of Templates: time 0.143/2.405, allocations: 84.26 MB / 1.22 GB, free: 5.645 MB / 0.8575 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) Environment - environmentSimulation: