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.1924/0.1932, allocations: 82.22 MB / 0.5935 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005992/0.1992, allocations: 4.199 MB / 0.5976 GB, free: 1.754 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004305/0.2036, allocations: 2.547 MB / 0.6001 GB, free: 15.2 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006212/0.2043, allocations: 19.81 kB / 0.6001 GB, free: 15.18 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003673/0.2046, allocations: 87.2 kB / 0.6002 GB, free: 15.09 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001421/0.2061, allocations: 382.1 kB / 0.6005 GB, free: 14.71 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009173/0.207, allocations: 287.4 kB / 0.6008 GB, free: 14.43 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001124/0.2081, allocations: 0.9408 MB / 0.6017 GB, free: 13.49 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000842/0.209, allocations: 424.1 kB / 0.6021 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005185/0.2095, allocations: 286.7 kB / 0.6024 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005792/0.2101, allocations: 350.6 kB / 0.6027 GB, free: 12.43 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.117e-05/0.2102, allocations: 20 kB / 0.6028 GB, free: 12.41 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006175/0.2108, allocations: 195.7 kB / 0.603 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.211, allocations: 151.5 kB / 0.6031 GB, free: 12.07 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.2111, allocations: 137.3 kB / 0.6032 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006895/0.2118, allocations: 0.6314 MB / 0.6038 GB, free: 11.29 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2118, allocations: 0 / 0.6038 GB, free: 11.29 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2119, allocations: 0 / 0.6038 GB, free: 11.29 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.2119, allocations: 0 / 0.6038 GB, free: 11.29 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.001248/0.2131, allocations: 0.8255 MB / 0.6046 GB, free: 10.42 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.2132, allocations: 8.031 kB / 0.6047 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.2143, allocations: 198.9 kB / 0.6048 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006901/0.215, allocations: 477.3 kB / 0.6053 GB, free: 9.707 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.175e-05/0.2151, allocations: 36.98 kB / 0.6053 GB, free: 9.672 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.998e-05/0.2152, allocations: 43.98 kB / 0.6054 GB, free: 9.629 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.2162, allocations: 0.8185 MB / 0.6062 GB, free: 8.676 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.2163, allocations: 11.92 kB / 0.6062 GB, free: 8.664 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.96e-05/0.2163, allocations: 20 kB / 0.6062 GB, free: 8.645 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.469e-05/0.2164, allocations: 68.95 kB / 0.6063 GB, free: 8.578 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007722/0.2172, allocations: 0.5499 MB / 0.6068 GB, free: 8.027 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004813/0.222, allocations: 5.133 MB / 0.6118 GB, free: 2.621 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006782/0.2228, allocations: 454.8 kB / 0.6123 GB, free: 2.168 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003422/0.2231, allocations: 232.7 kB / 0.6125 GB, free: 1.938 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/0.2232, allocations: 4 kB / 0.6125 GB, free: 1.934 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.2232, allocations: 42.55 kB / 0.6125 GB, free: 1.883 MB / 462.1 MB Notification: Performance of pre-optimization done (n=32): time 4.799e-06/0.2232, allocations: 0 / 0.6125 GB, free: 1.883 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.002567/0.2258, allocations: 1.504 MB / 0.614 GB, free: 272 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.2258, allocations: 55.41 kB / 0.614 GB, free: 204 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005135/0.2264, allocations: 494.9 kB / 0.6145 GB, free: 15.7 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.2264, allocations: 29.7 kB / 0.6145 GB, free: 15.67 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.2266, allocations: 350.9 kB / 0.6149 GB, free: 15.32 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.545e-05/0.2267, allocations: 122.3 kB / 0.615 GB, free: 15.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.2268, allocations: 12 kB / 0.615 GB, free: 15.18 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.2269, allocations: 362.8 kB / 0.6154 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/0.2272, allocations: 197.2 kB / 0.6155 GB, free: 14.63 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004564/0.2277, allocations: 447 kB / 0.616 GB, free: 14.08 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003733/0.228, allocations: 263.8 kB / 0.6162 GB, free: 13.82 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.228, allocations: 0 / 0.6162 GB, free: 13.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001193/0.2292, allocations: 0.8058 MB / 0.617 GB, free: 12.99 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.2293, allocations: 12.22 kB / 0.617 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.2293, allocations: 15.92 kB / 0.617 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004757/0.2298, allocations: 152.2 kB / 0.6172 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004313/0.2302, allocations: 131.7 kB / 0.6173 GB, free: 12.67 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003463/0.2337, allocations: 4.03 MB / 0.6212 GB, free: 8.238 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000575/0.2343, allocations: 35.97 kB / 0.6213 GB, free: 8.203 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.397e-05/0.2344, allocations: 28 kB / 0.6213 GB, free: 8.176 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.0003966/0.2348, allocations: 210.6 kB / 0.6215 GB, free: 7.961 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.13e-05/0.2349, allocations: 59.33 kB / 0.6216 GB, free: 7.902 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/0.236, allocations: 0.6045 MB / 0.6221 GB, free: 7.277 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-06/0.2361, allocations: 8 kB / 0.6222 GB, free: 7.27 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.2361, allocations: 4 kB / 0.6222 GB, free: 7.266 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.2361, allocations: 0 / 0.6222 GB, free: 7.266 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001951/0.238, allocations: 1.267 MB / 0.6234 GB, free: 5.91 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.2381, allocations: 0 / 0.6234 GB, free: 5.91 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/0.2383, allocations: 63.88 kB / 0.6235 GB, free: 5.848 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003697/0.2387, allocations: 140.4 kB / 0.6236 GB, free: 5.695 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.2387, allocations: 8 kB / 0.6236 GB, free: 5.688 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002988/0.2417, allocations: 4.017 MB / 0.6275 GB, free: 1.273 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.2417, allocations: 8.203 kB / 0.6275 GB, free: 1.266 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.2429, allocations: 0.7081 MB / 0.6282 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002627/0.2431, allocations: 168.3 kB / 0.6284 GB, free: 328 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.772e-05/0.2432, allocations: 8 kB / 0.6284 GB, free: 320 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.2434, allocations: 23.97 kB / 0.6284 GB, free: 296 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.873e-05/0.2435, allocations: 35.91 kB / 0.6284 GB, free: 260 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.2436, allocations: 16 kB / 0.6285 GB, free: 244 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003785/0.244, allocations: 326.8 kB / 0.6288 GB, free: 15.92 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.613e-06/0.244, allocations: 0 / 0.6288 GB, free: 15.92 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006535/0.2446, allocations: 143.9 kB / 0.6289 GB, free: 15.78 MB / 494.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.0001466/0.2448, allocations: 110.6 kB / 0.629 GB, free: 15.67 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001336/0.2461, allocations: 1.037 MB / 0.63 GB, free: 14.55 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.2462, allocations: 0 / 0.63 GB, free: 14.55 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008332/0.247, allocations: 0.7501 MB / 0.6308 GB, free: 13.72 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009636/0.248, allocations: 187.3 kB / 0.6309 GB, free: 13.54 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.2497, allocations: 1.203 MB / 0.6321 GB, free: 12.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005483/0.2503, allocations: 0.9019 MB / 0.633 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000369/0.2506, allocations: 125.3 kB / 0.6331 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.746e-05/0.2508, allocations: 35.44 kB / 0.6331 GB, free: 11.2 MB / 494.1 MB Notification: Performance of SimCode: time 9.51e-07/0.2508, allocations: 4 kB / 0.6332 GB, free: 11.19 MB / 494.1 MB Notification: Performance of Templates: time 0.0124/0.2632, allocations: 7.013 MB / 0.64 GB, free: 4.285 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: