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.1995/0.2006, allocations: 82.22 MB / 0.5935 GB, free: 5.957 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01012/0.2107, allocations: 9.582 MB / 0.6028 GB, free: 12.33 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01197/0.2228, allocations: 8.377 MB / 0.611 GB, free: 3.934 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001373/0.2242, allocations: 47.69 kB / 0.6111 GB, free: 3.887 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007918/0.225, allocations: 269.8 kB / 0.6113 GB, free: 3.621 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003823/0.2288, allocations: 1.292 MB / 0.6126 GB, free: 2.332 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.2302, allocations: 463 kB / 0.613 GB, free: 1.879 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002836/0.2331, allocations: 2.395 MB / 0.6154 GB, free: 15.48 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00306/0.2362, allocations: 1.743 MB / 0.6171 GB, free: 13.7 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001421/0.2376, allocations: 0.7741 MB / 0.6178 GB, free: 12.92 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/0.2389, allocations: 0.9221 MB / 0.6187 GB, free: 12 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.2391, allocations: 64 kB / 0.6188 GB, free: 11.93 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.2402, allocations: 463.4 kB / 0.6192 GB, free: 11.48 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004257/0.2406, allocations: 470.4 kB / 0.6197 GB, free: 11.02 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003261/0.2409, allocations: 332.8 kB / 0.62 GB, free: 10.69 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001951/0.2429, allocations: 1.917 MB / 0.6219 GB, free: 8.766 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.2429, allocations: 0 / 0.6219 GB, free: 8.766 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2429, allocations: 0 / 0.6219 GB, free: 8.766 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.022e-05/0.2429, allocations: 0 / 0.6219 GB, free: 8.766 MB / 478.1 MB 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.002872/0.2458, allocations: 1.71 MB / 0.6235 GB, free: 7 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.2459, allocations: 8.031 kB / 0.6235 GB, free: 6.992 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0097/0.2556, allocations: 2.104 MB / 0.6256 GB, free: 4.883 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002063/0.2577, allocations: 1.068 MB / 0.6266 GB, free: 3.758 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.274e-05/0.2578, allocations: 82.23 kB / 0.6267 GB, free: 3.676 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002315/0.258, allocations: 119.8 kB / 0.6268 GB, free: 3.559 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005115/0.2631, allocations: 2.469 MB / 0.6292 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.022e-05/0.2632, allocations: 7.938 kB / 0.6293 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/0.2633, allocations: 47.98 kB / 0.6293 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003153/0.2636, allocations: 126 kB / 0.6294 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006388/0.27, allocations: 2.572 MB / 0.6319 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01192/0.282, allocations: 8.502 MB / 0.6402 GB, free: 5.395 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005414/0.2874, allocations: 1.995 MB / 0.6422 GB, free: 3.371 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002432/0.2899, allocations: 0.9855 MB / 0.6431 GB, free: 2.383 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.351e-05/0.29, allocations: 16.44 kB / 0.6432 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.29, allocations: 42.95 kB / 0.6432 GB, free: 2.316 MB / 494.1 MB Notification: Performance of pre-optimization done (n=53): time 4.318e-06/0.29, allocations: 0 / 0.6432 GB, free: 2.316 MB / 494.1 MB Notification: Performance of matching and sorting (n=81): time 0.02831/0.3183, allocations: 8.742 MB / 0.6517 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.3184, allocations: 60.06 kB / 0.6518 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.3201, allocations: 1.081 MB / 0.6529 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001297/0.3203, allocations: 41.7 kB / 0.6529 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000604/0.3209, allocations: 0.7301 MB / 0.6536 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003435/0.3212, allocations: 280 kB / 0.6539 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.3213, allocations: 16 kB / 0.6539 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.3215, allocations: 341.9 kB / 0.6542 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002697/0.3242, allocations: 1.095 MB / 0.6553 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002837/0.3271, allocations: 1.321 MB / 0.6566 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002773/0.3299, allocations: 1.15 MB / 0.6577 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.707e-06/0.3299, allocations: 11.95 kB / 0.6577 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008029/0.3379, allocations: 3.312 MB / 0.6609 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.338, allocations: 8 kB / 0.6609 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.338, allocations: 4 kB / 0.661 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002683/0.3407, allocations: 0.7912 MB / 0.6617 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/0.3425, allocations: 427.2 kB / 0.6621 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01537/0.3579, allocations: 14.69 MB / 0.6765 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002218/0.3601, allocations: 303.6 kB / 0.6768 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002224/0.3604, allocations: 51.97 kB / 0.6768 GB, free: 14.55 MB / 0.5294 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 (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%) 2,(3,100.0%) 5,(3,100.0%) 5,(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.0008898/0.3613, allocations: 394.4 kB / 0.6772 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003703/0.3616, allocations: 138.3 kB / 0.6773 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008302/0.3699, allocations: 3.249 MB / 0.6805 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.37, allocations: 8 kB / 0.6805 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.714e-05/0.37, allocations: 8 kB / 0.6805 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.37, allocations: 7.938 kB / 0.6805 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01089/0.3809, allocations: 4.933 MB / 0.6853 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/0.381, allocations: 4 kB / 0.6853 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001467/0.3824, allocations: 363.7 kB / 0.6857 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002314/0.3848, allocations: 0.7058 MB / 0.6864 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.3849, allocations: 27.97 kB / 0.6864 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3045/0.6894, allocations: 14.31 MB / 0.7004 GB, free: 83.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.6894, allocations: 3.578 kB / 0.7004 GB, free: 83.49 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007082/0.6965, allocations: 3.08 MB / 0.7034 GB, free: 83.18 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007145/0.6972, allocations: 382.6 kB / 0.7038 GB, free: 83.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/0.6975, allocations: 22.17 kB / 0.7038 GB, free: 83.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/0.6991, allocations: 309.8 kB / 0.7041 GB, free: 83.08 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002613/0.6994, allocations: 79.36 kB / 0.7042 GB, free: 83.08 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.504e-05/0.6995, allocations: 40.3 kB / 0.7042 GB, free: 83.08 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009117/0.7004, allocations: 0.7274 MB / 0.7049 GB, free: 82.97 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7004, allocations: 0 / 0.7049 GB, free: 82.97 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001371/0.7018, allocations: 427.1 kB / 0.7053 GB, free: 82.97 MB / 0.5294 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 (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,(2,100.0%) 2,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000215/0.702, allocations: 131.1 kB / 0.7054 GB, free: 82.89 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007599/0.7096, allocations: 3.666 MB / 0.709 GB, free: 81.94 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.7097, allocations: 0 / 0.709 GB, free: 81.94 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004633/0.7143, allocations: 2.382 MB / 0.7113 GB, free: 81.01 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/0.7168, allocations: 497.4 kB / 0.7118 GB, free: 81 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008624/0.7254, allocations: 3.957 MB / 0.7157 GB, free: 79.43 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001275/0.7268, allocations: 1.381 MB / 0.717 GB, free: 78.63 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002167/0.7289, allocations: 384.3 kB / 0.7174 GB, free: 78.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004765/0.7294, allocations: 104.1 kB / 0.7175 GB, free: 78.5 MB / 0.5294 GB Notification: Performance of SimCode: time 2.054e-06/0.7294, allocations: 0.5 kB / 0.7175 GB, free: 78.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.04072/0.7702, allocations: 28.18 MB / 0.745 GB, free: 59.39 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: