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.208/0.2087, allocations: 82.22 MB / 0.5935 GB, free: 5.969 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.00418/0.213, allocations: 2.643 MB / 0.5961 GB, free: 3.309 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003095/0.2161, allocations: 1.849 MB / 0.5979 GB, free: 1.449 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.2163, allocations: 7.938 kB / 0.5979 GB, free: 1.441 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001859/0.2165, allocations: 39.7 kB / 0.5979 GB, free: 1.402 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005677/0.217, allocations: 143.3 kB / 0.598 GB, free: 1.262 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005395/0.2176, allocations: 179.5 kB / 0.5982 GB, free: 1.086 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004023/0.218, allocations: 354.9 kB / 0.5986 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006167/0.2186, allocations: 321.8 kB / 0.5989 GB, free: 416 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.2188, allocations: 103.5 kB / 0.599 GB, free: 312 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000299/0.2191, allocations: 143.5 kB / 0.5991 GB, free: 168 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.709e-05/0.2192, allocations: 12 kB / 0.5991 GB, free: 156 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004577/0.2197, allocations: 259.6 kB / 0.5994 GB, free: 15.9 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.457e-05/0.2197, allocations: 71.78 kB / 0.5994 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.441e-05/0.2198, allocations: 69.58 kB / 0.5995 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003997/0.2202, allocations: 351.2 kB / 0.5998 GB, free: 15.41 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2202, allocations: 4 kB / 0.5998 GB, free: 15.41 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2202, allocations: 3.938 kB / 0.5998 GB, free: 15.4 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.2203, allocations: 0 / 0.5998 GB, free: 15.4 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.0008043/0.2211, allocations: 0.5106 MB / 0.6003 GB, free: 14.84 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.2211, allocations: 8.031 kB / 0.6003 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007783/0.2219, allocations: 115.5 kB / 0.6004 GB, free: 14.72 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.2222, allocations: 263.1 kB / 0.6007 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.2223, allocations: 12.44 kB / 0.6007 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/0.2223, allocations: 16 kB / 0.6007 GB, free: 14.4 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000578/0.2229, allocations: 352.9 kB / 0.6011 GB, free: 14.03 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.2229, allocations: 4 kB / 0.6011 GB, free: 14.03 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.223, allocations: 11.98 kB / 0.6011 GB, free: 14.02 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.972e-05/0.223, allocations: 32.41 kB / 0.6011 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004707/0.2235, allocations: 293.5 kB / 0.6014 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002113/0.2256, allocations: 1.532 MB / 0.6029 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004887/0.2261, allocations: 330.1 kB / 0.6032 GB, free: 11.68 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.2263, allocations: 102 kB / 0.6033 GB, free: 11.58 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/0.2264, allocations: 89.09 kB / 0.6034 GB, free: 11.47 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.2265, allocations: 38.5 kB / 0.6034 GB, free: 11.43 MB / 462.1 MB Notification: Performance of pre-optimization done (n=16): time 2.896e-06/0.2265, allocations: 4 kB / 0.6034 GB, free: 11.42 MB / 462.1 MB Notification: Performance of matching and sorting (n=23): time 0.002466/0.2289, allocations: 0.9739 MB / 0.6044 GB, free: 10.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/0.229, allocations: 81.3 kB / 0.6044 GB, free: 10.32 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.2293, allocations: 217.4 kB / 0.6047 GB, free: 10.09 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.2293, allocations: 29.73 kB / 0.6047 GB, free: 10.06 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.2294, allocations: 172.1 kB / 0.6048 GB, free: 9.887 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.127e-05/0.2295, allocations: 82.84 kB / 0.6049 GB, free: 9.805 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.562e-05/0.2295, allocations: 4 kB / 0.6049 GB, free: 9.801 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.2297, allocations: 330.8 kB / 0.6052 GB, free: 9.469 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.2299, allocations: 131.9 kB / 0.6054 GB, free: 9.34 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.2301, allocations: 209.2 kB / 0.6056 GB, free: 9.102 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/0.2304, allocations: 165.9 kB / 0.6057 GB, free: 8.941 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2304, allocations: 0 / 0.6057 GB, free: 8.941 MB / 462.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008769/0.2313, allocations: 0.5051 MB / 0.6062 GB, free: 8.418 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.2313, allocations: 11.94 kB / 0.6062 GB, free: 8.406 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.2313, allocations: 4 kB / 0.6062 GB, free: 8.402 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005115/0.2318, allocations: 143.4 kB / 0.6064 GB, free: 8.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.2321, allocations: 67.83 kB / 0.6064 GB, free: 8.184 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002953/0.2351, allocations: 3.958 MB / 0.6103 GB, free: 3.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.2353, allocations: 23.98 kB / 0.6103 GB, free: 3.887 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.2354, allocations: 15.94 kB / 0.6103 GB, free: 3.871 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 (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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001977/0.2356, allocations: 173.5 kB / 0.6105 GB, free: 3.695 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.753e-05/0.2356, allocations: 23.72 kB / 0.6105 GB, free: 3.672 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008998/0.2366, allocations: 478.7 kB / 0.611 GB, free: 3.184 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2366, allocations: 4 kB / 0.611 GB, free: 3.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.2366, allocations: 0 / 0.611 GB, free: 3.18 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2366, allocations: 0 / 0.611 GB, free: 3.18 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.2382, allocations: 1.002 MB / 0.612 GB, free: 2.086 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.2382, allocations: 4 kB / 0.612 GB, free: 2.082 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.2383, allocations: 31.92 kB / 0.612 GB, free: 2.051 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004744/0.2388, allocations: 155.5 kB / 0.6122 GB, free: 1.887 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.2388, allocations: 8 kB / 0.6122 GB, free: 1.879 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003109/0.242, allocations: 3.942 MB / 0.616 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.242, allocations: 4.031 kB / 0.616 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009009/0.2429, allocations: 0.6296 MB / 0.6166 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.2431, allocations: 124.9 kB / 0.6167 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/0.2431, allocations: 4 kB / 0.6168 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.2433, allocations: 15.98 kB / 0.6168 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/0.2434, allocations: 35.86 kB / 0.6168 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.2434, allocations: 16 kB / 0.6168 GB, free: 12.72 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001611/0.2436, allocations: 152.2 kB / 0.617 GB, free: 12.57 MB / 478.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2436, allocations: 0 / 0.617 GB, free: 12.57 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005678/0.2442, allocations: 84 kB / 0.617 GB, free: 12.49 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 (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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002102/0.2444, allocations: 139.1 kB / 0.6172 GB, free: 12.34 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009406/0.2453, allocations: 0.5595 MB / 0.6177 GB, free: 11.76 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2454, allocations: 0.625 kB / 0.6177 GB, free: 11.76 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005516/0.2459, allocations: 405.1 kB / 0.6181 GB, free: 11.34 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005679/0.2465, allocations: 46.7 kB / 0.6182 GB, free: 11.29 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.2477, allocations: 0.7352 MB / 0.6189 GB, free: 10.51 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.2481, allocations: 0.7792 MB / 0.6196 GB, free: 9.699 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001868/0.2483, allocations: 62.17 kB / 0.6197 GB, free: 9.641 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.494e-05/0.2483, allocations: 23.44 kB / 0.6197 GB, free: 9.621 MB / 478.1 MB Notification: Performance of SimCode: time 5e-07/0.2483, allocations: 0 / 0.6197 GB, free: 9.621 MB / 478.1 MB Notification: Performance of Templates: time 0.008287/0.2566, allocations: 3.882 MB / 0.6235 GB, free: 5.773 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: