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.001088/0.001088, allocations: 99.98 kB / 16.37 MB, free: 6.477 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.001013/0.001013, allocations: 193.4 kB / 17.32 MB, free: 5.82 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.418/1.418, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.897/1.897, allocations: 292.3 MB / 0.5496 GB, free: 17.62 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.001435/0.001435, allocations: 71.89 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2243, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.3948/0.6192, allocations: 23.4 MB / 0.8077 GB, free: 36.58 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01187/0.6311, allocations: 6.527 MB / 0.814 GB, free: 32.09 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002253/0.6334, allocations: 99.41 kB / 0.8141 GB, free: 32.06 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003913/0.6373, allocations: 1.484 MB / 0.8156 GB, free: 31.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005406/0.6427, allocations: 1.825 MB / 0.8174 GB, free: 30.15 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004449/0.6472, allocations: 1.465 MB / 0.8188 GB, free: 29.36 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00931/0.6565, allocations: 6.907 MB / 0.8255 GB, free: 26.38 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009024/0.6656, allocations: 7.007 MB / 0.8324 GB, free: 23.78 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005537/0.6711, allocations: 2.846 MB / 0.8352 GB, free: 22.51 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006077/0.6772, allocations: 3.474 MB / 0.8386 GB, free: 21.06 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001033/0.6783, allocations: 0.5266 MB / 0.8391 GB, free: 21.06 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003017/0.6813, allocations: 1.173 MB / 0.8402 GB, free: 20.82 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002815/0.6841, allocations: 2.463 MB / 0.8426 GB, free: 19.91 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003724/0.6879, allocations: 2.54 MB / 0.8451 GB, free: 18.29 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.009068/0.697, allocations: 8.513 MB / 0.8534 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.697, allocations: 4 kB / 0.8534 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.463e-06/0.697, allocations: 0 / 0.8534 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002013/0.6972, allocations: 5.031 kB / 0.8534 GB, free: 13.87 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.01143/0.7087, allocations: 4.429 MB / 0.8578 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.467e-05/0.7087, allocations: 8.594 kB / 0.8578 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009413/0.7182, allocations: 1.688 MB / 0.8594 GB, free: 10 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006322/0.7245, allocations: 2.69 MB / 0.862 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001964/0.7247, allocations: 274.6 kB / 0.8623 GB, free: 8.164 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001162/0.7259, allocations: 365 kB / 0.8626 GB, free: 8.039 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01162/0.7375, allocations: 7.486 MB / 0.87 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.586e-05/0.7376, allocations: 15.88 kB / 0.87 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000416/0.738, allocations: 155.9 kB / 0.8701 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004449/0.7385, allocations: 496.2 kB / 0.8706 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008524/0.747, allocations: 5.701 MB / 0.8762 GB, free: 12.69 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03731/0.7844, allocations: 31.49 MB / 0.9069 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002905/0.7873, allocations: 2.086 MB / 0.909 GB, free: 8.328 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003006/0.7903, allocations: 2.178 MB / 0.9111 GB, free: 6.148 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001626/0.7905, allocations: 17.31 kB / 0.9111 GB, free: 6.129 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.7905, allocations: 47.88 kB / 0.9111 GB, free: 6.074 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=146): time 4.919e-06/0.7906, allocations: 0 / 0.9111 GB, free: 6.074 MB / 0.7012 GB Notification: Performance of matching and sorting (n=251): time 0.3222/1.113, allocations: 77 MB / 0.9863 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/1.113, allocations: 83.41 kB / 0.9864 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003293/1.116, allocations: 1.67 MB / 0.9881 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0004749/1.117, allocations: 65.7 kB / 0.9881 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001253/1.118, allocations: 1.743 MB / 0.9898 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001116/1.119, allocations: 0.8549 MB / 0.9907 GB, free: 4.422 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001379/1.12, allocations: 481.2 kB / 0.9911 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001055/1.121, allocations: 317 kB / 0.9914 GB, free: 3.633 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004136/1.125, allocations: 2.73 MB / 0.9941 GB, free: 0.8984 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004727/1.129, allocations: 3.328 MB / 0.9973 GB, free: 13.32 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009322/1.139, allocations: 6.393 MB / 1.004 GB, free: 6.684 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.126e-05/1.139, allocations: 4 kB / 1.004 GB, free: 6.68 MB / 0.795 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03513/1.174, allocations: 14.68 MB / 1.018 GB, free: 7.949 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.322e-05/1.174, allocations: 16.78 kB / 1.018 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.803e-05/1.174, allocations: 16.84 kB / 1.018 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03266/1.207, allocations: 9.235 MB / 1.027 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/1.208, allocations: 307.4 kB / 1.027 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09021/1.298, allocations: 52.33 MB / 1.078 GB, free: 9.148 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003871/1.302, allocations: 227.7 kB / 1.079 GB, free: 8.926 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000675/1.303, allocations: 96 kB / 1.079 GB, free: 8.832 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.003817/1.307, allocations: 1.588 MB / 1.08 GB, free: 7.234 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008793/1.308, allocations: 245 kB / 1.08 GB, free: 6.992 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03543/1.343, allocations: 14.76 MB / 1.095 GB, free: 8.176 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6e-05/1.343, allocations: 14.39 kB / 1.095 GB, free: 8.164 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/1.343, allocations: 4 kB / 1.095 GB, free: 8.16 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002458/1.346, allocations: 0.8493 MB / 1.096 GB, free: 7.289 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001032/1.347, allocations: 47.94 kB / 1.096 GB, free: 7.242 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003048/1.35, allocations: 191.7 kB / 1.096 GB, free: 7.055 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001303/1.351, allocations: 485.2 kB / 1.096 GB, free: 6.578 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02954/1.381, allocations: 11.62 MB / 1.108 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01346/1.394, allocations: 9.077 MB / 1.117 GB, free: 1.824 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004205/1.399, allocations: 2.802 MB / 1.119 GB, free: 15.02 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002327/1.401, allocations: 1.121 MB / 1.12 GB, free: 13.88 MB / 0.92 GB Notification: Performance of Backend: time 1.142e-06/1.401, allocations: 0 / 1.12 GB, free: 13.88 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.02442/1.425, allocations: 8.305 MB / 1.129 GB, free: 5.5 MB / 0.92 GB Notification: Performance of SimCode: time 0.4289/1.854, allocations: 9.371 MB / 1.138 GB, free: 279.8 MB / 0.92 GB Notification: Performance of Templates: time 0.123/1.977, allocations: 81.9 MB / 1.218 GB, free: 240.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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)