Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_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_1.6_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.001352/0.001352, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.01199/0.01199, allocations: 172.2 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.03/3.03, allocations: 473.4 MB / 0.7469 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004178/0.0004179, allocations: 12.34 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3654, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02592/0.3914, allocations: 22.59 MB / 1.096 GB, free: 0.8906 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01718/0.4086, allocations: 6.446 MB / 1.102 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003353/0.412, allocations: 75.56 kB / 1.103 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002684/0.4147, allocations: 468.5 kB / 1.103 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008364/0.4231, allocations: 1.751 MB / 1.105 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005342/0.4285, allocations: 1.196 MB / 1.106 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01706/0.4456, allocations: 10.61 MB / 1.116 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01832/0.464, allocations: 8.058 MB / 1.124 GB, free: 4.176 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005656/0.4697, allocations: 2.081 MB / 1.126 GB, free: 2.086 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007197/0.4769, allocations: 3.185 MB / 1.129 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001638/0.4786, allocations: 248 kB / 1.129 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004546/0.4831, allocations: 1.057 MB / 1.131 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.004815/0.488, allocations: 2.101 MB / 1.133 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.005214/0.4932, allocations: 2.132 MB / 1.135 GB, free: 9.336 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01053/0.5038, allocations: 8.138 MB / 1.143 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.5038, allocations: 0 / 1.143 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.769e-06/0.5038, allocations: 0 / 1.143 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0003136/0.5041, allocations: 3.938 kB / 1.143 GB, free: 1.168 MB / 0.8887 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.009/0.5132, allocations: 3.558 MB / 1.146 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.5132, allocations: 12.03 kB / 1.146 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009481/0.5227, allocations: 1.685 MB / 1.148 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005445/0.5282, allocations: 2.571 MB / 1.15 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002875/0.5285, allocations: 279.7 kB / 1.151 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00136/0.5299, allocations: 356.3 kB / 1.151 GB, free: 8.594 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0155/0.5454, allocations: 7.491 MB / 1.158 GB, free: 0.832 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001401/0.5456, allocations: 19.78 kB / 1.158 GB, free: 0.8125 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008746/0.5464, allocations: 159.9 kB / 1.158 GB, free: 0.6562 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006328/0.5471, allocations: 491.3 kB / 1.159 GB, free: 180 kB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.013/0.5601, allocations: 5.701 MB / 1.164 GB, free: 10.47 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04181/0.6019, allocations: 31.69 MB / 1.195 GB, free: 8.008 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003068/0.6051, allocations: 2.09 MB / 1.197 GB, free: 5.906 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003124/0.6082, allocations: 2.167 MB / 1.199 GB, free: 3.738 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00018/0.6084, allocations: 13.31 kB / 1.199 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.6085, allocations: 51.88 kB / 1.2 GB, free: 3.664 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=146): time 3.697e-06/0.6085, allocations: 0 / 1.2 GB, free: 3.664 MB / 0.9512 GB Notification: Performance of matching and sorting (n=251): time 0.9475/1.556, allocations: 75.28 MB / 1.273 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/1.556, allocations: 81.69 kB / 1.273 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002214/1.558, allocations: 1.669 MB / 1.275 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004667/1.559, allocations: 62.02 kB / 1.275 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009058/1.56, allocations: 1.744 MB / 1.277 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008084/1.56, allocations: 0.8579 MB / 1.277 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004017/1.561, allocations: 207.4 kB / 1.278 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.214e-05/1.561, allocations: 301.1 kB / 1.278 GB, free: 163 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003736/1.565, allocations: 2.728 MB / 1.281 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004118/1.569, allocations: 3.335 MB / 1.284 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008258/1.577, allocations: 6.392 MB / 1.29 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.85e-05/1.577, allocations: 9.812 kB / 1.29 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03129/1.608, allocations: 14.67 MB / 1.304 GB, free: 147.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.219e-05/1.609, allocations: 15.28 kB / 1.304 GB, free: 147.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/1.609, allocations: 15.31 kB / 1.304 GB, free: 147.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02861/1.637, allocations: 9.244 MB / 1.313 GB, free: 139.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/1.638, allocations: 299.5 kB / 1.314 GB, free: 139 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0638/1.702, allocations: 47.15 MB / 1.36 GB, free: 91.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003324/1.706, allocations: 215.7 kB / 1.36 GB, free: 90.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003438/1.706, allocations: 104 kB / 1.36 GB, free: 90.72 MB / 0.9981 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.00264/1.709, allocations: 1.582 MB / 1.362 GB, free: 89.12 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007309/1.709, allocations: 246.3 kB / 1.362 GB, free: 88.88 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03043/1.74, allocations: 14.75 MB / 1.376 GB, free: 74.07 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.778e-05/1.74, allocations: 24 kB / 1.376 GB, free: 74.05 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001582/1.74, allocations: 44 kB / 1.376 GB, free: 74 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.817e-05/1.74, allocations: 11.95 kB / 1.376 GB, free: 73.99 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0385/1.779, allocations: 20.53 MB / 1.396 GB, free: 53.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.024e-05/1.779, allocations: 7.75 kB / 1.396 GB, free: 53.31 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007457/1.779, allocations: 163.7 kB / 1.397 GB, free: 53.15 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02716/1.807, allocations: 8.998 MB / 1.405 GB, free: 44.13 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004839/1.807, allocations: 49.56 kB / 1.405 GB, free: 44.08 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06422/1.871, allocations: 46.75 MB / 1.451 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.255e-06/1.871, allocations: 7.938 kB / 1.451 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03328/1.905, allocations: 14.36 MB / 1.465 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002166/1.907, allocations: 0.8531 MB / 1.466 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004417/1.907, allocations: 51.98 kB / 1.466 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002225/1.91, allocations: 207.7 kB / 1.466 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001347/1.911, allocations: 245.4 kB / 1.466 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002161/1.911, allocations: 64 kB / 1.466 GB, free: 12.57 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001659/1.913, allocations: 1.125 MB / 1.468 GB, free: 11.43 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.913, allocations: 0 / 1.468 GB, free: 11.43 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.005057/1.918, allocations: 1.617 MB / 1.469 GB, free: 9.809 MB / 1.029 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.0004402/1.918, allocations: 163 kB / 1.469 GB, free: 9.641 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.02432/1.943, allocations: 10.36 MB / 1.479 GB, free: 15.21 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/1.943, allocations: 7.938 kB / 1.479 GB, free: 15.21 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.01858/1.961, allocations: 7.16 MB / 1.486 GB, free: 7.988 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00488/1.966, allocations: 0.517 MB / 1.487 GB, free: 7.477 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01707/1.983, allocations: 10.62 MB / 1.497 GB, free: 12.79 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005021/1.988, allocations: 3.224 MB / 1.5 GB, free: 9.523 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001142/1.99, allocations: 395.3 kB / 1.501 GB, free: 9.133 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002512/1.99, allocations: 99.42 kB / 1.501 GB, free: 9.035 MB / 1.061 GB Notification: Performance of SimCode: time 6.71e-07/1.99, allocations: 0 / 1.501 GB, free: 9.035 MB / 1.061 GB Notification: Performance of Templates: time 0.1373/2.127, allocations: 86.28 MB / 1.585 GB, free: 3.008 MB / 1.139 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)