Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") [/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.1957/0.1965, allocations: 82.22 MB / 0.5935 GB, free: 5.949 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005375/0.2019, allocations: 3.808 MB / 0.5972 GB, free: 2.117 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004311/0.2062, allocations: 3.018 MB / 0.6001 GB, free: 15.09 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002494/0.2065, allocations: 15.88 kB / 0.6002 GB, free: 15.07 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006232/0.2071, allocations: 155.4 kB / 0.6003 GB, free: 14.92 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008282/0.208, allocations: 314.5 kB / 0.6006 GB, free: 14.61 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005042/0.2085, allocations: 175.6 kB / 0.6008 GB, free: 14.44 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007005/0.2092, allocations: 0.6463 MB / 0.6014 GB, free: 13.79 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.2103, allocations: 0.7306 MB / 0.6021 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000388/0.2107, allocations: 227.1 kB / 0.6023 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003804/0.2111, allocations: 235.1 kB / 0.6026 GB, free: 12.58 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.931e-05/0.2112, allocations: 16 kB / 0.6026 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000373/0.2116, allocations: 179.8 kB / 0.6027 GB, free: 12.39 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.2117, allocations: 127.6 kB / 0.6029 GB, free: 12.27 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 9.997e-05/0.2118, allocations: 101.5 kB / 0.603 GB, free: 12.16 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005865/0.2124, allocations: 0.6079 MB / 0.6036 GB, free: 11.55 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2124, allocations: 0 / 0.6036 GB, free: 11.55 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2124, allocations: 0 / 0.6036 GB, free: 11.55 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.994e-06/0.2124, allocations: 4 kB / 0.6036 GB, free: 11.55 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001134/0.2136, allocations: 0.6818 MB / 0.6042 GB, free: 10.82 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.2136, allocations: 11.97 kB / 0.6042 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002427/0.2161, allocations: 0.6624 MB / 0.6049 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005857/0.2167, allocations: 438.6 kB / 0.6053 GB, free: 9.672 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.2167, allocations: 24.66 kB / 0.6053 GB, free: 9.645 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.754e-05/0.2168, allocations: 28 kB / 0.6054 GB, free: 9.617 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.2182, allocations: 0.7825 MB / 0.6061 GB, free: 8.809 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.2182, allocations: 0 / 0.6061 GB, free: 8.809 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.775e-05/0.2183, allocations: 12 kB / 0.6061 GB, free: 8.797 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000106/0.2184, allocations: 44.61 kB / 0.6062 GB, free: 8.754 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/0.2202, allocations: 0.8648 MB / 0.607 GB, free: 7.891 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003392/0.2236, allocations: 2.414 MB / 0.6094 GB, free: 5.352 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.225, allocations: 0.5254 MB / 0.6099 GB, free: 4.816 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006148/0.2256, allocations: 262.7 kB / 0.6101 GB, free: 4.559 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.2258, allocations: 81.11 kB / 0.6102 GB, free: 4.461 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.479e-05/0.2258, allocations: 46.48 kB / 0.6103 GB, free: 4.406 MB / 462.1 MB Notification: Performance of pre-optimization done (n=16): time 2.395e-06/0.2258, allocations: 0 / 0.6103 GB, free: 4.406 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.01013/0.236, allocations: 3.081 MB / 0.6133 GB, free: 1.293 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.236, allocations: 55.41 kB / 0.6133 GB, free: 1.227 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004774/0.2365, allocations: 397.6 kB / 0.6137 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.007e-05/0.2366, allocations: 33.64 kB / 0.6137 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.2368, allocations: 235.9 kB / 0.614 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.431e-05/0.2369, allocations: 82.77 kB / 0.614 GB, free: 480 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.2369, allocations: 7.938 kB / 0.614 GB, free: 472 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.237, allocations: 350.8 kB / 0.6144 GB, free: 112 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008236/0.2379, allocations: 355.7 kB / 0.6147 GB, free: 15.76 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008386/0.2387, allocations: 432.5 kB / 0.6151 GB, free: 15.31 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008675/0.2396, allocations: 382.5 kB / 0.6155 GB, free: 14.94 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2396, allocations: 4 kB / 0.6155 GB, free: 14.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004573/0.2442, allocations: 1.522 MB / 0.617 GB, free: 13.4 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.2443, allocations: 154 kB / 0.6171 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2444, allocations: 0 / 0.6171 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003451/0.2478, allocations: 0.8208 MB / 0.6179 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005689/0.2484, allocations: 127.8 kB / 0.6181 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006403/0.2548, allocations: 4.528 MB / 0.6225 GB, free: 7.465 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007106/0.2555, allocations: 115.9 kB / 0.6226 GB, free: 7.352 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.954e-05/0.2556, allocations: 15.98 kB / 0.6226 GB, free: 7.336 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.296e-06/0.2556, allocations: 4 kB / 0.6226 GB, free: 7.332 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003849/0.2595, allocations: 1.241 MB / 0.6238 GB, free: 6.086 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.2595, allocations: 4 kB / 0.6238 GB, free: 6.082 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002322/0.2618, allocations: 0.547 MB / 0.6244 GB, free: 5.531 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005798/0.2624, allocations: 135.8 kB / 0.6245 GB, free: 5.398 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003403/0.2658, allocations: 2.452 MB / 0.6269 GB, free: 2.816 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006667/0.2665, allocations: 107.8 kB / 0.627 GB, free: 2.711 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.376e-05/0.2666, allocations: 12 kB / 0.627 GB, free: 2.699 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004436/0.267, allocations: 329.8 kB / 0.6273 GB, free: 2.367 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.2672, allocations: 35.53 kB / 0.6273 GB, free: 2.332 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004354/0.2715, allocations: 1.404 MB / 0.6287 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.2715, allocations: 11.98 kB / 0.6287 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.2716, allocations: 3.938 kB / 0.6287 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2716, allocations: 0 / 0.6287 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00517/0.2767, allocations: 2.054 MB / 0.6307 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.2768, allocations: 96 / 0.6307 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003632/0.2771, allocations: 83.91 kB / 0.6308 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003098/0.2802, allocations: 0.7584 MB / 0.6316 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.544e-05/0.2803, allocations: 11.94 kB / 0.6316 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006142/0.2865, allocations: 4.364 MB / 0.6358 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2865, allocations: 0 / 0.6358 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004068/0.2906, allocations: 1.416 MB / 0.6372 GB, free: 7.836 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003101/0.2909, allocations: 168.6 kB / 0.6374 GB, free: 7.652 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.291, allocations: 4 kB / 0.6374 GB, free: 7.648 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005651/0.2916, allocations: 99.84 kB / 0.6375 GB, free: 7.551 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.2917, allocations: 19.97 kB / 0.6375 GB, free: 7.531 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.024e-05/0.2918, allocations: 8 kB / 0.6375 GB, free: 7.523 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004372/0.2922, allocations: 299.1 kB / 0.6378 GB, free: 7.234 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2922, allocations: 0 / 0.6378 GB, free: 7.234 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001083/0.2933, allocations: 196 kB / 0.638 GB, free: 7.043 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002107/0.2935, allocations: 115.1 kB / 0.6381 GB, free: 6.918 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003566/0.2971, allocations: 1.582 MB / 0.6396 GB, free: 5.297 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.2971, allocations: 0 / 0.6396 GB, free: 5.297 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001204/0.2983, allocations: 0.6418 MB / 0.6403 GB, free: 4.629 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007252/0.2991, allocations: 122 kB / 0.6404 GB, free: 4.516 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.3015, allocations: 1.248 MB / 0.6416 GB, free: 3.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006771/0.3022, allocations: 0.9093 MB / 0.6425 GB, free: 2.293 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005886/0.3028, allocations: 163.1 kB / 0.6426 GB, free: 2.137 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.3029, allocations: 35.41 kB / 0.6427 GB, free: 2.102 MB / 494.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3029, allocations: 0 / 0.6427 GB, free: 2.102 MB / 494.1 MB Notification: Performance of Templates: time 0.01985/0.3228, allocations: 11.47 MB / 0.6539 GB, free: 6.703 MB / 0.4981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1) Environment - environmentSimulation: