Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8067/0.8067, allocations: 132.4 MB / 139.9 MB, free: 15.36 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001235/0.001235, allocations: 165.7 kB / 171.8 MB, free: 2.004 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.724/1.724, allocations: 170.6 MB / 374.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001747/0.001747, allocations: 121.4 kB / 444.8 MB, free: 9.219 MB / 346.7 MB [/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.5278/0.5278, allocations: 73.4 MB / 0.6666 GB, free: 46.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1906/0.7185, allocations: 142.4 MB / 0.8057 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003383/0.7189, allocations: 95.94 kB / 0.8057 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.5462/1.265, allocations: 77.95 MB / 0.8819 GB, free: 123.2 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.344e-06/1.265, allocations: 1.75 kB / 0.8819 GB, free: 123.2 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.000116/1.265, allocations: 38.62 kB / 0.8819 GB, free: 123.2 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003348/1.269, allocations: 1.53 MB / 0.8834 GB, free: 122.4 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/1.269, allocations: 7.906 kB / 0.8834 GB, free: 122.4 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01036/1.279, allocations: 1.799 MB / 0.8852 GB, free: 122.3 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002652/1.282, allocations: 1.134 MB / 0.8863 GB, free: 121.9 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.969e-05/1.282, allocations: 36.41 kB / 0.8863 GB, free: 121.9 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002023/1.282, allocations: 67.98 kB / 0.8864 GB, free: 121.9 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002474/1.285, allocations: 1.428 MB / 0.8878 GB, free: 121.9 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003077/1.288, allocations: 1.848 MB / 0.8896 GB, free: 121.4 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.67e-05/1.288, allocations: 8.172 kB / 0.8896 GB, free: 121.4 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001533/1.288, allocations: 4.938 kB / 0.8896 GB, free: 121.4 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001144/1.288, allocations: 75.12 kB / 0.8897 GB, free: 121.4 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01423/1.302, allocations: 8.32 MB / 0.8978 GB, free: 117.7 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002093/1.304, allocations: 1.11 MB / 0.8989 GB, free: 117.6 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008028/1.305, allocations: 0.5779 MB / 0.8994 GB, free: 117.6 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.763e-05/1.305, allocations: 7.828 kB / 0.8994 GB, free: 117.6 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/1.305, allocations: 45.34 kB / 0.8995 GB, free: 117.5 MB / 0.573 GB Notification: Performance of pre-optimization done (n=53): time 3.406e-06/1.305, allocations: 2.844 kB / 0.8995 GB, free: 117.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=81): time 0.01008/1.315, allocations: 3.872 MB / 0.9033 GB, free: 117.1 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.169e-05/1.316, allocations: 222.7 kB / 0.9035 GB, free: 116.8 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/1.317, allocations: 0.7453 MB / 0.9042 GB, free: 116.7 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001178/1.317, allocations: 27.08 kB / 0.9042 GB, free: 116.6 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005931/1.318, allocations: 0.7358 MB / 0.905 GB, free: 116.3 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002935/1.318, allocations: 268 kB / 0.9052 GB, free: 116.2 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.632e-05/1.318, allocations: 0 / 0.9052 GB, free: 116.2 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001025/1.319, allocations: 338.4 kB / 0.9055 GB, free: 115.8 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009198/1.319, allocations: 0.6795 MB / 0.9062 GB, free: 115.8 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/1.321, allocations: 0.9134 MB / 0.9071 GB, free: 115.6 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/1.322, allocations: 0.782 MB / 0.9078 GB, free: 115.6 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/1.322, allocations: 0 / 0.9078 GB, free: 115.6 MB / 0.573 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00473/1.326, allocations: 2.428 MB / 0.9102 GB, free: 115.4 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/1.327, allocations: 8.281 kB / 0.9102 GB, free: 115.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/1.327, allocations: 6.656 kB / 0.9102 GB, free: 115.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002951/1.329, allocations: 0.8366 MB / 0.9111 GB, free: 115.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001919/1.331, allocations: 421.4 kB / 0.9115 GB, free: 115.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01188/1.343, allocations: 14.33 MB / 0.9254 GB, free: 105.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002749/1.346, allocations: 290.1 kB / 0.9257 GB, free: 105.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002915/1.346, allocations: 48.55 kB / 0.9258 GB, free: 105.6 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000387/1.347, allocations: 128.9 kB / 0.9259 GB, free: 105.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004545/1.347, allocations: 130.8 kB / 0.926 GB, free: 105.4 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005099/1.352, allocations: 2.428 MB / 0.9284 GB, free: 104.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/1.352, allocations: 10.23 kB / 0.9284 GB, free: 104.8 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.183e-05/1.352, allocations: 6.406 kB / 0.9284 GB, free: 104.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/1.352, allocations: 4.172 kB / 0.9284 GB, free: 104.8 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008946/1.361, allocations: 4.051 MB / 0.9324 GB, free: 103.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/1.362, allocations: 5.062 kB / 0.9324 GB, free: 103.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/1.363, allocations: 369.6 kB / 0.9327 GB, free: 103.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002895/1.366, allocations: 0.7549 MB / 0.9335 GB, free: 102.9 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001744/1.366, allocations: 22.02 kB / 0.9335 GB, free: 102.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01233/1.379, allocations: 13.93 MB / 0.9471 GB, free: 91.33 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.385e-06/1.379, allocations: 4.875 kB / 0.9471 GB, free: 91.33 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004432/1.383, allocations: 2.427 MB / 0.9495 GB, free: 90.15 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009401/1.384, allocations: 376.8 kB / 0.9498 GB, free: 89.91 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004622/1.385, allocations: 7.266 kB / 0.9498 GB, free: 89.91 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002093/1.387, allocations: 295.5 kB / 0.9501 GB, free: 89.9 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002799/1.387, allocations: 80.02 kB / 0.9502 GB, free: 89.89 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/1.387, allocations: 41.75 kB / 0.9502 GB, free: 89.88 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0009404/1.388, allocations: 0.5616 MB / 0.9508 GB, free: 89.61 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.01e-07/1.388, allocations: 0 / 0.9508 GB, free: 89.61 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002021/1.39, allocations: 409.7 kB / 0.9512 GB, free: 89.61 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003344/1.391, allocations: 139.9 kB / 0.9513 GB, free: 89.51 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.004424/1.395, allocations: 2.749 MB / 0.954 GB, free: 87.96 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.395, allocations: 1.25 kB / 0.954 GB, free: 87.96 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002795/1.398, allocations: 1.894 MB / 0.9558 GB, free: 86.77 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002386/1.4, allocations: 428 kB / 0.9562 GB, free: 86.66 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006203/1.406, allocations: 2.4 MB / 0.9586 GB, free: 85.68 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001429/1.408, allocations: 1.417 MB / 0.96 GB, free: 84.87 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002117/1.41, allocations: 367 kB / 0.9603 GB, free: 84.78 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005029/1.411, allocations: 101.9 kB / 0.9604 GB, free: 84.77 MB / 0.573 GB Notification: Performance of SimCode: time 2.364e-06/1.411, allocations: 0 / 0.9604 GB, free: 84.77 MB / 0.573 GB Notification: Performance of Templates: time 0.0547/1.465, allocations: 26.5 MB / 0.9863 GB, free: 83.47 MB / 0.573 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)