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.1978/0.1996, allocations: 80.83 MB / 0.5897 GB, free: 7.105 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005267/0.2049, allocations: 3.267 MB / 0.5929 GB, free: 3.812 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003387/0.2084, allocations: 1.964 MB / 0.5948 GB, free: 1.836 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.2085, allocations: 4 kB / 0.5948 GB, free: 1.832 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008799/0.2095, allocations: 267.1 kB / 0.5951 GB, free: 1.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004972/0.21, allocations: 227.1 kB / 0.5953 GB, free: 1.348 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007017/0.2107, allocations: 259.2 kB / 0.5955 GB, free: 1.098 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000548/0.2112, allocations: 0.561 MB / 0.5961 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004407/0.2117, allocations: 201.1 kB / 0.5963 GB, free: 348 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002163/0.2119, allocations: 139.5 kB / 0.5964 GB, free: 208 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000407/0.2123, allocations: 215.3 kB / 0.5966 GB, free: 15.99 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.955e-05/0.2124, allocations: 20 kB / 0.5966 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004578/0.2129, allocations: 279.4 kB / 0.5969 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.213, allocations: 107.7 kB / 0.597 GB, free: 15.59 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.2132, allocations: 139.2 kB / 0.5971 GB, free: 15.46 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005283/0.2137, allocations: 466.6 kB / 0.5976 GB, free: 15 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2137, allocations: 0 / 0.5976 GB, free: 15 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.2137, allocations: 0 / 0.5976 GB, free: 15 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.2137, allocations: 0 / 0.5976 GB, free: 15 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.001188/0.2149, allocations: 0.6076 MB / 0.5982 GB, free: 14.35 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.215, allocations: 8.031 kB / 0.5982 GB, free: 14.34 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007534/0.2157, allocations: 88.55 kB / 0.5983 GB, free: 14.25 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.2161, allocations: 273.4 kB / 0.5985 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.2161, allocations: 16.94 kB / 0.5985 GB, free: 13.93 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.2163, allocations: 40.47 kB / 0.5986 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000668/0.217, allocations: 436.3 kB / 0.599 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.217, allocations: 4 kB / 0.599 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.051e-05/0.217, allocations: 7.984 kB / 0.599 GB, free: 13.42 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001432/0.2172, allocations: 40.41 kB / 0.599 GB, free: 13.38 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000525/0.2177, allocations: 345.4 kB / 0.5994 GB, free: 13.05 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002346/0.2201, allocations: 1.843 MB / 0.6012 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004209/0.2205, allocations: 266.4 kB / 0.6014 GB, free: 10.82 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.2207, allocations: 160.8 kB / 0.6016 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.2208, allocations: 4 kB / 0.6016 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.2208, allocations: 34.56 kB / 0.6016 GB, free: 10.61 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 2.164e-06/0.2208, allocations: 4 kB / 0.6016 GB, free: 10.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=23): time 0.001866/0.2227, allocations: 1.064 MB / 0.6026 GB, free: 9.477 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.2227, allocations: 55.41 kB / 0.6027 GB, free: 9.41 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/0.223, allocations: 249 kB / 0.6029 GB, free: 9.156 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.223, allocations: 25.7 kB / 0.603 GB, free: 9.125 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.2232, allocations: 191.9 kB / 0.6031 GB, free: 8.934 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.358e-05/0.2233, allocations: 82.81 kB / 0.6032 GB, free: 8.852 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.2234, allocations: 77.58 kB / 0.6033 GB, free: 8.77 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2235, allocations: 330.8 kB / 0.6036 GB, free: 8.438 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.2238, allocations: 151.9 kB / 0.6038 GB, free: 8.289 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/0.2241, allocations: 241.6 kB / 0.604 GB, free: 8.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005351/0.2246, allocations: 406.8 kB / 0.6044 GB, free: 7.59 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2246, allocations: 0 / 0.6044 GB, free: 7.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001105/0.2257, allocations: 0.5923 MB / 0.605 GB, free: 6.988 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.2258, allocations: 10.19 kB / 0.605 GB, free: 6.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.2258, allocations: 11.98 kB / 0.605 GB, free: 6.969 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006886/0.2265, allocations: 184.9 kB / 0.6052 GB, free: 6.785 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.2268, allocations: 67.84 kB / 0.6052 GB, free: 6.719 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0029/0.2297, allocations: 2.303 MB / 0.6075 GB, free: 4.281 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.23, allocations: 15.98 kB / 0.6075 GB, free: 4.266 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.2301, allocations: 12 kB / 0.6075 GB, free: 4.254 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.0002064/0.2303, allocations: 170.6 kB / 0.6077 GB, free: 4.078 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.708e-05/0.2303, allocations: 19.81 kB / 0.6077 GB, free: 4.059 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005535/0.2309, allocations: 371.6 kB / 0.608 GB, free: 3.695 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.2309, allocations: 0 / 0.608 GB, free: 3.695 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.2309, allocations: 0 / 0.608 GB, free: 3.695 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.2309, allocations: 3.984 kB / 0.608 GB, free: 3.691 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.232, allocations: 0.8104 MB / 0.6088 GB, free: 2.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.232, allocations: 8 kB / 0.6088 GB, free: 2.812 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00039/0.2324, allocations: 75.88 kB / 0.6089 GB, free: 2.738 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2324, allocations: 0 / 0.6089 GB, free: 2.738 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.2325, allocations: 8 kB / 0.6089 GB, free: 2.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.2325, allocations: 4 kB / 0.6089 GB, free: 2.727 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2325, allocations: 0 / 0.6089 GB, free: 2.727 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008464/0.2333, allocations: 0.622 MB / 0.6095 GB, free: 2.082 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.2335, allocations: 124.9 kB / 0.6096 GB, free: 1.941 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.294e-05/0.2335, allocations: 7.984 kB / 0.6097 GB, free: 1.934 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.2337, allocations: 15.98 kB / 0.6097 GB, free: 1.918 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.2338, allocations: 19.97 kB / 0.6097 GB, free: 1.898 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.2338, allocations: 4 kB / 0.6097 GB, free: 1.895 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001736/0.234, allocations: 184.4 kB / 0.6099 GB, free: 1.719 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.234, allocations: 0 / 0.6099 GB, free: 1.719 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004355/0.2344, allocations: 84 kB / 0.6099 GB, free: 1.637 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.000175/0.2346, allocations: 119.2 kB / 0.6101 GB, free: 1.512 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009421/0.2356, allocations: 0.5297 MB / 0.6106 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.2356, allocations: 4.188 kB / 0.6106 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.2358, allocations: 151.8 kB / 0.6107 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004562/0.2363, allocations: 53.7 kB / 0.6108 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.2379, allocations: 0.9538 MB / 0.6117 GB, free: 15.78 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.2383, allocations: 0.799 MB / 0.6125 GB, free: 14.95 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002201/0.2385, allocations: 70.92 kB / 0.6126 GB, free: 14.88 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.245e-05/0.2386, allocations: 27.42 kB / 0.6126 GB, free: 14.86 MB / 478.1 MB Notification: Performance of SimCode: time 6.92e-07/0.2386, allocations: 3.938 kB / 0.6126 GB, free: 14.85 MB / 478.1 MB Notification: Performance of Templates: time 0.007103/0.2457, allocations: 3.821 MB / 0.6163 GB, free: 11.06 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (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)