Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 101.7 kB / 16.27 MB, free: 6.418 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.001824/0.001824, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.808/1.808, allocations: 292.3 MB / 0.5495 GB, free: 17.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 67.84 kB / 0.6722 GB, free: 6.508 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2402, allocations: 114.5 MB / 0.784 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.4183/0.6585, allocations: 6.122 MB / 0.79 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0044/0.6629, allocations: 3.229 MB / 0.7932 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005468/0.6635, allocations: 30.72 kB / 0.7932 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002093/0.6656, allocations: 0.9324 MB / 0.7941 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001173/0.6668, allocations: 476.3 kB / 0.7946 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.6679, allocations: 0.4967 MB / 0.795 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0009684/0.6689, allocations: 1.095 MB / 0.7961 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008309/0.6698, allocations: 0.6398 MB / 0.7967 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004516/0.6702, allocations: 439.9 kB / 0.7972 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004576/0.6707, allocations: 473.7 kB / 0.7976 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.186e-05/0.6708, allocations: 55.91 kB / 0.7977 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008371/0.6716, allocations: 491.8 kB / 0.7981 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002537/0.6719, allocations: 286.6 kB / 0.7984 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003179/0.6722, allocations: 399.3 kB / 0.7988 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.6736, allocations: 1.168 MB / 0.7999 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.6736, allocations: 0 / 0.7999 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6736, allocations: 0 / 0.7999 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.246e-05/0.6736, allocations: 0 / 0.7999 GB, free: 43.67 MB / 0.6544 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.001631/0.6752, allocations: 1.062 MB / 0.801 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.6753, allocations: 9.797 kB / 0.801 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001532/0.6768, allocations: 227.4 kB / 0.8012 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007705/0.6776, allocations: 0.5421 MB / 0.8017 GB, free: 42.47 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.877e-05/0.6777, allocations: 44.92 kB / 0.8018 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.6778, allocations: 67.52 kB / 0.8018 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.6792, allocations: 1.027 MB / 0.8028 GB, free: 41.82 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.695e-05/0.6793, allocations: 17.45 kB / 0.8028 GB, free: 41.8 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.969e-05/0.6794, allocations: 29.2 kB / 0.8029 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001129/0.6795, allocations: 68.55 kB / 0.8029 GB, free: 41.78 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.6806, allocations: 0.6918 MB / 0.8036 GB, free: 41.54 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004709/0.6853, allocations: 5.758 MB / 0.8092 GB, free: 36.56 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008923/0.6862, allocations: 0.6003 MB / 0.8098 GB, free: 36.19 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008409/0.6871, allocations: 419.1 kB / 0.8102 GB, free: 36.05 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.6871, allocations: 3.656 kB / 0.8102 GB, free: 36.05 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.6871, allocations: 38.09 kB / 0.8103 GB, free: 36.01 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=41): time 2.414e-06/0.6872, allocations: 0 / 0.8103 GB, free: 36.01 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42): time 0.00462/0.6918, allocations: 2.06 MB / 0.8123 GB, free: 34.96 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.6918, allocations: 59.75 kB / 0.8123 GB, free: 34.89 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005218/0.6924, allocations: 460.6 kB / 0.8128 GB, free: 34.68 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.6924, allocations: 32.3 kB / 0.8128 GB, free: 34.64 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.6926, allocations: 386.6 kB / 0.8132 GB, free: 34.34 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.6927, allocations: 151 kB / 0.8133 GB, free: 34.22 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.6929, allocations: 108.9 kB / 0.8134 GB, free: 34.16 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.693, allocations: 368.8 kB / 0.8138 GB, free: 33.82 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003796/0.6934, allocations: 244.9 kB / 0.814 GB, free: 33.74 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004783/0.6939, allocations: 456.9 kB / 0.8144 GB, free: 33.39 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009395/0.6948, allocations: 0.7556 MB / 0.8152 GB, free: 32.87 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.6948, allocations: 2.406 kB / 0.8152 GB, free: 32.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00191/0.6968, allocations: 1.072 MB / 0.8162 GB, free: 32.42 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.6968, allocations: 8.469 kB / 0.8162 GB, free: 32.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.6968, allocations: 7.312 kB / 0.8162 GB, free: 32.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.6979, allocations: 338.9 kB / 0.8166 GB, free: 32.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.6982, allocations: 97.38 kB / 0.8167 GB, free: 32.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00615/0.7044, allocations: 7.516 MB / 0.824 GB, free: 25.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005732/0.705, allocations: 33.28 kB / 0.824 GB, free: 25.92 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.502e-05/0.705, allocations: 27.27 kB / 0.8241 GB, free: 25.91 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003583/0.7054, allocations: 247.6 kB / 0.8243 GB, free: 25.73 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.47e-05/0.7055, allocations: 65.25 kB / 0.8244 GB, free: 25.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/0.7072, allocations: 0.9092 MB / 0.8252 GB, free: 25.31 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/0.7073, allocations: 8.156 kB / 0.8252 GB, free: 25.31 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.7073, allocations: 3.188 kB / 0.8253 GB, free: 25.31 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.7073, allocations: 8.578 kB / 0.8253 GB, free: 25.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00268/0.71, allocations: 1.706 MB / 0.8269 GB, free: 24.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.71, allocations: 5.594 kB / 0.8269 GB, free: 24.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.7102, allocations: 42.2 kB / 0.827 GB, free: 24.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009861/0.7112, allocations: 327.9 kB / 0.8273 GB, free: 24.33 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/0.7112, allocations: 7.562 kB / 0.8273 GB, free: 24.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006315/0.7175, allocations: 7.509 MB / 0.8346 GB, free: 17.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.7175, allocations: 8.281 kB / 0.8346 GB, free: 17.95 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.7193, allocations: 1.018 MB / 0.8356 GB, free: 17.42 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003033/0.7196, allocations: 179 kB / 0.8358 GB, free: 17.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.187e-05/0.7197, allocations: 9.359 kB / 0.8358 GB, free: 17.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002846/0.72, allocations: 22.91 kB / 0.8358 GB, free: 17.27 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.7202, allocations: 43.06 kB / 0.8359 GB, free: 17.26 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.7202, allocations: 13.03 kB / 0.8359 GB, free: 17.25 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000404/0.7206, allocations: 311.4 kB / 0.8362 GB, free: 17.11 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7206, allocations: 0.9062 kB / 0.8362 GB, free: 17.11 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009279/0.7215, allocations: 198.7 kB / 0.8364 GB, free: 17.09 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001534/0.7217, allocations: 112.5 kB / 0.8365 GB, free: 16.98 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001966/0.7237, allocations: 1.248 MB / 0.8377 GB, free: 16.25 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.758e-06/0.7237, allocations: 0 / 0.8377 GB, free: 16.25 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001172/0.7249, allocations: 0.8698 MB / 0.8385 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.7259, allocations: 199 kB / 0.8387 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.7281, allocations: 1.306 MB / 0.84 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005587/0.7287, allocations: 0.9912 MB / 0.841 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.7288, allocations: 38.28 kB / 0.841 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of SimCode: time 8.41e-07/0.7288, allocations: 0 / 0.841 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of Templates: time 0.02467/0.7535, allocations: 18.67 MB / 0.8592 GB, free: 6.898 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)