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_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.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.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.1658/0.1666, allocations: 82.21 MB / 0.5934 GB, free: 5.973 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006862/0.1734, allocations: 5.11 MB / 0.5984 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005254/0.1787, allocations: 3.113 MB / 0.6014 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005691/0.1793, allocations: 31.75 kB / 0.6014 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005029/0.1799, allocations: 99.31 kB / 0.6015 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001301/0.1812, allocations: 370.8 kB / 0.6019 GB, free: 13.22 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.1824, allocations: 368.7 kB / 0.6022 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001115/0.1836, allocations: 0.6103 MB / 0.6028 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001453/0.185, allocations: 0.9085 MB / 0.6037 GB, free: 11.33 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004805/0.1855, allocations: 310.8 kB / 0.604 GB, free: 11.02 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004998/0.186, allocations: 354.7 kB / 0.6044 GB, free: 10.68 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.36e-05/0.1861, allocations: 32 kB / 0.6044 GB, free: 10.64 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004733/0.1866, allocations: 199.7 kB / 0.6046 GB, free: 10.45 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001906/0.1868, allocations: 219.4 kB / 0.6048 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.1869, allocations: 161.3 kB / 0.6049 GB, free: 10.07 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007146/0.1876, allocations: 0.8145 MB / 0.6057 GB, free: 9.254 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.1876, allocations: 0 / 0.6057 GB, free: 9.254 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1877, allocations: 0 / 0.6057 GB, free: 9.254 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.1877, allocations: 0 / 0.6057 GB, free: 9.254 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.001298/0.189, allocations: 0.895 MB / 0.6066 GB, free: 8.312 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.189, allocations: 12.03 kB / 0.6066 GB, free: 8.301 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/0.1902, allocations: 198.9 kB / 0.6068 GB, free: 8.105 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007492/0.191, allocations: 0.5132 MB / 0.6073 GB, free: 7.551 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.191, allocations: 41.31 kB / 0.6073 GB, free: 7.508 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.973e-05/0.1911, allocations: 59.92 kB / 0.6074 GB, free: 7.449 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.1923, allocations: 0.9905 MB / 0.6084 GB, free: 6.355 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/0.1924, allocations: 19.84 kB / 0.6084 GB, free: 6.336 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.106e-05/0.1924, allocations: 27.98 kB / 0.6084 GB, free: 6.309 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.115e-05/0.1925, allocations: 65.27 kB / 0.6085 GB, free: 6.246 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009104/0.1935, allocations: 0.6684 MB / 0.6091 GB, free: 5.578 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004112/0.1976, allocations: 4.714 MB / 0.6137 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007544/0.1984, allocations: 0.5896 MB / 0.6143 GB, free: 48 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.1984, allocations: 11.94 kB / 0.6143 GB, free: 36 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.1984, allocations: 39.3 kB / 0.6144 GB, free: 15.98 MB / 478.1 MB Notification: Performance of pre-optimization done (n=41): time 2.074e-06/0.1984, allocations: 4 kB / 0.6144 GB, free: 15.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=42): time 0.003738/0.2022, allocations: 1.893 MB / 0.6162 GB, free: 14 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.2022, allocations: 55.41 kB / 0.6163 GB, free: 13.93 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000465/0.2027, allocations: 454.7 kB / 0.6167 GB, free: 13.47 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.2028, allocations: 29.7 kB / 0.6167 GB, free: 13.44 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002442/0.203, allocations: 375.3 kB / 0.6171 GB, free: 13.07 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.2031, allocations: 149.8 kB / 0.6172 GB, free: 12.92 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.2032, allocations: 16 kB / 0.6172 GB, free: 12.9 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.2034, allocations: 366.7 kB / 0.6176 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003363/0.2037, allocations: 233.2 kB / 0.6178 GB, free: 12.31 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004962/0.2042, allocations: 441 kB / 0.6182 GB, free: 11.79 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004336/0.2046, allocations: 307.7 kB / 0.6185 GB, free: 11.48 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.2047, allocations: 4 kB / 0.6185 GB, free: 11.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001635/0.2063, allocations: 0.9761 MB / 0.6195 GB, free: 10.48 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.2063, allocations: 8 kB / 0.6195 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.2063, allocations: 4 kB / 0.6195 GB, free: 10.47 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008581/0.2072, allocations: 267.6 kB / 0.6198 GB, free: 10.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003238/0.2075, allocations: 103.8 kB / 0.6199 GB, free: 10.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0062/0.2138, allocations: 6.743 MB / 0.6264 GB, free: 2.816 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000362/0.2141, allocations: 35.97 kB / 0.6265 GB, free: 2.781 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.2142, allocations: 28.06 kB / 0.6265 GB, free: 2.754 MB / 478.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 (55): * Single equations (assignments): 51 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003242/0.2145, allocations: 250.9 kB / 0.6267 GB, free: 2.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.249e-05/0.2146, allocations: 55.34 kB / 0.6268 GB, free: 2.445 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.216, allocations: 0.8301 MB / 0.6276 GB, free: 1.59 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2161, allocations: 4 kB / 0.6276 GB, free: 1.586 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.2161, allocations: 7.953 kB / 0.6276 GB, free: 1.578 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.2161, allocations: 3.984 kB / 0.6276 GB, free: 1.574 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/0.2185, allocations: 1.603 MB / 0.6292 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.2185, allocations: 0 / 0.6292 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.2187, allocations: 47.95 kB / 0.6292 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007122/0.2194, allocations: 255.6 kB / 0.6295 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/0.2195, allocations: 8 kB / 0.6295 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005162/0.2246, allocations: 6.455 MB / 0.6358 GB, free: 8.578 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.2247, allocations: 8.047 kB / 0.6358 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.2261, allocations: 0.9779 MB / 0.6367 GB, free: 7.508 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002603/0.2264, allocations: 168.4 kB / 0.6369 GB, free: 7.324 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.749e-05/0.2264, allocations: 8 kB / 0.6369 GB, free: 7.316 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.2267, allocations: 31.92 kB / 0.6369 GB, free: 7.285 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.2268, allocations: 39.83 kB / 0.637 GB, free: 7.246 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.2269, allocations: 16 kB / 0.637 GB, free: 7.23 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003987/0.2273, allocations: 298.9 kB / 0.6373 GB, free: 6.941 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.2273, allocations: 0 / 0.6373 GB, free: 6.941 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009123/0.2282, allocations: 180 kB / 0.6375 GB, free: 6.766 MB / 494.1 MB 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 (27): * Single equations (assignments): 23 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001812/0.2284, allocations: 111.2 kB / 0.6376 GB, free: 6.648 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001837/0.2302, allocations: 1.137 MB / 0.6387 GB, free: 5.461 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.2302, allocations: 0 / 0.6387 GB, free: 5.461 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.2313, allocations: 0.7996 MB / 0.6395 GB, free: 4.609 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008405/0.2322, allocations: 175.4 kB / 0.6396 GB, free: 4.441 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.2342, allocations: 1.483 MB / 0.6411 GB, free: 2.914 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005884/0.2348, allocations: 0.9928 MB / 0.642 GB, free: 1.895 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002964/0.2351, allocations: 113.2 kB / 0.6421 GB, free: 1.785 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.8e-05/0.2352, allocations: 35.44 kB / 0.6422 GB, free: 1.75 MB / 494.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2352, allocations: 0 / 0.6422 GB, free: 1.75 MB / 494.1 MB Notification: Performance of Templates: time 0.01377/0.249, allocations: 8.58 MB / 0.6506 GB, free: 9.273 MB / 0.4981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) Environment - environmentSimulation: