Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001112, allocations: 91.84 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.007127/0.007127, allocations: 170 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.467/1.467, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.066/3.066, allocations: 473.4 MB / 0.7469 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004025/0.0004025, allocations: 6.969 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3429, allocations: 162.2 MB / 1.074 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01708/0.3601, allocations: 13.45 MB / 1.087 GB, free: 10 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01571/0.3758, allocations: 9.256 MB / 1.096 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001631/0.3775, allocations: 51.62 kB / 1.096 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.3787, allocations: 277.8 kB / 1.097 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004755/0.3835, allocations: 1.405 MB / 1.098 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00211/0.3856, allocations: 0.688 MB / 1.099 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004315/0.3899, allocations: 3.164 MB / 1.102 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003796/0.3937, allocations: 2.004 MB / 1.104 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001944/0.3957, allocations: 0.8635 MB / 1.105 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001915/0.3976, allocations: 1.058 MB / 1.106 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003367/0.398, allocations: 79.92 kB / 1.106 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001964/0.3999, allocations: 0.8617 MB / 1.107 GB, free: 6.199 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0008192/0.4008, allocations: 0.5061 MB / 1.107 GB, free: 5.691 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001369/0.4022, allocations: 0.8447 MB / 1.108 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003536/0.4057, allocations: 2.666 MB / 1.11 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4057, allocations: 0 / 1.11 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4057, allocations: 0 / 1.11 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.396e-05/0.4058, allocations: 0 / 1.11 GB, free: 2.16 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003974/0.4098, allocations: 1.812 MB / 1.112 GB, free: 300 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.4098, allocations: 8.031 kB / 1.112 GB, free: 292 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01265/0.4225, allocations: 2.155 MB / 1.114 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003105/0.4256, allocations: 1.193 MB / 1.115 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.4258, allocations: 86.73 kB / 1.116 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004822/0.4263, allocations: 124 kB / 1.116 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006734/0.433, allocations: 2.698 MB / 1.118 GB, free: 9.82 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.255e-05/0.4331, allocations: 19.92 kB / 1.118 GB, free: 9.801 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001999/0.4333, allocations: 51.98 kB / 1.118 GB, free: 9.75 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006535/0.434, allocations: 178.1 kB / 1.119 GB, free: 9.574 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008092/0.4421, allocations: 2.85 MB / 1.121 GB, free: 6.715 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01571/0.4578, allocations: 10.57 MB / 1.132 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007138/0.465, allocations: 2.567 MB / 1.134 GB, free: 8.934 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003259/0.4683, allocations: 1.309 MB / 1.135 GB, free: 7.625 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.4e-05/0.4684, allocations: 16.98 kB / 1.135 GB, free: 7.605 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.4684, allocations: 43.55 kB / 1.135 GB, free: 7.555 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=89): time 2.885e-06/0.4684, allocations: 0 / 1.135 GB, free: 7.555 MB / 0.8887 GB Notification: Performance of matching and sorting (n=131): time 0.04741/0.5158, allocations: 13.45 MB / 1.149 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.5159, allocations: 68.72 kB / 1.149 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/0.5177, allocations: 1.113 MB / 1.15 GB, free: 8.676 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001527/0.5178, allocations: 45.7 kB / 1.15 GB, free: 8.625 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005603/0.5184, allocations: 0.7233 MB / 1.151 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004852/0.5189, allocations: 449.5 kB / 1.151 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002365/0.5191, allocations: 109.6 kB / 1.151 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002011/0.5194, allocations: 369.8 kB / 1.151 GB, free: 6.969 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003561/0.5229, allocations: 1.354 MB / 1.153 GB, free: 5.613 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003767/0.5267, allocations: 1.624 MB / 1.154 GB, free: 3.891 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007298/0.534, allocations: 3.033 MB / 1.157 GB, free: 0.7617 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.846e-06/0.5341, allocations: 4 kB / 1.157 GB, free: 0.7578 MB / 0.9044 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01197/0.546, allocations: 4.477 MB / 1.162 GB, free: 12.23 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.5461, allocations: 11.94 kB / 1.162 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/0.5461, allocations: 8 kB / 1.162 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005321/0.5514, allocations: 1.443 MB / 1.163 GB, free: 10.72 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002103/0.5536, allocations: 443.2 kB / 1.164 GB, free: 10.29 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02676/0.5803, allocations: 24.56 MB / 1.188 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002759/0.5831, allocations: 311.5 kB / 1.188 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003161/0.5835, allocations: 64.02 kB / 1.188 GB, free: 15.61 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001059/0.5846, allocations: 445.3 kB / 1.188 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004545/0.585, allocations: 162.1 kB / 1.188 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/0.5974, allocations: 4.496 MB / 1.193 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.5974, allocations: 12 kB / 1.193 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.069e-05/0.5975, allocations: 19.94 kB / 1.193 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/0.5975, allocations: 7.969 kB / 1.193 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01569/0.6132, allocations: 6.829 MB / 1.2 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.6132, allocations: 4 kB / 1.2 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001926/0.6152, allocations: 391.6 kB / 1.2 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004766/0.62, allocations: 1.306 MB / 1.201 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001493/0.6201, allocations: 39.97 kB / 1.201 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02424/0.6444, allocations: 23.53 MB / 1.224 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.6444, allocations: 7.938 kB / 1.224 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01165/0.6561, allocations: 4.239 MB / 1.228 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/0.6572, allocations: 459 kB / 1.229 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004123/0.6576, allocations: 24.56 kB / 1.229 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002372/0.66, allocations: 323.5 kB / 1.229 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004741/0.6605, allocations: 128.6 kB / 1.229 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001394/0.6607, allocations: 51.97 kB / 1.229 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001194/0.6619, allocations: 0.7487 MB / 1.23 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5.41e-07/0.6619, allocations: 0 / 1.23 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002408/0.6643, allocations: 0.5703 MB / 1.231 GB, free: 1.727 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003367/0.6646, allocations: 147.7 kB / 1.231 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0115/0.6762, allocations: 5.162 MB / 1.236 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/0.6762, allocations: 0 / 1.236 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007141/0.6833, allocations: 3.495 MB / 1.239 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003306/0.6867, allocations: 0.5103 MB / 1.24 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.6976, allocations: 4.69 MB / 1.244 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001775/0.6995, allocations: 1.477 MB / 1.246 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002157/0.7016, allocations: 429.6 kB / 1.246 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000483/0.7021, allocations: 107.4 kB / 1.246 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of SimCode: time 1.493e-06/0.7021, allocations: 0 / 1.246 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of Templates: time 0.6151/1.317, allocations: 37.03 MB / 1.282 GB, free: 153.4 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)