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_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [/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.2005/0.2024, allocations: 80.84 MB / 0.5899 GB, free: 6.941 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008504/0.2109, allocations: 6.707 MB / 0.5964 GB, free: 208 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005556/0.2165, allocations: 3.247 MB / 0.5996 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006025/0.2172, allocations: 27.81 kB / 0.5996 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002232/0.2195, allocations: 0.8832 MB / 0.6005 GB, free: 12.03 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001567/0.221, allocations: 0.5016 MB / 0.601 GB, free: 11.53 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.2223, allocations: 407.1 kB / 0.6014 GB, free: 11.13 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00125/0.2235, allocations: 1.216 MB / 0.6026 GB, free: 9.914 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.2246, allocations: 0.7367 MB / 0.6033 GB, free: 9.172 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005791/0.2252, allocations: 474.2 kB / 0.6037 GB, free: 8.707 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007268/0.226, allocations: 0.5605 MB / 0.6043 GB, free: 8.145 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.972e-05/0.2261, allocations: 68 kB / 0.6043 GB, free: 8.078 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006202/0.2267, allocations: 379.2 kB / 0.6047 GB, free: 7.707 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002472/0.2269, allocations: 295.2 kB / 0.605 GB, free: 7.418 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003557/0.2273, allocations: 433.8 kB / 0.6054 GB, free: 6.992 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.2284, allocations: 1.222 MB / 0.6066 GB, free: 5.766 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2284, allocations: 4 kB / 0.6066 GB, free: 5.762 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2284, allocations: 0 / 0.6066 GB, free: 5.762 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.2285, allocations: 0 / 0.6066 GB, free: 5.762 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.00184/0.2303, allocations: 1.159 MB / 0.6077 GB, free: 4.555 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.2304, allocations: 8.031 kB / 0.6077 GB, free: 4.547 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001467/0.2318, allocations: 239.6 kB / 0.608 GB, free: 4.312 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000767/0.2326, allocations: 0.5568 MB / 0.6085 GB, free: 3.715 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.124e-05/0.2327, allocations: 49.67 kB / 0.6086 GB, free: 3.664 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.563e-05/0.2328, allocations: 64.36 kB / 0.6086 GB, free: 3.602 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.2341, allocations: 1.073 MB / 0.6097 GB, free: 2.418 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/0.2342, allocations: 7.938 kB / 0.6097 GB, free: 2.41 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.806e-05/0.2342, allocations: 27.98 kB / 0.6097 GB, free: 2.383 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001408/0.2344, allocations: 85.25 kB / 0.6098 GB, free: 2.301 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.2354, allocations: 0.7426 MB / 0.6105 GB, free: 1.559 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004409/0.2398, allocations: 4.874 MB / 0.6153 GB, free: 12.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009117/0.2407, allocations: 0.556 MB / 0.6158 GB, free: 11.93 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003961/0.2412, allocations: 326 kB / 0.6161 GB, free: 11.61 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.59e-05/0.2412, allocations: 4.438 kB / 0.6161 GB, free: 11.61 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.2412, allocations: 46.98 kB / 0.6162 GB, free: 11.55 MB / 478.1 MB Notification: Performance of pre-optimization done (n=47): time 1.824e-06/0.2412, allocations: 0 / 0.6162 GB, free: 11.55 MB / 478.1 MB Notification: Performance of matching and sorting (n=48): time 0.003493/0.2447, allocations: 1.975 MB / 0.6181 GB, free: 9.484 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.2448, allocations: 67.72 kB / 0.6182 GB, free: 9.406 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005539/0.2454, allocations: 0.5626 MB / 0.6187 GB, free: 8.832 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.042e-05/0.2454, allocations: 37.7 kB / 0.6187 GB, free: 8.789 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002673/0.2457, allocations: 414.9 kB / 0.6191 GB, free: 8.379 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.2458, allocations: 173.6 kB / 0.6193 GB, free: 8.207 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.246, allocations: 122.5 kB / 0.6194 GB, free: 8.082 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.2461, allocations: 374.8 kB / 0.6198 GB, free: 7.707 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003674/0.2465, allocations: 273.8 kB / 0.62 GB, free: 7.438 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005159/0.247, allocations: 0.5009 MB / 0.6205 GB, free: 6.844 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009069/0.248, allocations: 0.8055 MB / 0.6213 GB, free: 5.945 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.248, allocations: 7.938 kB / 0.6213 GB, free: 5.938 MB / 478.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001622/0.2496, allocations: 1.079 MB / 0.6224 GB, free: 4.836 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.2496, allocations: 11.98 kB / 0.6224 GB, free: 4.824 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.2497, allocations: 19.88 kB / 0.6224 GB, free: 4.805 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007834/0.2504, allocations: 279.5 kB / 0.6227 GB, free: 4.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004209/0.2509, allocations: 123.8 kB / 0.6228 GB, free: 4.398 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006039/0.2569, allocations: 7.126 MB / 0.6298 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000644/0.2576, allocations: 43.91 kB / 0.6298 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.296e-05/0.2577, allocations: 31.98 kB / 0.6298 GB, free: 12.64 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004041/0.2581, allocations: 250.5 kB / 0.6301 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.2582, allocations: 75.09 kB / 0.6301 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/0.2597, allocations: 0.8887 MB / 0.631 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.2597, allocations: 12 kB / 0.631 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.2597, allocations: 7.938 kB / 0.631 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.2597, allocations: 3.984 kB / 0.631 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00244/0.2622, allocations: 1.728 MB / 0.6327 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.2622, allocations: 3.984 kB / 0.6327 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/0.2624, allocations: 59.89 kB / 0.6328 GB, free: 9.488 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006909/0.2631, allocations: 275.4 kB / 0.633 GB, free: 9.207 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.2632, allocations: 15.94 kB / 0.6331 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006036/0.2692, allocations: 7.123 MB / 0.64 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2692, allocations: 0 / 0.64 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.2707, allocations: 0.9874 MB / 0.641 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002737/0.271, allocations: 188.3 kB / 0.6412 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.033e-05/0.2711, allocations: 11.91 kB / 0.6412 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/0.2714, allocations: 31.95 kB / 0.6412 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.2715, allocations: 47.83 kB / 0.6412 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.2716, allocations: 16 kB / 0.6413 GB, free: 172 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004457/0.272, allocations: 391.1 kB / 0.6416 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.272, allocations: 0 / 0.6416 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000823/0.2729, allocations: 220 kB / 0.6418 GB, free: 15.57 MB / 0.4981 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 (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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000163/0.273, allocations: 114.2 kB / 0.642 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001906/0.2749, allocations: 1.334 MB / 0.6433 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.275, allocations: 3.938 kB / 0.6433 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.2761, allocations: 0.901 MB / 0.6441 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009799/0.2771, allocations: 216.5 kB / 0.6443 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.2792, allocations: 1.684 MB / 0.646 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005364/0.2798, allocations: 1.009 MB / 0.647 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003781/0.2802, allocations: 125.9 kB / 0.6471 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.2803, allocations: 43.44 kB / 0.6471 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.2803, allocations: 0 / 0.6471 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of Templates: time 0.01801/0.2983, allocations: 11.23 MB / 0.6581 GB, free: 14.94 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)