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/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.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") [/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.2078/0.2101, allocations: 80.84 MB / 0.6706 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01336/0.2235, allocations: 10.68 MB / 0.6811 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01389/0.2375, allocations: 9.006 MB / 0.6899 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001513/0.239, allocations: 55.69 kB / 0.6899 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004267/0.2433, allocations: 1.68 MB / 0.6915 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005402/0.2487, allocations: 1.556 MB / 0.6931 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002184/0.2509, allocations: 0.6627 MB / 0.6937 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003571/0.2545, allocations: 2.239 MB / 0.6959 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002199/0.2567, allocations: 1.344 MB / 0.6972 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002296/0.259, allocations: 0.9965 MB / 0.6982 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00168/0.2607, allocations: 1.023 MB / 0.6992 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001985/0.2609, allocations: 136 kB / 0.6993 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002021/0.2629, allocations: 0.7994 MB / 0.7001 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006446/0.2636, allocations: 0.5531 MB / 0.7006 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001133/0.2647, allocations: 0.8628 MB / 0.7015 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004648/0.2694, allocations: 2.515 MB / 0.7039 GB, free: 15.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.136e-05/0.2694, allocations: 0 / 0.7039 GB, free: 15.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.517e-06/0.2695, allocations: 0 / 0.7039 GB, free: 15.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.852e-05/0.2695, allocations: 0 / 0.7039 GB, free: 15.75 MB / 0.545 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.004015/0.2735, allocations: 2.002 MB / 0.7059 GB, free: 13.69 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.2736, allocations: 8.031 kB / 0.7059 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01113/0.2847, allocations: 2.054 MB / 0.7079 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002995/0.2878, allocations: 1.197 MB / 0.7091 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.454e-05/0.2878, allocations: 82.19 kB / 0.7092 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000245/0.2881, allocations: 123.9 kB / 0.7093 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005524/0.2936, allocations: 2.446 MB / 0.7117 GB, free: 7.574 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.293e-05/0.2937, allocations: 7.984 kB / 0.7117 GB, free: 7.566 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/0.2938, allocations: 55.98 kB / 0.7117 GB, free: 7.512 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003445/0.2942, allocations: 130 kB / 0.7118 GB, free: 7.383 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007274/0.3015, allocations: 2.521 MB / 0.7143 GB, free: 4.852 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0135/0.315, allocations: 8.431 MB / 0.7225 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006505/0.3216, allocations: 1.956 MB / 0.7244 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002846/0.3244, allocations: 0.966 MB / 0.7254 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.289e-05/0.3245, allocations: 12.42 kB / 0.7254 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/0.3246, allocations: 39 kB / 0.7254 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=53): time 3.486e-06/0.3246, allocations: 0 / 0.7254 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of matching and sorting (n=81): time 0.03302/0.3576, allocations: 8.687 MB / 0.7339 GB, free: 388 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.3577, allocations: 64 kB / 0.734 GB, free: 312 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/0.3596, allocations: 1.097 MB / 0.7351 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001226/0.3597, allocations: 41.7 kB / 0.7351 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006796/0.3604, allocations: 0.7186 MB / 0.7358 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003675/0.3608, allocations: 283.9 kB / 0.7361 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004369/0.3612, allocations: 202.4 kB / 0.7363 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.3614, allocations: 349.9 kB / 0.7366 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002972/0.3644, allocations: 1.075 MB / 0.7376 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00311/0.3675, allocations: 1.301 MB / 0.7389 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006123/0.3736, allocations: 2.39 MB / 0.7412 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.3737, allocations: 0 / 0.7412 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008901/0.3826, allocations: 3.276 MB / 0.7444 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.3826, allocations: 8.781 kB / 0.7445 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.3827, allocations: 8.875 kB / 0.7445 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002736/0.3854, allocations: 0.7949 MB / 0.7452 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001946/0.3874, allocations: 423.2 kB / 0.7456 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5191/0.9065, allocations: 15.9 MB / 0.7612 GB, free: 62.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002965/0.9095, allocations: 293 kB / 0.7615 GB, free: 62.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001912/0.9097, allocations: 51.31 kB / 0.7615 GB, free: 62.9 MB / 0.5762 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.00108/0.9108, allocations: 400.7 kB / 0.7619 GB, free: 62.66 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003451/0.9112, allocations: 143.3 kB / 0.762 GB, free: 62.66 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/0.9226, allocations: 3.207 MB / 0.7652 GB, free: 61.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.731e-05/0.9227, allocations: 11.95 kB / 0.7652 GB, free: 61.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-05/0.9227, allocations: 7.375 kB / 0.7652 GB, free: 61.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-05/0.9228, allocations: 4.828 kB / 0.7652 GB, free: 61.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01587/0.9386, allocations: 4.91 MB / 0.77 GB, free: 59.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-05/0.9387, allocations: 6.719 kB / 0.77 GB, free: 59.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001904/0.9406, allocations: 355.1 kB / 0.7703 GB, free: 59.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00257/0.9432, allocations: 0.702 MB / 0.771 GB, free: 59.73 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/0.9434, allocations: 28.09 kB / 0.771 GB, free: 59.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01594/0.9593, allocations: 15.54 MB / 0.7862 GB, free: 46.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.9594, allocations: 2.875 kB / 0.7862 GB, free: 46.73 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009381/0.9688, allocations: 3.049 MB / 0.7892 GB, free: 45.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001402/0.9702, allocations: 383.8 kB / 0.7896 GB, free: 45.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/0.9704, allocations: 17.66 kB / 0.7896 GB, free: 45.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001992/0.9724, allocations: 299.7 kB / 0.7899 GB, free: 45.07 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003762/0.9728, allocations: 77.06 kB / 0.7899 GB, free: 45.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.9729, allocations: 44.88 kB / 0.79 GB, free: 45.01 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001249/0.9742, allocations: 0.7385 MB / 0.7907 GB, free: 44.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9742, allocations: 0 / 0.7907 GB, free: 44.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00218/0.9764, allocations: 427.3 kB / 0.7911 GB, free: 44.57 MB / 0.5762 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.0003228/0.9767, allocations: 129.1 kB / 0.7912 GB, free: 44.46 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009347/0.9861, allocations: 3.628 MB / 0.7948 GB, free: 42.14 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.9861, allocations: 1.156 kB / 0.7948 GB, free: 42.14 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00512/0.9912, allocations: 2.372 MB / 0.7971 GB, free: 40.45 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002871/0.9941, allocations: 0.5333 MB / 0.7976 GB, free: 40.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008679/1.003, allocations: 3.458 MB / 0.801 GB, free: 38.22 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/1.004, allocations: 1.381 MB / 0.8023 GB, free: 37.18 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001534/1.006, allocations: 385.3 kB / 0.8027 GB, free: 36.98 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003425/1.006, allocations: 104.4 kB / 0.8028 GB, free: 36.96 MB / 0.5762 GB Notification: Performance of SimCode: time 1.452e-06/1.006, allocations: 0 / 0.8028 GB, free: 36.96 MB / 0.5762 GB Notification: Performance of Templates: time 0.05433/1.06, allocations: 31.25 MB / 0.8333 GB, free: 8.285 MB / 0.5762 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)