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_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.635/2.635, allocations: 287.5 MB / 302.4 MB, free: 8.328 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.002038/0.002037, allocations: 189.5 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.149/2.149, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009781/0.000978, allocations: 94.34 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007008/0.0007009, allocations: 15.28 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.252, 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_R): time 0.008643/0.2607, allocations: 6.017 MB / 0.9842 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006273/0.2671, allocations: 2.917 MB / 0.9871 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008291/0.2679, allocations: 27.81 kB / 0.9871 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005118/0.2685, allocations: 130.9 kB / 0.9872 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.2701, allocations: 417.7 kB / 0.9876 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.2715, allocations: 332.4 kB / 0.988 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001988/0.2735, allocations: 1.322 MB / 0.9893 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002372/0.276, allocations: 0.9337 MB / 0.9902 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008388/0.2768, allocations: 390.4 kB / 0.9905 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007432/0.2776, allocations: 490.2 kB / 0.991 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.2777, allocations: 39.94 kB / 0.991 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007857/0.2785, allocations: 187.8 kB / 0.9912 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003299/0.2789, allocations: 267.2 kB / 0.9915 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002484/0.2791, allocations: 185.2 kB / 0.9917 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.2803, allocations: 0.908 MB / 0.9925 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.126e-06/0.2803, allocations: 0 / 0.9925 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.405e-06/0.2804, allocations: 0 / 0.9925 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.2804, allocations: 0 / 0.9925 GB, free: 13.76 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002375/0.2828, allocations: 1.022 MB / 0.9935 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.2828, allocations: 8.031 kB / 0.9935 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002314/0.2852, allocations: 242.6 kB / 0.9938 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.2864, allocations: 0.5327 MB / 0.9943 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.222e-05/0.2865, allocations: 57.3 kB / 0.9943 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.2867, allocations: 56 kB / 0.9944 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002026/0.2887, allocations: 1.077 MB / 0.9955 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.013e-05/0.2888, allocations: 7.906 kB / 0.9955 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.2889, allocations: 31.98 kB / 0.9955 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002416/0.2891, allocations: 89.19 kB / 0.9956 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001697/0.2908, allocations: 0.7542 MB / 0.9963 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007186/0.2981, allocations: 5.893 MB / 1.002 GB, free: 3.371 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/0.2998, allocations: 0.5501 MB / 1.003 GB, free: 2.809 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006525/0.3005, allocations: 328.1 kB / 1.003 GB, free: 2.488 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.308e-05/0.3006, allocations: 4.438 kB / 1.003 GB, free: 2.484 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.3007, allocations: 42.98 kB / 1.003 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 3.226e-06/0.3007, allocations: 0 / 1.003 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.00595/0.3066, allocations: 1.986 MB / 1.005 GB, free: 364 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.3067, allocations: 55.84 kB / 1.005 GB, free: 296 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009579/0.3077, allocations: 0.5625 MB / 1.006 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.3078, allocations: 37.7 kB / 1.006 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003981/0.3082, allocations: 418.8 kB / 1.006 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/0.3085, allocations: 173.6 kB / 1.006 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.91e-05/0.3085, allocations: 12 kB / 1.006 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002115/0.3088, allocations: 370.8 kB / 1.006 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007299/0.3095, allocations: 273.8 kB / 1.007 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009412/0.3104, allocations: 497 kB / 1.007 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000949/0.3114, allocations: 350 kB / 1.008 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.3114, allocations: 0 / 1.008 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003292/0.3147, allocations: 1.087 MB / 1.009 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/0.3148, allocations: 8 kB / 1.009 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.3149, allocations: 4 kB / 1.009 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00149/0.3164, allocations: 283.4 kB / 1.009 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009885/0.3174, allocations: 135.6 kB / 1.009 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01001/0.3274, allocations: 6.587 MB / 1.015 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.3285, allocations: 43.95 kB / 1.015 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.785e-05/0.3286, allocations: 28 kB / 1.016 GB, free: 4.785 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 (67): * Single equations (assignments): 63 * 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 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005485/0.3292, allocations: 249.7 kB / 1.016 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/0.3293, allocations: 71.16 kB / 1.016 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002734/0.3321, allocations: 0.8887 MB / 1.017 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.3322, allocations: 8 kB / 1.017 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.3322, allocations: 4 kB / 1.017 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.3322, allocations: 4.031 kB / 1.017 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004744/0.3369, allocations: 1.72 MB / 1.018 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/0.337, allocations: 11.94 kB / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005322/0.3376, allocations: 59.89 kB / 1.018 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001402/0.339, allocations: 267.4 kB / 1.019 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-05/0.3391, allocations: 8 kB / 1.019 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0099/0.349, allocations: 6.579 MB / 1.025 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.964e-06/0.3491, allocations: 4.031 kB / 1.025 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002752/0.3518, allocations: 0.9796 MB / 1.026 GB, free: 9.219 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004589/0.3523, allocations: 188.2 kB / 1.026 GB, free: 9.016 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.3525, allocations: 19.98 kB / 1.026 GB, free: 8.996 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006436/0.3531, allocations: 31.92 kB / 1.026 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.3533, allocations: 44.02 kB / 1.026 GB, free: 8.922 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.753e-05/0.3534, allocations: 23.92 kB / 1.026 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006968/0.3541, allocations: 383.1 kB / 1.027 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.71e-07/0.3541, allocations: 0 / 1.027 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001245/0.3554, allocations: 220 kB / 1.027 GB, free: 8.316 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 (31): * Single equations (assignments): 27 * 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 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002406/0.3556, allocations: 121.4 kB / 1.027 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003342/0.359, allocations: 1.264 MB / 1.028 GB, free: 6.879 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.359, allocations: 0 / 1.028 GB, free: 6.879 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002154/0.3612, allocations: 0.8936 MB / 1.029 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001918/0.3632, allocations: 210.7 kB / 1.029 GB, free: 5.727 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003783/0.367, allocations: 1.59 MB / 1.031 GB, free: 4.094 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009071/0.3679, allocations: 1.009 MB / 1.032 GB, free: 3.055 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008159/0.3688, allocations: 122 kB / 1.032 GB, free: 2.934 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.369, allocations: 43.44 kB / 1.032 GB, free: 2.891 MB / 0.6511 GB Notification: Performance of SimCode: time 1.012e-06/0.369, allocations: 0 / 1.032 GB, free: 2.891 MB / 0.6511 GB Notification: Performance of Templates: time 0.03216/0.4012, allocations: 10.29 MB / 1.042 GB, free: 8.719 MB / 0.6667 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)