Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [/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.1965/0.1972, allocations: 82.22 MB / 0.5935 GB, free: 5.969 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003975/0.2012, allocations: 2.787 MB / 0.5962 GB, free: 3.164 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00308/0.2043, allocations: 1.829 MB / 0.598 GB, free: 1.324 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002359/0.2046, allocations: 4 kB / 0.598 GB, free: 1.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002028/0.2048, allocations: 43.64 kB / 0.598 GB, free: 1.277 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000591/0.2054, allocations: 183.2 kB / 0.5982 GB, free: 1.098 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006981/0.2061, allocations: 223.5 kB / 0.5984 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000459/0.2066, allocations: 462.6 kB / 0.5989 GB, free: 436 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007353/0.2074, allocations: 441.5 kB / 0.5993 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.2075, allocations: 135.5 kB / 0.5994 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003452/0.2079, allocations: 187.4 kB / 0.5996 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.2079, allocations: 15.94 kB / 0.5996 GB, free: 15.63 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002856/0.2082, allocations: 139.8 kB / 0.5997 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.2084, allocations: 103.7 kB / 0.5998 GB, free: 15.39 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.659e-05/0.2084, allocations: 69.58 kB / 0.5999 GB, free: 15.32 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003661/0.2088, allocations: 343.2 kB / 0.6002 GB, free: 14.98 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2088, allocations: 4 kB / 0.6002 GB, free: 14.98 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2088, allocations: 3.938 kB / 0.6002 GB, free: 14.98 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.2088, allocations: 0 / 0.6002 GB, free: 14.98 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0009408/0.2098, allocations: 0.534 MB / 0.6008 GB, free: 14.39 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.2098, allocations: 8.031 kB / 0.6008 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007025/0.2105, allocations: 95.52 kB / 0.6009 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.2109, allocations: 280.1 kB / 0.6011 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.2109, allocations: 20.55 kB / 0.6011 GB, free: 13.96 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.211, allocations: 28 kB / 0.6012 GB, free: 13.93 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005563/0.2116, allocations: 432.4 kB / 0.6016 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.2116, allocations: 8 kB / 0.6016 GB, free: 13.47 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.2117, allocations: 8 kB / 0.6016 GB, free: 13.46 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001227/0.2118, allocations: 40.41 kB / 0.6016 GB, free: 13.42 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004691/0.2123, allocations: 341.4 kB / 0.602 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002015/0.2143, allocations: 1.847 MB / 0.6038 GB, free: 11.13 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003989/0.2147, allocations: 270.9 kB / 0.604 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.2149, allocations: 165.1 kB / 0.6042 GB, free: 10.69 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.215, allocations: 4.188 kB / 0.6042 GB, free: 10.69 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.215, allocations: 30.75 kB / 0.6042 GB, free: 10.65 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 1.392e-06/0.215, allocations: 0 / 0.6042 GB, free: 10.65 MB / 462.1 MB Notification: Performance of matching and sorting (n=23): time 0.001639/0.2166, allocations: 1.06 MB / 0.6053 GB, free: 9.523 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.2167, allocations: 55.41 kB / 0.6053 GB, free: 9.457 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.2169, allocations: 245 kB / 0.6055 GB, free: 9.207 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.2169, allocations: 29.7 kB / 0.6056 GB, free: 9.172 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.2171, allocations: 187.9 kB / 0.6057 GB, free: 8.984 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.932e-05/0.2171, allocations: 82.81 kB / 0.6058 GB, free: 8.902 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.109e-05/0.2172, allocations: 12 kB / 0.6058 GB, free: 8.891 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.2173, allocations: 338.8 kB / 0.6062 GB, free: 8.551 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.2175, allocations: 155.8 kB / 0.6063 GB, free: 8.398 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/0.2178, allocations: 237.5 kB / 0.6065 GB, free: 8.133 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.2181, allocations: 185.3 kB / 0.6067 GB, free: 7.953 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2181, allocations: 0 / 0.6067 GB, free: 7.953 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001104/0.2192, allocations: 0.5848 MB / 0.6073 GB, free: 7.359 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.2192, allocations: 8 kB / 0.6073 GB, free: 7.352 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.2193, allocations: 0 / 0.6073 GB, free: 7.352 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006266/0.2199, allocations: 195.7 kB / 0.6075 GB, free: 7.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/0.2202, allocations: 67.83 kB / 0.6075 GB, free: 7.094 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002656/0.2229, allocations: 2.307 MB / 0.6098 GB, free: 4.652 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.2231, allocations: 15.98 kB / 0.6098 GB, free: 4.637 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.2232, allocations: 12 kB / 0.6098 GB, free: 4.625 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): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001645/0.2233, allocations: 166.6 kB / 0.61 GB, free: 4.453 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.894e-05/0.2234, allocations: 23.88 kB / 0.61 GB, free: 4.43 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006002/0.224, allocations: 363.4 kB / 0.6104 GB, free: 4.07 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.224, allocations: 3.938 kB / 0.6104 GB, free: 4.066 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.224, allocations: 3.953 kB / 0.6104 GB, free: 4.062 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.224, allocations: 0 / 0.6104 GB, free: 4.062 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.2251, allocations: 0.8059 MB / 0.6111 GB, free: 3.195 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.2251, allocations: 0 / 0.6111 GB, free: 3.195 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003676/0.2255, allocations: 79.94 kB / 0.6112 GB, free: 3.117 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2255, allocations: 0 / 0.6112 GB, free: 3.117 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.2255, allocations: 11.95 kB / 0.6112 GB, free: 3.105 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.2255, allocations: 3.984 kB / 0.6112 GB, free: 3.102 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2255, allocations: 4 kB / 0.6112 GB, free: 3.098 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000719/0.2263, allocations: 0.6072 MB / 0.6118 GB, free: 2.469 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.2264, allocations: 132.8 kB / 0.612 GB, free: 2.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.14e-05/0.2264, allocations: 8 kB / 0.612 GB, free: 2.312 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.2266, allocations: 15.94 kB / 0.612 GB, free: 2.297 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.2267, allocations: 15.92 kB / 0.612 GB, free: 2.281 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.2267, allocations: 8 kB / 0.612 GB, free: 2.273 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001604/0.2269, allocations: 180.5 kB / 0.6122 GB, free: 2.102 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.512e-06/0.2269, allocations: 0 / 0.6122 GB, free: 2.102 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004167/0.2273, allocations: 91.94 kB / 0.6123 GB, free: 2.012 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001538/0.2275, allocations: 103.2 kB / 0.6124 GB, free: 1.902 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008562/0.2283, allocations: 0.5384 MB / 0.6129 GB, free: 1.352 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2283, allocations: 0.625 kB / 0.6129 GB, free: 1.352 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.2285, allocations: 151.4 kB / 0.613 GB, free: 1.207 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004516/0.229, allocations: 56.33 kB / 0.6131 GB, free: 1.152 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.2308, allocations: 1.017 MB / 0.6141 GB, free: 104 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.2312, allocations: 0.7989 MB / 0.6149 GB, free: 15.27 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002385/0.2314, allocations: 82.89 kB / 0.6149 GB, free: 15.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.42e-05/0.2315, allocations: 23.42 kB / 0.615 GB, free: 15.17 MB / 478.1 MB Notification: Performance of SimCode: time 6.12e-07/0.2315, allocations: 0 / 0.615 GB, free: 15.17 MB / 478.1 MB Notification: Performance of Templates: time 0.007994/0.2395, allocations: 3.648 MB / 0.6185 GB, free: 11.56 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) Environment - environmentSimulation: