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.1977/0.2001, allocations: 80.84 MB / 0.6706 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.006085/0.2062, allocations: 3.211 MB / 0.6738 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004006/0.2103, allocations: 1.949 MB / 0.6757 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002945/0.2106, allocations: 7.938 kB / 0.6757 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.2118, allocations: 290.9 kB / 0.676 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0008109/0.2126, allocations: 246.9 kB / 0.6762 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.2139, allocations: 275.4 kB / 0.6765 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0009082/0.2148, allocations: 406.5 kB / 0.6768 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006563/0.2155, allocations: 208.2 kB / 0.677 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004202/0.2159, allocations: 171.3 kB / 0.6772 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005335/0.2165, allocations: 199.3 kB / 0.6774 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.134e-05/0.2166, allocations: 24 kB / 0.6774 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005378/0.2171, allocations: 235.5 kB / 0.6776 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.2173, allocations: 111.8 kB / 0.6777 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.2175, allocations: 151.2 kB / 0.6779 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000821/0.2184, allocations: 462.6 kB / 0.6783 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2184, allocations: 0 / 0.6783 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2184, allocations: 0 / 0.6783 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.334e-05/0.2184, allocations: 0 / 0.6783 GB, free: 10.1 MB / 0.5137 GB 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.001574/0.22, allocations: 0.5887 MB / 0.6789 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.2201, allocations: 8.031 kB / 0.6789 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009092/0.221, allocations: 96.47 kB / 0.679 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005633/0.2215, allocations: 277.4 kB / 0.6793 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.2216, allocations: 20.92 kB / 0.6793 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.2217, allocations: 36.64 kB / 0.6793 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007401/0.2225, allocations: 444.3 kB / 0.6798 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.2225, allocations: 7.938 kB / 0.6798 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.72e-05/0.2226, allocations: 8 kB / 0.6798 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001437/0.2227, allocations: 40.41 kB / 0.6798 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005866/0.2233, allocations: 349.4 kB / 0.6801 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002583/0.2259, allocations: 1.82 MB / 0.6819 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004489/0.2264, allocations: 274.3 kB / 0.6822 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/0.2266, allocations: 168.8 kB / 0.6823 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.2266, allocations: 0 / 0.6823 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.2267, allocations: 34.56 kB / 0.6824 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=22): time 1.133e-06/0.2267, allocations: 0 / 0.6824 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23): time 0.001966/0.2287, allocations: 1.063 MB / 0.6834 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.2287, allocations: 55.41 kB / 0.6835 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.229, allocations: 248.9 kB / 0.6837 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/0.229, allocations: 29.7 kB / 0.6837 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.2292, allocations: 191.9 kB / 0.6839 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.22e-05/0.2293, allocations: 82.81 kB / 0.684 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.2294, allocations: 69.69 kB / 0.6841 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.2296, allocations: 346.8 kB / 0.6844 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/0.2298, allocations: 151.9 kB / 0.6845 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002934/0.2301, allocations: 233.6 kB / 0.6848 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005417/0.2307, allocations: 402.9 kB / 0.6851 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.2307, allocations: 4 kB / 0.6851 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001165/0.2319, allocations: 0.5963 MB / 0.6857 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.2319, allocations: 8.719 kB / 0.6857 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.2319, allocations: 4 kB / 0.6857 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006931/0.2326, allocations: 184.8 kB / 0.6859 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.2329, allocations: 63.89 kB / 0.686 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003066/0.236, allocations: 2.492 MB / 0.6884 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/0.2363, allocations: 19.98 kB / 0.6884 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.2363, allocations: 12 kB / 0.6884 GB, free: 15.15 MB / 0.5294 GB 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.000207/0.2365, allocations: 173.7 kB / 0.6886 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.366e-05/0.2366, allocations: 31.66 kB / 0.6886 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005658/0.2372, allocations: 359.5 kB / 0.689 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.2372, allocations: 4.062 kB / 0.689 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.2372, allocations: 4 kB / 0.689 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2372, allocations: 0 / 0.689 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.2384, allocations: 0.8181 MB / 0.6898 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2384, allocations: 0 / 0.6898 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003914/0.2388, allocations: 75.88 kB / 0.6899 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.2388, allocations: 4 kB / 0.6899 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.2388, allocations: 8 kB / 0.6899 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2389, allocations: 4.062 kB / 0.6899 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.2389, allocations: 3.984 kB / 0.6899 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007885/0.2397, allocations: 0.6115 MB / 0.6905 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/0.2399, allocations: 132.8 kB / 0.6906 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.239e-05/0.2399, allocations: 8 kB / 0.6906 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.2401, allocations: 11.98 kB / 0.6906 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.2402, allocations: 20.06 kB / 0.6906 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.2402, allocations: 7.938 kB / 0.6906 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001857/0.2404, allocations: 184.5 kB / 0.6908 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2404, allocations: 0 / 0.6908 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004185/0.2408, allocations: 88 kB / 0.6909 GB, free: 12.51 MB / 0.5294 GB 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.0001723/0.241, allocations: 107.2 kB / 0.691 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009577/0.2419, allocations: 0.5489 MB / 0.6915 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.242, allocations: 0 / 0.6915 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.2422, allocations: 151.8 kB / 0.6917 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004668/0.2426, allocations: 62.97 kB / 0.6917 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.2443, allocations: 0.8442 MB / 0.6926 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.2447, allocations: 0.7873 MB / 0.6933 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002141/0.2449, allocations: 78.91 kB / 0.6934 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.033e-05/0.245, allocations: 23.44 kB / 0.6934 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of SimCode: time 2.7e-07/0.245, allocations: 4 kB / 0.6934 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of Templates: time 0.00919/0.2542, allocations: 4.123 MB / 0.6975 GB, free: 5.734 MB / 0.5294 GB 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)