Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.201/0.2029, allocations: 80.84 MB / 0.5897 GB, free: 7.102 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007999/0.211, allocations: 6.002 MB / 0.5956 GB, free: 1.066 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005321/0.2163, allocations: 3.43 MB / 0.5989 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003383/0.2167, allocations: 27.81 kB / 0.5989 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002169/0.2189, allocations: 0.8677 MB / 0.5998 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009994/0.2199, allocations: 478 kB / 0.6002 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.2209, allocations: 447.1 kB / 0.6007 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001271/0.2222, allocations: 1.432 MB / 0.6021 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000908/0.2231, allocations: 0.6219 MB / 0.6027 GB, free: 9.762 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004942/0.2236, allocations: 370.4 kB / 0.603 GB, free: 9.398 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006661/0.2243, allocations: 0.4904 MB / 0.6035 GB, free: 8.906 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.887e-05/0.2244, allocations: 40 kB / 0.6035 GB, free: 8.867 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009078/0.2253, allocations: 0.5847 MB / 0.6041 GB, free: 8.281 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002508/0.2256, allocations: 267.3 kB / 0.6044 GB, free: 8.02 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000337/0.2259, allocations: 362 kB / 0.6047 GB, free: 7.664 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.2271, allocations: 1.149 MB / 0.6058 GB, free: 6.512 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2271, allocations: 3.938 kB / 0.6058 GB, free: 6.508 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2271, allocations: 0 / 0.6058 GB, free: 6.508 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.2271, allocations: 0 / 0.6058 GB, free: 6.508 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.001571/0.2287, allocations: 1.032 MB / 0.6068 GB, free: 5.426 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.2287, allocations: 12.03 kB / 0.6069 GB, free: 5.414 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001428/0.2302, allocations: 223.6 kB / 0.6071 GB, free: 5.195 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006953/0.2309, allocations: 0.5259 MB / 0.6076 GB, free: 4.629 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.806e-05/0.2309, allocations: 49.61 kB / 0.6076 GB, free: 4.578 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.961e-05/0.231, allocations: 68.27 kB / 0.6077 GB, free: 4.512 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.2323, allocations: 1.006 MB / 0.6087 GB, free: 3.402 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.2324, allocations: 7.938 kB / 0.6087 GB, free: 3.395 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.607e-05/0.2324, allocations: 27.98 kB / 0.6087 GB, free: 3.367 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.555e-05/0.2325, allocations: 73.2 kB / 0.6088 GB, free: 3.297 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009479/0.2335, allocations: 0.6723 MB / 0.6094 GB, free: 2.625 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004197/0.2377, allocations: 4.69 MB / 0.614 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008019/0.2385, allocations: 0.6029 MB / 0.6146 GB, free: 13.1 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000741/0.2392, allocations: 429.3 kB / 0.615 GB, free: 12.68 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.25e-05/0.2393, allocations: 4 kB / 0.615 GB, free: 12.68 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.2393, allocations: 42.34 kB / 0.6151 GB, free: 12.62 MB / 478.1 MB Notification: Performance of pre-optimization done (n=41): time 1.412e-06/0.2393, allocations: 0 / 0.6151 GB, free: 12.62 MB / 478.1 MB Notification: Performance of matching and sorting (n=42): time 0.004067/0.2434, allocations: 2.053 MB / 0.6171 GB, free: 10.48 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.2435, allocations: 59.19 kB / 0.6171 GB, free: 10.41 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004474/0.2439, allocations: 462.8 kB / 0.6176 GB, free: 9.941 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/0.244, allocations: 33.7 kB / 0.6176 GB, free: 9.902 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002116/0.2442, allocations: 375.1 kB / 0.618 GB, free: 9.531 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.2443, allocations: 145.9 kB / 0.6181 GB, free: 9.387 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.2445, allocations: 118.1 kB / 0.6182 GB, free: 9.266 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.2446, allocations: 370.7 kB / 0.6186 GB, free: 8.895 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003523/0.245, allocations: 249.2 kB / 0.6188 GB, free: 8.648 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000464/0.2455, allocations: 465 kB / 0.6192 GB, free: 8.102 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000901/0.2464, allocations: 0.7558 MB / 0.62 GB, free: 7.25 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2464, allocations: 0 / 0.62 GB, free: 7.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001719/0.2481, allocations: 1.062 MB / 0.621 GB, free: 6.168 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.2481, allocations: 8 kB / 0.621 GB, free: 6.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.2482, allocations: 8 kB / 0.621 GB, free: 6.152 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.2492, allocations: 327.3 kB / 0.6213 GB, free: 5.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002841/0.2495, allocations: 99.81 kB / 0.6214 GB, free: 5.723 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006587/0.2561, allocations: 6.954 MB / 0.6282 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003928/0.2565, allocations: 36.02 kB / 0.6283 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.651e-05/0.2565, allocations: 24 kB / 0.6283 GB, free: 14.17 MB / 494.1 MB 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.0003695/0.2569, allocations: 245.6 kB / 0.6285 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.49e-05/0.257, allocations: 55.34 kB / 0.6286 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001698/0.2587, allocations: 0.9275 MB / 0.6295 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.2587, allocations: 4 kB / 0.6295 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.2587, allocations: 4 kB / 0.6295 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.2588, allocations: 7.984 kB / 0.6295 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/0.2613, allocations: 1.704 MB / 0.6312 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.2614, allocations: 8.375 kB / 0.6312 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.2615, allocations: 43.91 kB / 0.6312 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009133/0.2624, allocations: 323.1 kB / 0.6315 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.2625, allocations: 8 kB / 0.6315 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006249/0.2687, allocations: 6.939 MB / 0.6383 GB, free: 3.246 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.2688, allocations: 7.938 kB / 0.6383 GB, free: 3.238 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.2704, allocations: 1.011 MB / 0.6393 GB, free: 2.18 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000218/0.2706, allocations: 172.3 kB / 0.6395 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.545e-05/0.2707, allocations: 12 kB / 0.6395 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.271, allocations: 27.91 kB / 0.6395 GB, free: 1.953 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.2711, allocations: 43.89 kB / 0.6395 GB, free: 1.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.2711, allocations: 8 kB / 0.6395 GB, free: 1.902 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003229/0.2714, allocations: 318.9 kB / 0.6399 GB, free: 1.594 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2714, allocations: 0 / 0.6399 GB, free: 1.594 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007531/0.2722, allocations: 188 kB / 0.64 GB, free: 1.41 MB / 494.1 MB 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.0001547/0.2724, allocations: 111.7 kB / 0.6401 GB, free: 1.293 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001707/0.2741, allocations: 1.187 MB / 0.6413 GB, free: 56 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.2741, allocations: 0 / 0.6413 GB, free: 56 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.2752, allocations: 0.8657 MB / 0.6421 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009262/0.2762, allocations: 192.7 kB / 0.6423 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.2782, allocations: 1.543 MB / 0.6438 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005318/0.2788, allocations: 0.9882 MB / 0.6448 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002831/0.2791, allocations: 105.3 kB / 0.6449 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.755e-05/0.2792, allocations: 35.44 kB / 0.6449 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of SimCode: time 1.713e-06/0.2792, allocations: 0 / 0.6449 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of Templates: time 0.01528/0.2944, allocations: 9.606 MB / 0.6543 GB, free: 2.742 MB / 0.4981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)