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_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.613/1.613, allocations: 287.5 MB / 302.6 MB, free: 8.32 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.0009041/0.0009041, allocations: 183 kB / 371.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.001044/0.001043, allocations: 98.64 kB / 0.7432 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004576/0.0004576, allocations: 16.22 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2695, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008405/0.2779, allocations: 5.437 MB / 0.984 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006354/0.2844, allocations: 3.046 MB / 0.987 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006881/0.2851, allocations: 23.81 kB / 0.987 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005289/0.2857, allocations: 119 kB / 0.9871 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001406/0.2871, allocations: 370 kB / 0.9875 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.2885, allocations: 377.4 kB / 0.9878 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001432/0.2899, allocations: 1.232 MB / 0.989 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002038/0.292, allocations: 0.9629 MB / 0.99 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006577/0.2927, allocations: 366.3 kB / 0.9903 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005927/0.2933, allocations: 438.4 kB / 0.9907 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.16e-05/0.2934, allocations: 32 kB / 0.9908 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007876/0.2942, allocations: 255.6 kB / 0.991 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002817/0.2945, allocations: 255.3 kB / 0.9913 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.2946, allocations: 161.3 kB / 0.9914 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.2957, allocations: 0.8768 MB / 0.9923 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.2957, allocations: 0 / 0.9923 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.424e-06/0.2957, allocations: 0 / 0.9923 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.2957, allocations: 0 / 0.9923 GB, free: 14.23 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001717/0.2974, allocations: 0.9193 MB / 0.9932 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/0.2975, allocations: 16.02 kB / 0.9932 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/0.2995, allocations: 215.7 kB / 0.9934 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.3005, allocations: 0.5453 MB / 0.9939 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.75e-05/0.3006, allocations: 41.69 kB / 0.994 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.3008, allocations: 64.36 kB / 0.994 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.3025, allocations: 1.03 MB / 0.995 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.964e-05/0.3026, allocations: 11.84 kB / 0.995 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.859e-05/0.3027, allocations: 27.98 kB / 0.9951 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001144/0.3028, allocations: 69.27 kB / 0.9951 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.3042, allocations: 0.6879 MB / 0.9958 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005277/0.3094, allocations: 5.772 MB / 1.001 GB, free: 4.215 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009981/0.3105, allocations: 0.5917 MB / 1.002 GB, free: 3.578 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009534/0.3114, allocations: 421.3 kB / 1.002 GB, free: 3.164 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/0.3115, allocations: 8 kB / 1.002 GB, free: 3.156 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.3115, allocations: 42.28 kB / 1.002 GB, free: 3.105 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 4.157e-06/0.3115, allocations: 0 / 1.002 GB, free: 3.105 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.005559/0.3171, allocations: 2.057 MB / 1.004 GB, free: 0.9531 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.3172, allocations: 63.17 kB / 1.005 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005797/0.3178, allocations: 454.8 kB / 1.005 GB, free: 432 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.3178, allocations: 33.7 kB / 1.005 GB, free: 392 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/0.3181, allocations: 383 kB / 1.005 GB, free: 4 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.3183, allocations: 157.9 kB / 1.006 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.3183, allocations: 16 kB / 1.006 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.3185, allocations: 358.8 kB / 1.006 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005389/0.3191, allocations: 245.2 kB / 1.006 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007677/0.3199, allocations: 461 kB / 1.007 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.3213, allocations: 0.7558 MB / 1.007 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3213, allocations: 0 / 1.007 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002824/0.3241, allocations: 1.061 MB / 1.008 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.03e-05/0.3242, allocations: 11.94 kB / 1.008 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-05/0.3242, allocations: 11.98 kB / 1.008 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001493/0.3257, allocations: 331.7 kB / 1.009 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004998/0.3263, allocations: 91.83 kB / 1.009 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/0.3364, allocations: 6.951 MB / 1.016 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008171/0.3373, allocations: 28.03 kB / 1.016 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.938e-05/0.3373, allocations: 24 kB / 1.016 GB, free: 4.766 MB / 0.6355 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 (53): * Single equations (assignments): 49 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005441/0.3379, allocations: 253.5 kB / 1.016 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.338, allocations: 59.25 kB / 1.016 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002362/0.3404, allocations: 0.904 MB / 1.017 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.3404, allocations: 8 kB / 1.017 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.3405, allocations: 7.984 kB / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.3405, allocations: 0 / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003751/0.3442, allocations: 1.708 MB / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.3443, allocations: 4.281 kB / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.3445, allocations: 35.97 kB / 1.018 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001282/0.3458, allocations: 327.1 kB / 1.019 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-05/0.3459, allocations: 12.09 kB / 1.019 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00887/0.3548, allocations: 6.931 MB / 1.026 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3548, allocations: 0 / 1.026 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002728/0.3575, allocations: 1.014 MB / 1.027 GB, free: 8.801 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004306/0.358, allocations: 180.4 kB / 1.027 GB, free: 8.605 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.3581, allocations: 8 kB / 1.027 GB, free: 8.598 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004544/0.3586, allocations: 23.97 kB / 1.027 GB, free: 8.574 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.3588, allocations: 43.88 kB / 1.027 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.713e-05/0.3588, allocations: 15.94 kB / 1.027 GB, free: 8.516 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005738/0.3594, allocations: 306.9 kB / 1.027 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.31e-07/0.3594, allocations: 0 / 1.027 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001311/0.3608, allocations: 196 kB / 1.027 GB, free: 8.027 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002247/0.361, allocations: 111.2 kB / 1.027 GB, free: 7.91 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002746/0.3638, allocations: 1.207 MB / 1.029 GB, free: 6.652 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.3638, allocations: 288 / 1.029 GB, free: 6.652 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001527/0.3653, allocations: 0.8618 MB / 1.029 GB, free: 5.738 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/0.3668, allocations: 183.7 kB / 1.03 GB, free: 5.559 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002828/0.3697, allocations: 1.491 MB / 1.031 GB, free: 4.023 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007993/0.3705, allocations: 0.996 MB / 1.032 GB, free: 2.996 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004528/0.3709, allocations: 97.19 kB / 1.032 GB, free: 2.902 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.3711, allocations: 35.44 kB / 1.032 GB, free: 2.871 MB / 0.6511 GB Notification: Performance of SimCode: time 7.51e-07/0.3711, allocations: 0 / 1.032 GB, free: 2.871 MB / 0.6511 GB Notification: Performance of Templates: time 0.02548/0.3966, allocations: 9.206 MB / 1.041 GB, free: 9.754 MB / 0.6667 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)