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.2038/0.2046, allocations: 82.23 MB / 0.5941 GB, free: 5.543 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004063/0.2088, allocations: 2.738 MB / 0.5968 GB, free: 2.789 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003225/0.212, allocations: 1.981 MB / 0.5987 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.2122, allocations: 4 kB / 0.5987 GB, free: 0.793 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001941/0.2124, allocations: 39.7 kB / 0.5988 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005445/0.213, allocations: 183.3 kB / 0.5989 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005872/0.2136, allocations: 219.4 kB / 0.5992 GB, free: 368 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004486/0.214, allocations: 442.9 kB / 0.5996 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006505/0.2147, allocations: 337.8 kB / 0.5999 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.2149, allocations: 99.58 kB / 0.6 GB, free: 15.48 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000305/0.2152, allocations: 143.5 kB / 0.6001 GB, free: 15.34 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.2152, allocations: 12 kB / 0.6001 GB, free: 15.32 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006538/0.2159, allocations: 475 kB / 0.6006 GB, free: 14.86 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.171e-05/0.216, allocations: 71.8 kB / 0.6007 GB, free: 14.79 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.2161, allocations: 133.1 kB / 0.6008 GB, free: 14.65 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005473/0.2167, allocations: 494.4 kB / 0.6013 GB, free: 14.17 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2167, allocations: 0 / 0.6013 GB, free: 14.17 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2167, allocations: 0 / 0.6013 GB, free: 14.17 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.2167, allocations: 0 / 0.6013 GB, free: 14.17 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.0008319/0.2176, allocations: 0.5146 MB / 0.6018 GB, free: 13.61 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.2176, allocations: 8.031 kB / 0.6018 GB, free: 13.6 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007996/0.2184, allocations: 120.4 kB / 0.6019 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.2187, allocations: 264.3 kB / 0.6021 GB, free: 13.18 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.2188, allocations: 16.81 kB / 0.6022 GB, free: 13.17 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/0.2188, allocations: 19.94 kB / 0.6022 GB, free: 13.15 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005508/0.2194, allocations: 357 kB / 0.6025 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.2194, allocations: 7.938 kB / 0.6025 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.116e-05/0.2194, allocations: 4 kB / 0.6025 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.694e-05/0.2195, allocations: 28.42 kB / 0.6026 GB, free: 12.74 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004369/0.2199, allocations: 289.5 kB / 0.6028 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001955/0.2219, allocations: 1.544 MB / 0.6043 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004401/0.2224, allocations: 330.1 kB / 0.6047 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.2225, allocations: 105.7 kB / 0.6048 GB, free: 10.32 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.2226, allocations: 93.03 kB / 0.6048 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.2227, allocations: 30.56 kB / 0.6049 GB, free: 10.17 MB / 462.1 MB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.2227, allocations: 0 / 0.6049 GB, free: 10.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=23): time 0.002367/0.225, allocations: 0.9808 MB / 0.6058 GB, free: 9.152 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.2251, allocations: 81.05 kB / 0.6059 GB, free: 9.055 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.2253, allocations: 213.5 kB / 0.6061 GB, free: 8.836 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.2254, allocations: 33.7 kB / 0.6061 GB, free: 8.797 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.2255, allocations: 176 kB / 0.6063 GB, free: 8.621 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.438e-05/0.2256, allocations: 78.84 kB / 0.6064 GB, free: 8.543 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.455e-05/0.2257, allocations: 29.7 kB / 0.6064 GB, free: 8.508 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.2258, allocations: 330.8 kB / 0.6067 GB, free: 8.176 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.226, allocations: 131.9 kB / 0.6069 GB, free: 8.047 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/0.2263, allocations: 209.2 kB / 0.6071 GB, free: 7.809 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004487/0.2267, allocations: 367.8 kB / 0.6074 GB, free: 7.418 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2267, allocations: 0 / 0.6074 GB, free: 7.418 MB / 462.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008225/0.2276, allocations: 0.5086 MB / 0.6079 GB, free: 6.891 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.2276, allocations: 8 kB / 0.6079 GB, free: 6.883 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.2276, allocations: 4 kB / 0.6079 GB, free: 6.879 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005078/0.2281, allocations: 159.6 kB / 0.6081 GB, free: 6.711 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.2284, allocations: 55.91 kB / 0.6081 GB, free: 6.656 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00307/0.2315, allocations: 3.973 MB / 0.612 GB, free: 2.367 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.2317, allocations: 16.08 kB / 0.612 GB, free: 2.352 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.2317, allocations: 15.94 kB / 0.612 GB, free: 2.336 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.0001767/0.2319, allocations: 161.8 kB / 0.6122 GB, free: 2.168 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.718e-05/0.232, allocations: 27.66 kB / 0.6122 GB, free: 2.141 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008644/0.2329, allocations: 474.6 kB / 0.6127 GB, free: 1.656 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.2329, allocations: 7.938 kB / 0.6127 GB, free: 1.648 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2329, allocations: 3.938 kB / 0.6127 GB, free: 1.645 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2329, allocations: 8 kB / 0.6127 GB, free: 1.637 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.2344, allocations: 0.998 MB / 0.6137 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.2344, allocations: 0 / 0.6137 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.2345, allocations: 39.86 kB / 0.6137 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004265/0.235, allocations: 147.6 kB / 0.6138 GB, free: 360 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.235, allocations: 8 kB / 0.6138 GB, free: 352 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002793/0.2378, allocations: 3.946 MB / 0.6177 GB, free: 12.08 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/0.2378, allocations: 4.031 kB / 0.6177 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000891/0.2387, allocations: 0.6333 MB / 0.6183 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.2389, allocations: 128.8 kB / 0.6184 GB, free: 11.24 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/0.2389, allocations: 8 kB / 0.6184 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.2392, allocations: 19.98 kB / 0.6185 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.2392, allocations: 23.91 kB / 0.6185 GB, free: 11.19 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.2392, allocations: 12 kB / 0.6185 GB, free: 11.18 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001479/0.2394, allocations: 156.2 kB / 0.6187 GB, free: 11.03 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2394, allocations: 4 kB / 0.6187 GB, free: 11.02 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005455/0.24, allocations: 80 kB / 0.6187 GB, free: 10.95 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.0002595/0.2402, allocations: 137.4 kB / 0.6189 GB, free: 10.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000945/0.2412, allocations: 0.5835 MB / 0.6194 GB, free: 10.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.2412, allocations: 0 / 0.6194 GB, free: 10.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005038/0.2417, allocations: 406.3 kB / 0.6198 GB, free: 9.773 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000549/0.2423, allocations: 39.83 kB / 0.6199 GB, free: 9.738 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.2434, allocations: 0.7628 MB / 0.6206 GB, free: 8.922 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.2437, allocations: 0.7753 MB / 0.6214 GB, free: 8.117 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001747/0.2439, allocations: 58.25 kB / 0.6214 GB, free: 8.062 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.27e-05/0.244, allocations: 23.38 kB / 0.6214 GB, free: 8.043 MB / 478.1 MB Notification: Performance of SimCode: time 7.61e-07/0.244, allocations: 3.938 kB / 0.6214 GB, free: 8.039 MB / 478.1 MB Notification: Performance of Templates: time 0.007749/0.2517, allocations: 3.977 MB / 0.6253 GB, free: 4.102 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: