Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Examples.GridDCLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [/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.2198/0.223, allocations: 80.83 MB / 0.5897 GB, free: 7.102 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005069/0.2281, allocations: 3.111 MB / 0.5927 GB, free: 3.973 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003366/0.2315, allocations: 2.016 MB / 0.5947 GB, free: 1.945 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.2316, allocations: 7.938 kB / 0.5947 GB, free: 1.938 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008819/0.2326, allocations: 271.1 kB / 0.595 GB, free: 1.672 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004171/0.233, allocations: 183.3 kB / 0.5951 GB, free: 1.492 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000542/0.2335, allocations: 211.5 kB / 0.5953 GB, free: 1.285 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000429/0.234, allocations: 446.8 kB / 0.5958 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003529/0.2343, allocations: 173 kB / 0.5959 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.2345, allocations: 115.5 kB / 0.596 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003035/0.2348, allocations: 155.5 kB / 0.5962 GB, free: 420 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.162e-05/0.2349, allocations: 12 kB / 0.5962 GB, free: 408 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006301/0.2355, allocations: 471.2 kB / 0.5966 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.635e-05/0.2356, allocations: 79.69 kB / 0.5967 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.2357, allocations: 119.3 kB / 0.5968 GB, free: 15.74 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00059/0.2363, allocations: 486.6 kB / 0.5973 GB, free: 15.27 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.2363, allocations: 0 / 0.5973 GB, free: 15.27 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2363, allocations: 0 / 0.5973 GB, free: 15.27 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.2364, allocations: 0 / 0.5973 GB, free: 15.27 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009754/0.2373, allocations: 0.5647 MB / 0.5978 GB, free: 14.66 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.2374, allocations: 12.03 kB / 0.5979 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008089/0.2382, allocations: 116.4 kB / 0.598 GB, free: 14.53 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003284/0.2385, allocations: 259.8 kB / 0.5982 GB, free: 14.24 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.2386, allocations: 16.81 kB / 0.5982 GB, free: 14.22 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.867e-05/0.2386, allocations: 23.92 kB / 0.5983 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005406/0.2392, allocations: 356.9 kB / 0.5986 GB, free: 13.83 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2392, allocations: 0 / 0.5986 GB, free: 13.83 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.2392, allocations: 7.984 kB / 0.5986 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.603e-05/0.2393, allocations: 28.42 kB / 0.5986 GB, free: 13.79 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004969/0.2398, allocations: 289.5 kB / 0.5989 GB, free: 13.51 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/0.2419, allocations: 1.54 MB / 0.6004 GB, free: 11.85 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004827/0.2424, allocations: 333.6 kB / 0.6007 GB, free: 11.49 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.2425, allocations: 109.7 kB / 0.6008 GB, free: 11.38 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.2426, allocations: 81.11 kB / 0.6009 GB, free: 11.28 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.2427, allocations: 38.55 kB / 0.6009 GB, free: 11.23 MB / 462.1 MB Notification: Performance of pre-optimization done (n=16): time 1.754e-06/0.2427, allocations: 0 / 0.6009 GB, free: 11.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=23): time 0.002402/0.2451, allocations: 0.9603 MB / 0.6019 GB, free: 10.23 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.2452, allocations: 81.11 kB / 0.602 GB, free: 10.14 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.2454, allocations: 209.4 kB / 0.6022 GB, free: 9.926 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.2454, allocations: 29.7 kB / 0.6022 GB, free: 9.891 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.2455, allocations: 180 kB / 0.6024 GB, free: 9.711 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.49e-05/0.2456, allocations: 86.83 kB / 0.6024 GB, free: 9.625 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.296e-05/0.2457, allocations: 57.61 kB / 0.6025 GB, free: 9.562 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.2458, allocations: 338.8 kB / 0.6028 GB, free: 9.223 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.246, allocations: 123.9 kB / 0.6029 GB, free: 9.102 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.2463, allocations: 217.2 kB / 0.6031 GB, free: 8.855 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004647/0.2467, allocations: 363.8 kB / 0.6035 GB, free: 8.469 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.2468, allocations: 0 / 0.6035 GB, free: 8.469 MB / 462.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008745/0.2476, allocations: 0.5205 MB / 0.604 GB, free: 7.93 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2477, allocations: 6.031 kB / 0.604 GB, free: 7.926 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2477, allocations: 4 kB / 0.604 GB, free: 7.922 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005088/0.2482, allocations: 151.5 kB / 0.6042 GB, free: 7.762 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.2485, allocations: 59.89 kB / 0.6042 GB, free: 7.703 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002846/0.2513, allocations: 3.957 MB / 0.6081 GB, free: 3.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.2515, allocations: 23.91 kB / 0.6081 GB, free: 3.406 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.2515, allocations: 20.16 kB / 0.6081 GB, free: 3.387 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001731/0.2517, allocations: 161.8 kB / 0.6083 GB, free: 3.219 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.615e-05/0.2518, allocations: 23.75 kB / 0.6083 GB, free: 3.195 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008533/0.2526, allocations: 482.4 kB / 0.6088 GB, free: 2.703 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2527, allocations: 4 kB / 0.6088 GB, free: 2.699 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.2527, allocations: 7.938 kB / 0.6088 GB, free: 2.691 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2527, allocations: 0 / 0.6088 GB, free: 2.691 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.2541, allocations: 0.9923 MB / 0.6097 GB, free: 1.605 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.2541, allocations: 8.031 kB / 0.6097 GB, free: 1.598 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.2543, allocations: 39.86 kB / 0.6098 GB, free: 1.559 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004068/0.2547, allocations: 143.3 kB / 0.6099 GB, free: 1.406 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.2547, allocations: 12.09 kB / 0.6099 GB, free: 1.395 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002638/0.2574, allocations: 3.946 MB / 0.6138 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.2574, allocations: 4 kB / 0.6138 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007719/0.2582, allocations: 0.6293 MB / 0.6144 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.2583, allocations: 124.9 kB / 0.6145 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/0.2583, allocations: 11.91 kB / 0.6145 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.2586, allocations: 15.98 kB / 0.6145 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.2586, allocations: 31.84 kB / 0.6146 GB, free: 12.24 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.2586, allocations: 12 kB / 0.6146 GB, free: 12.23 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001384/0.2588, allocations: 152.2 kB / 0.6147 GB, free: 12.08 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2588, allocations: 0 / 0.6147 GB, free: 12.08 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004697/0.2593, allocations: 88 kB / 0.6148 GB, free: 12 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001875/0.2595, allocations: 145.4 kB / 0.615 GB, free: 11.85 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008726/0.2603, allocations: 0.576 MB / 0.6155 GB, free: 11.25 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2604, allocations: 0 / 0.6155 GB, free: 11.25 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000493/0.2609, allocations: 407.7 kB / 0.6159 GB, free: 10.82 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005033/0.2614, allocations: 46.59 kB / 0.616 GB, free: 10.78 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009949/0.2624, allocations: 0.7271 MB / 0.6167 GB, free: 10 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.2628, allocations: 0.7831 MB / 0.6174 GB, free: 9.191 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001563/0.2629, allocations: 54.25 kB / 0.6175 GB, free: 9.141 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.63e-05/0.263, allocations: 19.44 kB / 0.6175 GB, free: 9.125 MB / 478.1 MB Notification: Performance of SimCode: time 2.2e-07/0.263, allocations: 0 / 0.6175 GB, free: 9.125 MB / 478.1 MB Notification: Performance of Templates: time 0.007435/0.2704, allocations: 4.041 MB / 0.6214 GB, free: 5.113 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)