Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.76/2.76, allocations: 287.5 MB / 302.4 MB, free: 8.363 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001372/0.001372, allocations: 175.2 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.257/2.257, allocations: 205.4 MB / 0.6297 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008896/0.0008894, allocations: 93.33 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000513/0.0005133, allocations: 10.5 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2378, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01824/0.2561, allocations: 12.55 MB / 0.9906 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01715/0.2733, allocations: 8.837 MB / 0.9993 GB, free: 6.902 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.2751, allocations: 55.62 kB / 0.9993 GB, free: 6.848 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.2765, allocations: 257.9 kB / 0.9996 GB, free: 6.594 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005709/0.2823, allocations: 1.265 MB / 1.001 GB, free: 5.328 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002537/0.2848, allocations: 0.517 MB / 1.001 GB, free: 4.812 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004587/0.2894, allocations: 2.676 MB / 1.004 GB, free: 2.125 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004705/0.2942, allocations: 1.803 MB / 1.006 GB, free: 292 kB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002548/0.2968, allocations: 0.8559 MB / 1.007 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002877/0.2997, allocations: 1.02 MB / 1.008 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0009945/0.3007, allocations: 72 kB / 1.008 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002419/0.3032, allocations: 435.5 kB / 1.008 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001176/0.3044, allocations: 0.5023 MB / 1.008 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000845/0.3053, allocations: 348.8 kB / 1.009 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004436/0.3098, allocations: 2.119 MB / 1.011 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.3098, allocations: 0 / 1.011 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.196e-06/0.3099, allocations: 0 / 1.011 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.246e-05/0.31, allocations: 0 / 1.011 GB, free: 10.93 MB / 0.6355 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.006738/0.3167, allocations: 1.831 MB / 1.013 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.3168, allocations: 8.031 kB / 1.013 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02159/0.3384, allocations: 2.155 MB / 1.015 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004315/0.3427, allocations: 1.15 MB / 1.016 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.343, allocations: 90.36 kB / 1.016 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005991/0.3436, allocations: 119.9 kB / 1.016 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01123/0.3548, allocations: 2.694 MB / 1.019 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.379e-05/0.355, allocations: 11.84 kB / 1.019 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003014/0.3553, allocations: 55.97 kB / 1.019 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001219/0.3565, allocations: 178.1 kB / 1.019 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01534/0.3719, allocations: 2.842 MB / 1.022 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02768/0.3996, allocations: 10.57 MB / 1.032 GB, free: 4.363 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01334/0.413, allocations: 2.568 MB / 1.035 GB, free: 1.734 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006253/0.4193, allocations: 1.296 MB / 1.036 GB, free: 440 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/0.4195, allocations: 13 kB / 1.036 GB, free: 428 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.761e-05/0.4196, allocations: 47.56 kB / 1.036 GB, free: 372 kB / 0.6511 GB Notification: Performance of pre-optimization done (n=89): time 4.258e-06/0.4196, allocations: 0 / 1.036 GB, free: 372 kB / 0.6511 GB Notification: Performance of matching and sorting (n=131): time 0.08853/0.5082, allocations: 13.45 MB / 1.049 GB, free: 2.699 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.044e-05/0.5083, allocations: 64.72 kB / 1.049 GB, free: 2.625 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002373/0.5107, allocations: 1.105 MB / 1.05 GB, free: 1.504 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003646/0.5111, allocations: 45.7 kB / 1.05 GB, free: 1.453 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008418/0.5119, allocations: 0.7194 MB / 1.051 GB, free: 0.7266 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007545/0.5127, allocations: 453.4 kB / 1.051 GB, free: 284 kB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.5129, allocations: 32 kB / 1.051 GB, free: 252 kB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002392/0.5132, allocations: 357.9 kB / 1.052 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006545/0.5197, allocations: 1.358 MB / 1.053 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006837/0.5266, allocations: 1.616 MB / 1.055 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00685/0.5335, allocations: 1.458 MB / 1.056 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/0.5336, allocations: 4 kB / 1.056 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.02182/0.5554, allocations: 4.47 MB / 1.06 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.098e-05/0.5555, allocations: 15.98 kB / 1.06 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.5556, allocations: 4 kB / 1.06 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009548/0.5651, allocations: 1.419 MB / 1.062 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004139/0.5693, allocations: 447.2 kB / 1.062 GB, free: 4.914 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7034/1.273, allocations: 24.51 MB / 1.086 GB, free: 68.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004819/1.278, allocations: 317.1 kB / 1.086 GB, free: 68.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004289/1.278, allocations: 64.08 kB / 1.087 GB, free: 68.89 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001438/1.28, allocations: 438 kB / 1.087 GB, free: 68.62 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006171/1.28, allocations: 161.6 kB / 1.087 GB, free: 68.61 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02317/1.303, allocations: 4.48 MB / 1.092 GB, free: 67.18 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-05/1.304, allocations: 12.69 kB / 1.092 GB, free: 67.18 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.059e-05/1.304, allocations: 13.81 kB / 1.092 GB, free: 67.18 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.265e-05/1.304, allocations: 6.469 kB / 1.092 GB, free: 67.18 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02955/1.333, allocations: 6.808 MB / 1.098 GB, free: 64.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.499e-05/1.333, allocations: 3.125 kB / 1.098 GB, free: 64.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003737/1.337, allocations: 389.4 kB / 1.099 GB, free: 64.65 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008889/1.346, allocations: 1.309 MB / 1.1 GB, free: 64.29 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004224/1.346, allocations: 42.16 kB / 1.1 GB, free: 64.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03368/1.38, allocations: 23.5 MB / 1.123 GB, free: 44.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/1.38, allocations: 3.281 kB / 1.123 GB, free: 44.39 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01976/1.4, allocations: 4.227 MB / 1.127 GB, free: 42.75 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/1.402, allocations: 458.4 kB / 1.127 GB, free: 42.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006002/1.402, allocations: 28.23 kB / 1.127 GB, free: 42.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004305/1.407, allocations: 315.3 kB / 1.128 GB, free: 42.24 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006607/1.407, allocations: 126.5 kB / 1.128 GB, free: 42.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002672/1.408, allocations: 46.75 kB / 1.128 GB, free: 42.15 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001684/1.409, allocations: 0.7387 MB / 1.129 GB, free: 41.73 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.42e-07/1.409, allocations: 0 / 1.129 GB, free: 41.73 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003735/1.413, allocations: 0.5716 MB / 1.129 GB, free: 41.68 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(2,100.0%) 4,(3,100.0%) 9,(2,100.0%) 4,(3,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005684/1.414, allocations: 142.2 kB / 1.129 GB, free: 41.55 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0198/1.433, allocations: 5.155 MB / 1.134 GB, free: 38.18 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/1.434, allocations: 0 / 1.134 GB, free: 38.18 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.01214/1.446, allocations: 3.504 MB / 1.138 GB, free: 35.61 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004597/1.45, allocations: 0.5051 MB / 1.138 GB, free: 35.36 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01608/1.466, allocations: 4.542 MB / 1.143 GB, free: 32.54 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001347/1.468, allocations: 1.475 MB / 1.144 GB, free: 31.48 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002991/1.471, allocations: 429.2 kB / 1.145 GB, free: 31.26 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006858/1.472, allocations: 116.9 kB / 1.145 GB, free: 31.23 MB / 0.6823 GB Notification: Performance of SimCode: time 2.345e-06/1.472, allocations: 0 / 1.145 GB, free: 31.23 MB / 0.6823 GB Notification: Performance of Templates: time 0.09335/1.565, allocations: 36.16 MB / 1.18 GB, free: 13.48 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)