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.2117/0.2138, allocations: 80.84 MB / 0.6706 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008705/0.2226, allocations: 5.996 MB / 0.6765 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00667/0.2294, allocations: 3.403 MB / 0.6798 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007648/0.2302, allocations: 27.81 kB / 0.6798 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002667/0.2329, allocations: 0.9288 MB / 0.6807 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.2346, allocations: 0.5053 MB / 0.6812 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.2361, allocations: 0.4898 MB / 0.6817 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001543/0.2376, allocations: 1.057 MB / 0.6828 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001305/0.2389, allocations: 0.6271 MB / 0.6834 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008835/0.2398, allocations: 418.4 kB / 0.6838 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008081/0.2406, allocations: 494.1 kB / 0.6842 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.2408, allocations: 56 kB / 0.6843 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.2419, allocations: 491 kB / 0.6848 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003362/0.2422, allocations: 267.3 kB / 0.685 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004807/0.2427, allocations: 386 kB / 0.6854 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.2444, allocations: 1.141 MB / 0.6865 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.2445, allocations: 0 / 0.6865 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2445, allocations: 0 / 0.6865 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.2445, allocations: 0 / 0.6865 GB, free: 1.711 MB / 0.5137 GB 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.001895/0.2464, allocations: 1.04 MB / 0.6875 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.2464, allocations: 8.031 kB / 0.6875 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001611/0.2481, allocations: 223.6 kB / 0.6877 GB, free: 400 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/0.2491, allocations: 0.5807 MB / 0.6883 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.839e-05/0.2491, allocations: 45.67 kB / 0.6883 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.2492, allocations: 60.36 kB / 0.6884 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.2508, allocations: 1.006 MB / 0.6894 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.409e-05/0.2509, allocations: 11.91 kB / 0.6894 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.577e-05/0.2509, allocations: 31.98 kB / 0.6894 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001043/0.2511, allocations: 73.2 kB / 0.6895 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.2521, allocations: 0.6684 MB / 0.6901 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004764/0.2568, allocations: 4.686 MB / 0.6947 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009123/0.2578, allocations: 0.6024 MB / 0.6953 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009345/0.2587, allocations: 432.6 kB / 0.6957 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.751e-05/0.2588, allocations: 8 kB / 0.6957 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.2588, allocations: 34.56 kB / 0.6958 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=41): time 3.546e-06/0.2589, allocations: 0 / 0.6958 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42): time 0.00445/0.2633, allocations: 2.003 MB / 0.6977 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.2634, allocations: 55.41 kB / 0.6978 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004724/0.2638, allocations: 470.7 kB / 0.6982 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.2639, allocations: 37.7 kB / 0.6983 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.2641, allocations: 367.3 kB / 0.6986 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.2642, allocations: 153.8 kB / 0.6988 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.2644, allocations: 110.2 kB / 0.6989 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.2646, allocations: 370.7 kB / 0.6992 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/0.2649, allocations: 245.2 kB / 0.6994 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004948/0.2654, allocations: 461 kB / 0.6999 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008788/0.2663, allocations: 0.748 MB / 0.7006 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.2663, allocations: 0 / 0.7006 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001805/0.2681, allocations: 1.057 MB / 0.7017 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.2682, allocations: 8 kB / 0.7017 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.2682, allocations: 4 kB / 0.7017 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.2692, allocations: 311.8 kB / 0.702 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.2696, allocations: 99.81 kB / 0.7021 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008125/0.2777, allocations: 7.466 MB / 0.7093 GB, free: 8.934 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005001/0.2783, allocations: 32.31 kB / 0.7094 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.349e-05/0.2783, allocations: 24 kB / 0.7094 GB, free: 8.879 MB / 0.545 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.0004131/0.2788, allocations: 253.5 kB / 0.7096 GB, free: 8.621 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.2789, allocations: 55.34 kB / 0.7097 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001704/0.2806, allocations: 0.9003 MB / 0.7106 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.2807, allocations: 4 kB / 0.7106 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-05/0.2807, allocations: 8 kB / 0.7106 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.2807, allocations: 3.984 kB / 0.7106 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00295/0.2837, allocations: 1.673 MB / 0.7122 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.2837, allocations: 7.938 kB / 0.7122 GB, free: 5.859 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.2839, allocations: 43.91 kB / 0.7123 GB, free: 5.816 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009325/0.2849, allocations: 311.4 kB / 0.7126 GB, free: 5.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.691e-05/0.2849, allocations: 19.88 kB / 0.7126 GB, free: 5.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008381/0.2933, allocations: 7.448 MB / 0.7199 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.2933, allocations: 4 kB / 0.7199 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/0.2953, allocations: 0.9838 MB / 0.7208 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004559/0.2958, allocations: 184.2 kB / 0.721 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.296, allocations: 8 kB / 0.721 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003391/0.2963, allocations: 27.97 kB / 0.721 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.2964, allocations: 35.89 kB / 0.7211 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.2965, allocations: 12.23 kB / 0.7211 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004923/0.297, allocations: 322.8 kB / 0.7214 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.297, allocations: 0 / 0.7214 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001167/0.2982, allocations: 188 kB / 0.7216 GB, free: 11.66 MB / 0.5606 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.0002523/0.2984, allocations: 111.1 kB / 0.7217 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002306/0.3008, allocations: 1.199 MB / 0.7228 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.3008, allocations: 0 / 0.7228 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001344/0.3021, allocations: 0.863 MB / 0.7237 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.3034, allocations: 209 kB / 0.7239 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/0.306, allocations: 1.232 MB / 0.7251 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008987/0.307, allocations: 0.9921 MB / 0.7261 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003577/0.3073, allocations: 105.2 kB / 0.7262 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.699e-05/0.3074, allocations: 35.42 kB / 0.7262 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of SimCode: time 1.072e-06/0.3074, allocations: 4 kB / 0.7262 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of Templates: time 0.02285/0.3303, allocations: 9.94 MB / 0.7359 GB, free: 12.89 MB / 0.5762 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)