Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [/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.1823/0.1833, allocations: 82.22 MB / 0.5934 GB, free: 5.961 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004668/0.188, allocations: 4.062 MB / 0.5973 GB, free: 1.879 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003633/0.1917, allocations: 2.509 MB / 0.5998 GB, free: 15.36 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002968/0.192, allocations: 23.75 kB / 0.5998 GB, free: 15.34 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.1922, allocations: 67.45 kB / 0.5999 GB, free: 15.27 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008768/0.1931, allocations: 406.8 kB / 0.6003 GB, free: 14.87 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006317/0.1938, allocations: 279.4 kB / 0.6005 GB, free: 14.6 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006495/0.1944, allocations: 0.5679 MB / 0.6011 GB, free: 14.03 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006602/0.1951, allocations: 412.3 kB / 0.6015 GB, free: 13.6 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003074/0.1954, allocations: 270.9 kB / 0.6017 GB, free: 13.34 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004338/0.1958, allocations: 298.8 kB / 0.602 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.546e-05/0.1959, allocations: 20 kB / 0.602 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000317/0.1962, allocations: 143.8 kB / 0.6022 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.1964, allocations: 139.5 kB / 0.6023 GB, free: 12.75 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.1965, allocations: 137.3 kB / 0.6024 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005731/0.1971, allocations: 0.5846 MB / 0.603 GB, free: 12.02 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1971, allocations: 0 / 0.603 GB, free: 12.02 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1971, allocations: 0 / 0.603 GB, free: 12.02 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1971, allocations: 0 / 0.603 GB, free: 12.02 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001257/0.1984, allocations: 0.8091 MB / 0.6038 GB, free: 11.16 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.1984, allocations: 12.03 kB / 0.6038 GB, free: 11.15 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009198/0.1994, allocations: 179 kB / 0.604 GB, free: 10.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000716/0.2001, allocations: 477.4 kB / 0.6044 GB, free: 10.47 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.208e-05/0.2001, allocations: 32.98 kB / 0.6045 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.914e-05/0.2002, allocations: 40 kB / 0.6045 GB, free: 10.4 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009629/0.2012, allocations: 0.8224 MB / 0.6053 GB, free: 9.441 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.2012, allocations: 11.88 kB / 0.6053 GB, free: 9.43 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.548e-05/0.2013, allocations: 23.98 kB / 0.6054 GB, free: 9.406 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.784e-05/0.2014, allocations: 68.95 kB / 0.6054 GB, free: 9.34 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007191/0.2021, allocations: 0.5538 MB / 0.606 GB, free: 8.785 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003918/0.206, allocations: 5.125 MB / 0.611 GB, free: 3.387 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006099/0.2066, allocations: 454.8 kB / 0.6114 GB, free: 2.934 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/0.2067, allocations: 11.98 kB / 0.6114 GB, free: 2.922 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.2067, allocations: 38.5 kB / 0.6114 GB, free: 2.875 MB / 462.1 MB Notification: Performance of pre-optimization done (n=32): time 2.014e-06/0.2067, allocations: 4 kB / 0.6114 GB, free: 2.871 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.002454/0.2092, allocations: 1.497 MB / 0.6129 GB, free: 1.262 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.2092, allocations: 55.41 kB / 0.613 GB, free: 1.195 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004851/0.2097, allocations: 0.4911 MB / 0.6134 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.2098, allocations: 29.7 kB / 0.6135 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.21, allocations: 346.9 kB / 0.6138 GB, free: 316 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.267e-05/0.2101, allocations: 118.3 kB / 0.6139 GB, free: 196 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.2101, allocations: 12 kB / 0.6139 GB, free: 184 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.2103, allocations: 362.8 kB / 0.6143 GB, free: 15.82 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/0.2105, allocations: 197.1 kB / 0.6145 GB, free: 15.62 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004517/0.211, allocations: 443 kB / 0.6149 GB, free: 15.08 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003435/0.2114, allocations: 267.7 kB / 0.6151 GB, free: 14.82 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.279e-06/0.2114, allocations: 7.953 kB / 0.6151 GB, free: 14.81 MB / 478.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001186/0.2126, allocations: 0.8019 MB / 0.6159 GB, free: 13.98 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.2126, allocations: 15.94 kB / 0.6159 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.2126, allocations: 8 kB / 0.616 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004575/0.2131, allocations: 152.5 kB / 0.6161 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004195/0.2135, allocations: 123.8 kB / 0.6162 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003301/0.2168, allocations: 4.061 MB / 0.6202 GB, free: 9.211 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003524/0.2172, allocations: 40.03 kB / 0.6202 GB, free: 9.172 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.463e-05/0.2172, allocations: 24 kB / 0.6202 GB, free: 9.148 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002426/0.2175, allocations: 217.6 kB / 0.6204 GB, free: 8.926 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.993e-05/0.2176, allocations: 55.34 kB / 0.6205 GB, free: 8.871 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000922/0.2185, allocations: 0.6007 MB / 0.6211 GB, free: 8.25 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2185, allocations: 4 kB / 0.6211 GB, free: 8.246 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2185, allocations: 3.984 kB / 0.6211 GB, free: 8.242 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.2185, allocations: 0 / 0.6211 GB, free: 8.242 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/0.2203, allocations: 1.274 MB / 0.6223 GB, free: 6.879 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.2203, allocations: 4 kB / 0.6223 GB, free: 6.875 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002514/0.2206, allocations: 59.89 kB / 0.6224 GB, free: 6.816 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003749/0.2209, allocations: 140.4 kB / 0.6225 GB, free: 6.664 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.221, allocations: 11.94 kB / 0.6225 GB, free: 6.652 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002853/0.2238, allocations: 4.048 MB / 0.6265 GB, free: 2.207 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/0.2239, allocations: 7.984 kB / 0.6265 GB, free: 2.199 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009523/0.2248, allocations: 0.7825 MB / 0.6273 GB, free: 1.32 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002187/0.225, allocations: 168.3 kB / 0.6274 GB, free: 1.137 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.486e-05/0.2251, allocations: 8 kB / 0.6274 GB, free: 1.129 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.2254, allocations: 23.97 kB / 0.6275 GB, free: 1.105 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.096e-05/0.2254, allocations: 39.86 kB / 0.6275 GB, free: 1.066 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.2255, allocations: 11.98 kB / 0.6275 GB, free: 1.055 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003159/0.2258, allocations: 326.9 kB / 0.6278 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2258, allocations: 0 / 0.6278 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005905/0.2264, allocations: 136 kB / 0.628 GB, free: 0.6055 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (29): * 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): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000133/0.2265, allocations: 118.2 kB / 0.6281 GB, free: 496 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001329/0.2279, allocations: 1.037 MB / 0.6291 GB, free: 15.37 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.2279, allocations: 0 / 0.6291 GB, free: 15.37 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007742/0.2287, allocations: 0.7424 MB / 0.6298 GB, free: 14.54 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007801/0.2295, allocations: 175.4 kB / 0.63 GB, free: 14.38 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.231, allocations: 1.206 MB / 0.6311 GB, free: 13.12 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004803/0.2315, allocations: 0.9142 MB / 0.632 GB, free: 12.18 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003393/0.2318, allocations: 125.2 kB / 0.6322 GB, free: 12.05 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.756e-05/0.2319, allocations: 43.38 kB / 0.6322 GB, free: 12.01 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2319, allocations: 0 / 0.6322 GB, free: 12.01 MB / 494.1 MB Notification: Performance of Templates: time 0.01258/0.2445, allocations: 7.011 MB / 0.639 GB, free: 5.102 MB / 494.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) Environment - environmentSimulation: