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.1979/0.1998, allocations: 80.83 MB / 0.5897 GB, free: 7.109 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.009062/0.2089, allocations: 4.816 MB / 0.5944 GB, free: 2.266 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005646/0.2146, allocations: 2.745 MB / 0.5971 GB, free: 15.51 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007356/0.2154, allocations: 23.81 kB / 0.5971 GB, free: 15.48 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.2168, allocations: 354.5 kB / 0.5974 GB, free: 15.14 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001394/0.2182, allocations: 469.9 kB / 0.5979 GB, free: 14.68 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000896/0.2191, allocations: 343.1 kB / 0.5982 GB, free: 14.34 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001288/0.2204, allocations: 1.112 MB / 0.5993 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006484/0.2211, allocations: 355.5 kB / 0.5996 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004138/0.2215, allocations: 298.6 kB / 0.5999 GB, free: 12.58 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005541/0.2221, allocations: 374.5 kB / 0.6003 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.476e-05/0.2221, allocations: 24 kB / 0.6003 GB, free: 12.19 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009476/0.2231, allocations: 499 kB / 0.6008 GB, free: 11.7 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001799/0.2233, allocations: 167.5 kB / 0.6009 GB, free: 11.54 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000313/0.2236, allocations: 298.2 kB / 0.6012 GB, free: 11.25 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009423/0.2246, allocations: 0.8642 MB / 0.6021 GB, free: 10.38 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.771e-05/0.2246, allocations: 0 / 0.6021 GB, free: 10.38 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2246, allocations: 3.938 kB / 0.6021 GB, free: 10.38 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.2246, allocations: 0 / 0.6021 GB, free: 10.38 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.001518/0.2261, allocations: 0.9308 MB / 0.603 GB, free: 9.395 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.2262, allocations: 8.031 kB / 0.603 GB, free: 9.387 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.2275, allocations: 199.8 kB / 0.6032 GB, free: 9.191 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006774/0.2281, allocations: 490.4 kB / 0.6036 GB, free: 8.672 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.2282, allocations: 25.38 kB / 0.6037 GB, free: 8.648 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.167e-05/0.2283, allocations: 56.25 kB / 0.6037 GB, free: 8.594 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.2293, allocations: 0.8305 MB / 0.6045 GB, free: 7.629 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.406e-05/0.2294, allocations: 7.938 kB / 0.6045 GB, free: 7.621 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.112e-05/0.2294, allocations: 23.98 kB / 0.6046 GB, free: 7.598 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-05/0.2295, allocations: 64.95 kB / 0.6046 GB, free: 7.535 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008206/0.2303, allocations: 0.5694 MB / 0.6052 GB, free: 6.965 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004269/0.2346, allocations: 5.125 MB / 0.6102 GB, free: 1.566 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006336/0.2353, allocations: 454.2 kB / 0.6106 GB, free: 1.113 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003309/0.2356, allocations: 232.1 kB / 0.6108 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.2356, allocations: 4 kB / 0.6108 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.2357, allocations: 38.56 kB / 0.6109 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of pre-optimization done (n=32): time 1.934e-06/0.2357, allocations: 0 / 0.6109 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.002501/0.2382, allocations: 1.504 MB / 0.6123 GB, free: 15.22 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.2383, allocations: 55.41 kB / 0.6124 GB, free: 15.15 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004934/0.2388, allocations: 0.4911 MB / 0.6129 GB, free: 14.65 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.2388, allocations: 29.7 kB / 0.6129 GB, free: 14.61 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/0.239, allocations: 346.9 kB / 0.6132 GB, free: 14.27 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.343e-05/0.2391, allocations: 126.3 kB / 0.6134 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.2393, allocations: 114.2 kB / 0.6135 GB, free: 14.02 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.2395, allocations: 362.8 kB / 0.6138 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003151/0.2398, allocations: 197.2 kB / 0.614 GB, free: 13.46 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000457/0.2403, allocations: 443.6 kB / 0.6144 GB, free: 12.92 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008212/0.2411, allocations: 0.6994 MB / 0.6151 GB, free: 12.1 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2411, allocations: 0 / 0.6151 GB, free: 12.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001246/0.2423, allocations: 0.8095 MB / 0.6159 GB, free: 11.27 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.2424, allocations: 12.22 kB / 0.6159 GB, free: 11.26 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.2424, allocations: 11.94 kB / 0.6159 GB, free: 11.25 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004854/0.2429, allocations: 148.2 kB / 0.6161 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004336/0.2433, allocations: 123.7 kB / 0.6162 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003232/0.2466, allocations: 4.04 MB / 0.6201 GB, free: 6.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003848/0.247, allocations: 31.97 kB / 0.6202 GB, free: 6.488 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.247, allocations: 28 kB / 0.6202 GB, free: 6.461 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 (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002729/0.2473, allocations: 222.5 kB / 0.6204 GB, free: 6.234 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.392e-05/0.2474, allocations: 59.25 kB / 0.6205 GB, free: 6.176 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.2485, allocations: 0.6048 MB / 0.621 GB, free: 5.551 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.2485, allocations: 8 kB / 0.6211 GB, free: 5.543 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2485, allocations: 0 / 0.6211 GB, free: 5.543 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.2485, allocations: 3.984 kB / 0.6211 GB, free: 5.539 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/0.2504, allocations: 1.271 MB / 0.6223 GB, free: 4.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.2504, allocations: 4 kB / 0.6223 GB, free: 4.176 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.2506, allocations: 51.89 kB / 0.6224 GB, free: 4.125 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004049/0.251, allocations: 140.4 kB / 0.6225 GB, free: 3.973 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.2511, allocations: 11.94 kB / 0.6225 GB, free: 3.961 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003457/0.2545, allocations: 4.024 MB / 0.6264 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2545, allocations: 0 / 0.6264 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.2556, allocations: 0.7158 MB / 0.6271 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/0.2558, allocations: 164.3 kB / 0.6273 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.061e-05/0.2559, allocations: 11.94 kB / 0.6273 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.2561, allocations: 23.97 kB / 0.6273 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.021e-05/0.2562, allocations: 31.89 kB / 0.6273 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.2562, allocations: 16 kB / 0.6274 GB, free: 14.51 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003583/0.2566, allocations: 334.8 kB / 0.6277 GB, free: 14.18 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2566, allocations: 0 / 0.6277 GB, free: 14.18 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006375/0.2573, allocations: 140 kB / 0.6278 GB, free: 14.05 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 (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001426/0.2574, allocations: 103.2 kB / 0.6279 GB, free: 13.94 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001408/0.2588, allocations: 1.045 MB / 0.6289 GB, free: 12.81 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.2588, allocations: 0 / 0.6289 GB, free: 12.81 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008285/0.2597, allocations: 0.7462 MB / 0.6297 GB, free: 11.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009301/0.2606, allocations: 192.3 kB / 0.6298 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.2622, allocations: 1.237 MB / 0.6311 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/0.2627, allocations: 0.9059 MB / 0.6319 GB, free: 9.582 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003267/0.263, allocations: 125.3 kB / 0.6321 GB, free: 9.457 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.658e-05/0.2631, allocations: 39.44 kB / 0.6321 GB, free: 9.418 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2631, allocations: 0 / 0.6321 GB, free: 9.418 MB / 494.1 MB Notification: Performance of Templates: time 0.01303/0.2761, allocations: 7.315 MB / 0.6392 GB, free: 2.207 MB / 494.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (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)