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.001216/0.001216, allocations: 104.1 kB / 16.36 MB, free: 5.945 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.001208/0.001208, allocations: 194.7 kB / 17.3 MB, free: 5.559 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.389/1.389, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.847/1.847, allocations: 292.3 MB / 0.5496 GB, free: 17.64 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.00158/0.00158, allocations: 70.25 kB / 0.6729 GB, free: 5.766 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2247, allocations: 114.6 MB / 0.7848 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.4355/0.6603, allocations: 23.41 MB / 0.8077 GB, free: 36.46 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01379/0.6741, allocations: 6.524 MB / 0.814 GB, free: 31.98 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003149/0.6773, allocations: 98.88 kB / 0.8141 GB, free: 31.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004322/0.6817, allocations: 1.483 MB / 0.8156 GB, free: 31.06 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005357/0.6871, allocations: 1.831 MB / 0.8174 GB, free: 30.03 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004273/0.6914, allocations: 1.461 MB / 0.8188 GB, free: 29.23 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009494/0.7009, allocations: 6.904 MB / 0.8255 GB, free: 26.26 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009385/0.7103, allocations: 7.002 MB / 0.8324 GB, free: 23.67 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005367/0.7157, allocations: 2.854 MB / 0.8352 GB, free: 22.39 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006491/0.7222, allocations: 3.464 MB / 0.8385 GB, free: 20.95 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001878/0.7241, allocations: 0.5267 MB / 0.8391 GB, free: 20.95 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00438/0.7285, allocations: 1.176 MB / 0.8402 GB, free: 20.71 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00507/0.7336, allocations: 2.468 MB / 0.8426 GB, free: 19.79 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006674/0.7403, allocations: 2.531 MB / 0.8451 GB, free: 18.18 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01202/0.7523, allocations: 8.521 MB / 0.8534 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.7524, allocations: 5.406 kB / 0.8534 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.394e-06/0.7524, allocations: 0 / 0.8534 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002583/0.7527, allocations: 0 / 0.8534 GB, free: 13.73 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.01083/0.7635, allocations: 4.423 MB / 0.8577 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.7636, allocations: 10.62 kB / 0.8577 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008739/0.7723, allocations: 1.676 MB / 0.8594 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006384/0.7787, allocations: 2.577 MB / 0.8619 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002479/0.779, allocations: 274.6 kB / 0.8622 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00145/0.7804, allocations: 369.3 kB / 0.8625 GB, free: 7.965 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01293/0.7934, allocations: 7.486 MB / 0.8698 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.517e-05/0.7935, allocations: 11.88 kB / 0.8698 GB, free: 3.082 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004714/0.794, allocations: 159.9 kB / 0.87 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00048/0.7945, allocations: 491.3 kB / 0.8705 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009297/0.8038, allocations: 5.701 MB / 0.876 GB, free: 12.74 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0385/0.8423, allocations: 31.5 MB / 0.9068 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003001/0.8453, allocations: 2.094 MB / 0.9088 GB, free: 8.363 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002888/0.8483, allocations: 2.17 MB / 0.9109 GB, free: 6.191 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/0.8484, allocations: 21.31 kB / 0.911 GB, free: 6.168 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.8484, allocations: 43.88 kB / 0.911 GB, free: 6.117 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=146): time 3.656e-06/0.8484, allocations: 2.25 kB / 0.911 GB, free: 6.117 MB / 0.7012 GB Notification: Performance of matching and sorting (n=251): time 0.277/1.125, allocations: 77 MB / 0.9862 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.624e-05/1.126, allocations: 81.41 kB / 0.9863 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002496/1.128, allocations: 1.67 MB / 0.9879 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0004924/1.129, allocations: 69.7 kB / 0.988 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.00112/1.13, allocations: 1.751 MB / 0.9897 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001106/1.131, allocations: 0.8549 MB / 0.9905 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009772/1.132, allocations: 481.2 kB / 0.991 GB, free: 3.98 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.851e-05/1.132, allocations: 301.1 kB / 0.9913 GB, free: 3.684 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004/1.136, allocations: 2.734 MB / 0.9939 GB, free: 0.9453 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004741/1.141, allocations: 3.332 MB / 0.9972 GB, free: 13.36 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008848/1.15, allocations: 6.397 MB / 1.003 GB, free: 6.723 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.379e-05/1.15, allocations: 4 kB / 1.003 GB, free: 6.719 MB / 0.795 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.032/1.182, allocations: 14.68 MB / 1.018 GB, free: 7.988 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/1.182, allocations: 16 kB / 1.018 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/1.182, allocations: 16 kB / 1.018 GB, free: 7.957 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02995/1.212, allocations: 9.234 MB / 1.027 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/1.213, allocations: 303.5 kB / 1.027 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08252/1.295, allocations: 52.34 MB / 1.078 GB, free: 9.188 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003213/1.299, allocations: 223.7 kB / 1.078 GB, free: 8.969 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003477/1.299, allocations: 104 kB / 1.079 GB, free: 8.867 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.003621/1.303, allocations: 1.578 MB / 1.08 GB, free: 7.277 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008893/1.304, allocations: 245 kB / 1.08 GB, free: 7.035 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03287/1.336, allocations: 14.76 MB / 1.095 GB, free: 8.215 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-05/1.337, allocations: 25.5 kB / 1.095 GB, free: 8.191 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001497/1.337, allocations: 44.33 kB / 1.095 GB, free: 8.148 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-05/1.337, allocations: 19.95 kB / 1.095 GB, free: 8.129 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04527/1.382, allocations: 20.52 MB / 1.115 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.499e-05/1.382, allocations: 12 kB / 1.115 GB, free: 3.402 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008038/1.383, allocations: 159.8 kB / 1.115 GB, free: 3.246 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02916/1.412, allocations: 9.007 MB / 1.124 GB, free: 10.21 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000716/1.413, allocations: 48 kB / 1.124 GB, free: 10.16 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.538/1.951, allocations: 51.88 MB / 1.175 GB, free: 278 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-05/1.951, allocations: 13.09 kB / 1.175 GB, free: 278 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0305/1.981, allocations: 14.37 MB / 1.189 GB, free: 274.1 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002893/1.984, allocations: 0.8503 MB / 1.189 GB, free: 273.7 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008097/1.985, allocations: 49.28 kB / 1.189 GB, free: 273.7 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002207/1.987, allocations: 217.5 kB / 1.19 GB, free: 273.7 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001596/1.989, allocations: 240.7 kB / 1.19 GB, free: 273.6 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002273/1.989, allocations: 64.06 kB / 1.19 GB, free: 273.6 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001702/1.991, allocations: 1.126 MB / 1.191 GB, free: 273.2 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.61e-07/1.991, allocations: 0 / 1.191 GB, free: 273.2 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.006404/1.997, allocations: 1.612 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.0005809/1.998, allocations: 165.7 kB / 1.193 GB, free: 273 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01981/2.018, allocations: 10.56 MB / 1.203 GB, free: 269.3 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.444e-05/2.018, allocations: 3.875 kB / 1.203 GB, free: 269.3 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.01613/2.034, allocations: 7.318 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.00333/2.037, allocations: 0.5527 MB / 1.211 GB, free: 265.4 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01443/2.052, allocations: 8.694 MB / 1.219 GB, free: 256.7 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003155/2.055, allocations: 3.22 MB / 1.222 GB, free: 253.5 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001057/2.056, allocations: 391.9 kB / 1.223 GB, free: 253.1 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/2.056, allocations: 103.4 kB / 1.223 GB, free: 253 MB / 0.92 GB Notification: Performance of SimCode: time 1.212e-06/2.056, allocations: 0 / 1.223 GB, free: 253 MB / 0.92 GB Notification: Performance of Templates: time 0.112/2.168, allocations: 91.83 MB / 1.313 GB, free: 161.6 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)