Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001383/0.001383, allocations: 114.1 kB / 16.37 MB, free: 5.996 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.00129/0.001291, allocations: 188.7 kB / 17.31 MB, free: 5.605 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.482/1.482, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.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.766/1.766, allocations: 292.3 MB / 0.5496 GB, free: 17.56 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.001422/0.001422, allocations: 71.91 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2167, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.3593/0.576, allocations: 23.41 MB / 0.8077 GB, free: 36.58 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01072/0.5867, allocations: 6.529 MB / 0.814 GB, free: 32.09 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002443/0.5892, allocations: 98.66 kB / 0.8141 GB, free: 32.06 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004222/0.5935, allocations: 1.483 MB / 0.8156 GB, free: 31.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00546/0.5989, allocations: 1.827 MB / 0.8174 GB, free: 30.15 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004079/0.603, allocations: 1.459 MB / 0.8188 GB, free: 29.36 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008945/0.612, allocations: 6.903 MB / 0.8255 GB, free: 26.38 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009139/0.6212, allocations: 7.007 MB / 0.8324 GB, free: 23.81 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005356/0.6266, allocations: 2.851 MB / 0.8352 GB, free: 22.53 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00616/0.6327, allocations: 3.476 MB / 0.8386 GB, free: 21.08 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001974/0.6348, allocations: 0.5265 MB / 0.8391 GB, free: 21.08 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004037/0.6388, allocations: 1.173 MB / 0.8402 GB, free: 20.84 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004379/0.6432, allocations: 2.468 MB / 0.8426 GB, free: 19.92 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006225/0.6494, allocations: 2.536 MB / 0.8451 GB, free: 18.3 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01213/0.6616, allocations: 8.516 MB / 0.8534 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.6617, allocations: 4 kB / 0.8534 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6617, allocations: 1.062 kB / 0.8534 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002688/0.6619, allocations: 0 / 0.8534 GB, free: 13.83 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01256/0.6745, allocations: 4.425 MB / 0.8577 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.6746, allocations: 10.62 kB / 0.8578 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00954/0.6841, allocations: 1.688 MB / 0.8594 GB, free: 9.961 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005771/0.6899, allocations: 2.69 MB / 0.862 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002008/0.6901, allocations: 278.2 kB / 0.8623 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001529/0.6917, allocations: 361.5 kB / 0.8626 GB, free: 8 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01361/0.7053, allocations: 7.496 MB / 0.87 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.485e-05/0.7054, allocations: 11.88 kB / 0.87 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005147/0.7059, allocations: 155.9 kB / 0.8701 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004761/0.7064, allocations: 487.3 kB / 0.8706 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009832/0.7163, allocations: 5.705 MB / 0.8762 GB, free: 12.68 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03687/0.7532, allocations: 31.49 MB / 0.9069 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00292/0.7561, allocations: 2.086 MB / 0.909 GB, free: 8.312 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002968/0.7591, allocations: 2.182 MB / 0.9111 GB, free: 6.129 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001779/0.7593, allocations: 13.31 kB / 0.9111 GB, free: 6.113 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/0.7594, allocations: 55.88 kB / 0.9111 GB, free: 6.051 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=146): time 3.777e-06/0.7594, allocations: 0 / 0.9111 GB, free: 6.051 MB / 0.7012 GB Notification: Performance of matching and sorting (n=251): time 0.3273/1.087, allocations: 76.99 MB / 0.9863 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/1.087, allocations: 81.39 kB / 0.9864 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002378/1.089, allocations: 1.67 MB / 0.988 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.000463/1.09, allocations: 73.7 kB / 0.9881 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001052/1.091, allocations: 1.744 MB / 0.9898 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009451/1.092, allocations: 0.8587 MB / 0.9907 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/1.093, allocations: 481.2 kB / 0.9911 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.148e-05/1.093, allocations: 301.1 kB / 0.9914 GB, free: 3.621 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0038/1.097, allocations: 2.734 MB / 0.9941 GB, free: 0.8828 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004208/1.101, allocations: 3.328 MB / 0.9973 GB, free: 13.3 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008501/1.109, allocations: 6.397 MB / 1.004 GB, free: 6.664 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.39e-05/1.109, allocations: 4 kB / 1.004 GB, free: 6.66 MB / 0.795 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03471/1.144, allocations: 14.68 MB / 1.018 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.854e-05/1.144, allocations: 12 kB / 1.018 GB, free: 7.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-05/1.144, allocations: 16 kB / 1.018 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03174/1.176, allocations: 9.24 MB / 1.027 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/1.177, allocations: 299.4 kB / 1.027 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08397/1.261, allocations: 52.34 MB / 1.078 GB, free: 9.133 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003244/1.264, allocations: 227.7 kB / 1.079 GB, free: 8.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003591/1.265, allocations: 96 kB / 1.079 GB, free: 8.816 MB / 0.8731 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 (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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003077/1.268, allocations: 1.59 MB / 1.08 GB, free: 7.215 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006539/1.269, allocations: 245 kB / 1.08 GB, free: 6.973 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03413/1.303, allocations: 14.76 MB / 1.095 GB, free: 8.156 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.443e-05/1.303, allocations: 24 kB / 1.095 GB, free: 8.133 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001336/1.303, allocations: 44 kB / 1.095 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.808e-05/1.303, allocations: 11.95 kB / 1.095 GB, free: 8.078 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04426/1.347, allocations: 20.53 MB / 1.115 GB, free: 3.348 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.797e-05/1.347, allocations: 8 kB / 1.115 GB, free: 3.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008333/1.348, allocations: 155.8 kB / 1.115 GB, free: 3.188 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03123/1.379, allocations: 9.014 MB / 1.124 GB, free: 10.14 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005645/1.38, allocations: 48 kB / 1.124 GB, free: 10.1 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3963/1.776, allocations: 51.88 MB / 1.175 GB, free: 277.9 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.776, allocations: 15.19 kB / 1.175 GB, free: 277.9 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03228/1.809, allocations: 14.36 MB / 1.189 GB, free: 274.1 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002284/1.811, allocations: 0.8515 MB / 1.19 GB, free: 273.7 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000784/1.812, allocations: 53.11 kB / 1.19 GB, free: 273.7 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002385/1.814, allocations: 206 kB / 1.19 GB, free: 273.7 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001359/1.816, allocations: 241.1 kB / 1.19 GB, free: 273.6 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000247/1.816, allocations: 66.5 kB / 1.19 GB, free: 273.6 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001587/1.817, allocations: 1.125 MB / 1.191 GB, free: 273.2 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.81e-07/1.817, allocations: 0.875 kB / 1.191 GB, free: 273.2 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00598/1.823, allocations: 1.615 MB / 1.193 GB, free: 273.1 MB / 0.92 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 (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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004612/1.824, allocations: 165.3 kB / 1.193 GB, free: 272.9 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01991/1.844, allocations: 10.55 MB / 1.203 GB, free: 269.2 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/1.844, allocations: 3.875 kB / 1.203 GB, free: 269.2 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.016/1.86, allocations: 7.321 MB / 1.21 GB, free: 265.6 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003006/1.863, allocations: 0.5576 MB / 1.211 GB, free: 265.3 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/1.876, allocations: 9.314 MB / 1.22 GB, free: 256 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002881/1.879, allocations: 3.298 MB / 1.223 GB, free: 252.7 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000387/1.879, allocations: 111.3 kB / 1.223 GB, free: 252.6 MB / 0.92 GB Notification: Performance of SimCode: time 1.303e-06/1.879, allocations: 0 / 1.223 GB, free: 252.6 MB / 0.92 GB Notification: Performance of Templates: time 0.1304/2.01, allocations: 187.6 MB / 1.407 GB, free: 65.03 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)