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.2126/0.2134, allocations: 82.22 MB / 0.5934 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004447/0.2179, allocations: 2.731 MB / 0.596 GB, free: 3.246 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003288/0.2212, allocations: 1.794 MB / 0.5978 GB, free: 1.441 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002916/0.2216, allocations: 7.938 kB / 0.5978 GB, free: 1.434 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.2218, allocations: 35.77 kB / 0.5978 GB, free: 1.398 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007181/0.2225, allocations: 171.4 kB / 0.598 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008446/0.2234, allocations: 219.4 kB / 0.5982 GB, free: 1.016 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005136/0.2239, allocations: 231.5 kB / 0.5984 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009336/0.2249, allocations: 433.5 kB / 0.5988 GB, free: 344 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002694/0.2251, allocations: 111.6 kB / 0.599 GB, free: 232 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003972/0.2255, allocations: 139.5 kB / 0.5991 GB, free: 92 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.042e-05/0.2256, allocations: 20 kB / 0.5991 GB, free: 72 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003836/0.226, allocations: 123.8 kB / 0.5992 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.2262, allocations: 99.75 kB / 0.5993 GB, free: 15.85 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 9.395e-05/0.2263, allocations: 73.52 kB / 0.5994 GB, free: 15.77 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005602/0.2268, allocations: 343.1 kB / 0.5997 GB, free: 15.44 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.2268, allocations: 0 / 0.5997 GB, free: 15.44 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2269, allocations: 4 kB / 0.5997 GB, free: 15.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.2269, allocations: 0 / 0.5997 GB, free: 15.43 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.001266/0.2281, allocations: 0.5371 MB / 0.6002 GB, free: 14.85 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.2282, allocations: 8.031 kB / 0.6003 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009078/0.2291, allocations: 103.5 kB / 0.6004 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005611/0.2297, allocations: 268.1 kB / 0.6006 GB, free: 14.44 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.2297, allocations: 20.55 kB / 0.6006 GB, free: 14.42 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.2299, allocations: 31.98 kB / 0.6007 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007214/0.2306, allocations: 436.4 kB / 0.6011 GB, free: 13.93 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.2306, allocations: 7.875 kB / 0.6011 GB, free: 13.92 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.645e-05/0.2307, allocations: 8 kB / 0.6011 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001491/0.2308, allocations: 48.33 kB / 0.6011 GB, free: 13.87 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000522/0.2313, allocations: 341.5 kB / 0.6015 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002497/0.2339, allocations: 1.836 MB / 0.6033 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004292/0.2343, allocations: 274.9 kB / 0.6035 GB, free: 11.31 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.2343, allocations: 192 / 0.6035 GB, free: 11.31 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.2344, allocations: 34.75 kB / 0.6035 GB, free: 11.27 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 1.052e-06/0.2344, allocations: 0 / 0.6035 GB, free: 11.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=23): time 0.002072/0.2365, allocations: 1.064 MB / 0.6046 GB, free: 10.14 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.2365, allocations: 51.41 kB / 0.6046 GB, free: 10.07 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003292/0.2369, allocations: 241 kB / 0.6049 GB, free: 9.828 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.2369, allocations: 33.7 kB / 0.6049 GB, free: 9.789 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.2371, allocations: 191.9 kB / 0.6051 GB, free: 9.598 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.604e-05/0.2372, allocations: 82.81 kB / 0.6052 GB, free: 9.516 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.116e-05/0.2372, allocations: 8 kB / 0.6052 GB, free: 9.508 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002055/0.2374, allocations: 338.8 kB / 0.6055 GB, free: 9.168 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/0.2377, allocations: 147.9 kB / 0.6056 GB, free: 9.023 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003283/0.2381, allocations: 241.5 kB / 0.6059 GB, free: 8.754 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/0.2384, allocations: 189.3 kB / 0.606 GB, free: 8.57 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2384, allocations: 0 / 0.606 GB, free: 8.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001256/0.2396, allocations: 0.5812 MB / 0.6066 GB, free: 7.98 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.664e-05/0.2397, allocations: 12.06 kB / 0.6066 GB, free: 7.969 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.2397, allocations: 7.938 kB / 0.6066 GB, free: 7.961 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007231/0.2405, allocations: 184.6 kB / 0.6068 GB, free: 7.777 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003094/0.2408, allocations: 63.89 kB / 0.6069 GB, free: 7.715 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003048/0.2438, allocations: 2.366 MB / 0.6092 GB, free: 5.215 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002805/0.2441, allocations: 20.02 kB / 0.6092 GB, free: 5.195 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.2442, allocations: 16 kB / 0.6092 GB, free: 5.18 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.0001978/0.2444, allocations: 169.8 kB / 0.6094 GB, free: 5.004 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.676e-05/0.2444, allocations: 19.81 kB / 0.6094 GB, free: 4.984 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005497/0.245, allocations: 355.4 kB / 0.6097 GB, free: 4.633 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.245, allocations: 7.984 kB / 0.6097 GB, free: 4.625 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.245, allocations: 0 / 0.6097 GB, free: 4.625 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.245, allocations: 3.953 kB / 0.6097 GB, free: 4.621 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.2461, allocations: 0.8098 MB / 0.6105 GB, free: 3.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2462, allocations: 0 / 0.6105 GB, free: 3.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003788/0.2465, allocations: 75.88 kB / 0.6106 GB, free: 3.676 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.2466, allocations: 4 kB / 0.6106 GB, free: 3.672 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.2466, allocations: 11.95 kB / 0.6106 GB, free: 3.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2466, allocations: 7.922 kB / 0.6106 GB, free: 3.652 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2466, allocations: 0 / 0.6106 GB, free: 3.652 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007506/0.2474, allocations: 0.6418 MB / 0.6113 GB, free: 2.977 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.2475, allocations: 124.8 kB / 0.6114 GB, free: 2.836 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.519e-05/0.2476, allocations: 11.98 kB / 0.6114 GB, free: 2.824 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.2478, allocations: 11.98 kB / 0.6114 GB, free: 2.812 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.2479, allocations: 15.98 kB / 0.6114 GB, free: 2.797 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.2479, allocations: 8 kB / 0.6114 GB, free: 2.789 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001714/0.2481, allocations: 180.5 kB / 0.6116 GB, free: 2.617 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.2481, allocations: 0 / 0.6116 GB, free: 2.617 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000402/0.2485, allocations: 83.98 kB / 0.6117 GB, free: 2.535 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.0001766/0.2486, allocations: 107.2 kB / 0.6118 GB, free: 2.422 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009047/0.2496, allocations: 0.5389 MB / 0.6123 GB, free: 1.871 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/0.2496, allocations: 0 / 0.6123 GB, free: 1.871 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.2498, allocations: 159.3 kB / 0.6125 GB, free: 1.719 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.2502, allocations: 50.91 kB / 0.6125 GB, free: 1.672 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.252, allocations: 1.018 MB / 0.6135 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/0.2524, allocations: 0.799 MB / 0.6143 GB, free: 15.79 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000216/0.2526, allocations: 74.91 kB / 0.6143 GB, free: 15.72 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.179e-05/0.2527, allocations: 27.42 kB / 0.6144 GB, free: 15.69 MB / 478.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2527, allocations: 0 / 0.6144 GB, free: 15.69 MB / 478.1 MB Notification: Performance of Templates: time 0.008619/0.2614, allocations: 3.641 MB / 0.6179 GB, free: 12.09 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: