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.1799/0.1811, allocations: 82.22 MB / 0.5941 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004571/0.1857, allocations: 2.903 MB / 0.597 GB, free: 2.676 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003324/0.1891, allocations: 1.93 MB / 0.5988 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002547/0.1894, allocations: 7.938 kB / 0.5988 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.1897, allocations: 43.7 kB / 0.5989 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007393/0.1904, allocations: 215.2 kB / 0.5991 GB, free: 484 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008991/0.1913, allocations: 271.4 kB / 0.5994 GB, free: 212 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007755/0.1921, allocations: 0.5571 MB / 0.5999 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009741/0.1931, allocations: 457.2 kB / 0.6003 GB, free: 15.17 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003249/0.1934, allocations: 127.5 kB / 0.6005 GB, free: 15.05 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004977/0.1939, allocations: 199.3 kB / 0.6006 GB, free: 14.85 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.241e-05/0.194, allocations: 16 kB / 0.6007 GB, free: 14.84 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005352/0.1945, allocations: 283.4 kB / 0.6009 GB, free: 14.56 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.1947, allocations: 103.7 kB / 0.601 GB, free: 14.46 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.1949, allocations: 149 kB / 0.6012 GB, free: 14.3 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006394/0.1955, allocations: 462.4 kB / 0.6016 GB, free: 13.85 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1956, allocations: 0 / 0.6016 GB, free: 13.85 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1956, allocations: 0 / 0.6016 GB, free: 13.85 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.1956, allocations: 4 kB / 0.6016 GB, free: 13.85 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.001105/0.1967, allocations: 0.5303 MB / 0.6021 GB, free: 13.27 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.1967, allocations: 12.03 kB / 0.6021 GB, free: 13.26 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008573/0.1976, allocations: 96.45 kB / 0.6022 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.198, allocations: 269.4 kB / 0.6025 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.198, allocations: 20.92 kB / 0.6025 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.1982, allocations: 36.48 kB / 0.6025 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000667/0.1989, allocations: 440.4 kB / 0.603 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.1989, allocations: 3.938 kB / 0.603 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.599e-05/0.1989, allocations: 8 kB / 0.603 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001469/0.1991, allocations: 44.39 kB / 0.603 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005623/0.1997, allocations: 345.4 kB / 0.6034 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002418/0.2021, allocations: 1.843 MB / 0.6052 GB, free: 9.996 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004544/0.2026, allocations: 270.3 kB / 0.6054 GB, free: 9.723 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.2028, allocations: 164.8 kB / 0.6056 GB, free: 9.559 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.2028, allocations: 3.984 kB / 0.6056 GB, free: 9.555 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.2029, allocations: 46.56 kB / 0.6056 GB, free: 9.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 2.475e-06/0.2029, allocations: 0 / 0.6056 GB, free: 9.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=23): time 0.001932/0.2048, allocations: 1.062 MB / 0.6067 GB, free: 8.371 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.2049, allocations: 59.34 kB / 0.6067 GB, free: 8.301 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.2052, allocations: 245 kB / 0.6069 GB, free: 8.051 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.2052, allocations: 33.7 kB / 0.607 GB, free: 8.012 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.2053, allocations: 183.9 kB / 0.6072 GB, free: 7.828 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.271e-05/0.2054, allocations: 82.81 kB / 0.6072 GB, free: 7.746 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.2055, allocations: 41.69 kB / 0.6073 GB, free: 7.699 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.2056, allocations: 326.8 kB / 0.6076 GB, free: 7.371 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.2058, allocations: 155.8 kB / 0.6077 GB, free: 7.219 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/0.2061, allocations: 241.6 kB / 0.608 GB, free: 6.949 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005042/0.2066, allocations: 402.9 kB / 0.6083 GB, free: 6.523 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2066, allocations: 0 / 0.6083 GB, free: 6.523 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001096/0.2077, allocations: 0.5923 MB / 0.6089 GB, free: 5.922 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.2078, allocations: 8 kB / 0.6089 GB, free: 5.914 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.2078, allocations: 11.92 kB / 0.6089 GB, free: 5.902 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007136/0.2085, allocations: 181 kB / 0.6091 GB, free: 5.723 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/0.2088, allocations: 63.91 kB / 0.6092 GB, free: 5.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002845/0.2117, allocations: 2.306 MB / 0.6114 GB, free: 3.219 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003121/0.212, allocations: 19.97 kB / 0.6114 GB, free: 3.199 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.212, allocations: 12 kB / 0.6115 GB, free: 3.188 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001886/0.2122, allocations: 170.7 kB / 0.6116 GB, free: 3.012 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.865e-05/0.2123, allocations: 31.66 kB / 0.6117 GB, free: 2.98 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005873/0.2129, allocations: 359.4 kB / 0.612 GB, free: 2.625 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2129, allocations: 0 / 0.612 GB, free: 2.625 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2129, allocations: 4 kB / 0.612 GB, free: 2.621 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.2129, allocations: 3.984 kB / 0.612 GB, free: 2.617 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.214, allocations: 0.802 MB / 0.6128 GB, free: 1.754 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.2141, allocations: 8 kB / 0.6128 GB, free: 1.746 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000416/0.2145, allocations: 75.88 kB / 0.6129 GB, free: 1.672 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/0.2145, allocations: 4 kB / 0.6129 GB, free: 1.668 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.2145, allocations: 4 kB / 0.6129 GB, free: 1.664 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.2145, allocations: 4 kB / 0.6129 GB, free: 1.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2145, allocations: 0 / 0.6129 GB, free: 1.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008291/0.2154, allocations: 0.6227 MB / 0.6135 GB, free: 1.016 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.2155, allocations: 128.8 kB / 0.6136 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.543e-05/0.2156, allocations: 11.98 kB / 0.6136 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.2158, allocations: 11.94 kB / 0.6136 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.2159, allocations: 19.97 kB / 0.6136 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.2159, allocations: 4 kB / 0.6137 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001931/0.2161, allocations: 180.5 kB / 0.6138 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.31e-07/0.2161, allocations: 0 / 0.6138 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004572/0.2166, allocations: 84 kB / 0.6139 GB, free: 0.5703 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002001/0.2168, allocations: 119.2 kB / 0.614 GB, free: 456 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009964/0.2178, allocations: 0.5347 MB / 0.6145 GB, free: 15.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.2178, allocations: 0 / 0.6145 GB, free: 15.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002175/0.218, allocations: 151.9 kB / 0.6147 GB, free: 15.75 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004986/0.2185, allocations: 58.52 kB / 0.6147 GB, free: 15.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.2202, allocations: 1.03 MB / 0.6157 GB, free: 14.63 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.2206, allocations: 0.7912 MB / 0.6165 GB, free: 13.81 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002455/0.2208, allocations: 86.89 kB / 0.6166 GB, free: 13.73 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.986e-05/0.2209, allocations: 27.44 kB / 0.6166 GB, free: 13.7 MB / 478.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2209, allocations: 0 / 0.6166 GB, free: 13.7 MB / 478.1 MB Notification: Performance of Templates: time 0.007783/0.2287, allocations: 3.735 MB / 0.6203 GB, free: 10 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: