Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [/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.2028/0.2036, allocations: 82.22 MB / 0.5941 GB, free: 5.559 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005131/0.2088, allocations: 3.37 MB / 0.5974 GB, free: 2.164 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00319/0.212, allocations: 1.95 MB / 0.5993 GB, free: 208 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002312/0.2123, allocations: 15.88 kB / 0.5993 GB, free: 192 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.2125, allocations: 51.5 kB / 0.5994 GB, free: 140 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006827/0.2132, allocations: 318.6 kB / 0.5997 GB, free: 15.82 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005227/0.2138, allocations: 226.8 kB / 0.5999 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007753/0.2145, allocations: 0.7335 MB / 0.6006 GB, free: 14.87 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007413/0.2153, allocations: 359.2 kB / 0.601 GB, free: 14.49 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003653/0.2157, allocations: 203 kB / 0.6012 GB, free: 14.29 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004175/0.2161, allocations: 235 kB / 0.6014 GB, free: 14.06 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.2161, allocations: 12 kB / 0.6014 GB, free: 14.05 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004874/0.2166, allocations: 343.3 kB / 0.6017 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.2168, allocations: 95.66 kB / 0.6018 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.2169, allocations: 212.6 kB / 0.602 GB, free: 13.41 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005801/0.2175, allocations: 0.576 MB / 0.6026 GB, free: 12.83 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2175, allocations: 0 / 0.6026 GB, free: 12.83 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2176, allocations: 4 kB / 0.6026 GB, free: 12.82 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.2176, allocations: 0 / 0.6026 GB, free: 12.82 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001005/0.2186, allocations: 0.6507 MB / 0.6032 GB, free: 12.12 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.2186, allocations: 8.031 kB / 0.6032 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008644/0.2195, allocations: 140.2 kB / 0.6034 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004513/0.22, allocations: 375.6 kB / 0.6037 GB, free: 11.58 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.22, allocations: 21.02 kB / 0.6037 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.067e-05/0.2201, allocations: 36.22 kB / 0.6038 GB, free: 11.52 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007616/0.2208, allocations: 0.5526 MB / 0.6043 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.2209, allocations: 3.938 kB / 0.6043 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.865e-05/0.2209, allocations: 15.98 kB / 0.6043 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.417e-05/0.221, allocations: 44.53 kB / 0.6044 GB, free: 10.83 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006587/0.2216, allocations: 409.8 kB / 0.6048 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002488/0.2241, allocations: 3.013 MB / 0.6077 GB, free: 7.246 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006568/0.2248, allocations: 343.3 kB / 0.608 GB, free: 6.902 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003005/0.2251, allocations: 192.6 kB / 0.6082 GB, free: 6.711 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.2252, allocations: 3.938 kB / 0.6082 GB, free: 6.707 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.2252, allocations: 46.55 kB / 0.6083 GB, free: 6.652 MB / 462.1 MB Notification: Performance of pre-optimization done (n=26): time 1.432e-06/0.2252, allocations: 0 / 0.6083 GB, free: 6.652 MB / 462.1 MB Notification: Performance of matching and sorting (n=27): time 0.00194/0.2271, allocations: 1.078 MB / 0.6093 GB, free: 5.508 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.2272, allocations: 63.58 kB / 0.6094 GB, free: 5.434 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.2275, allocations: 341.5 kB / 0.6097 GB, free: 5.09 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.2275, allocations: 25.7 kB / 0.6097 GB, free: 5.059 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.2277, allocations: 243.6 kB / 0.61 GB, free: 4.816 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.332e-05/0.2278, allocations: 98.64 kB / 0.6101 GB, free: 4.719 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.943e-05/0.2278, allocations: 41.64 kB / 0.6101 GB, free: 4.672 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.2279, allocations: 342.8 kB / 0.6104 GB, free: 4.328 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002638/0.2282, allocations: 160.8 kB / 0.6106 GB, free: 4.172 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003303/0.2285, allocations: 294.5 kB / 0.6109 GB, free: 3.824 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006394/0.2292, allocations: 0.4907 MB / 0.6113 GB, free: 3.27 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2292, allocations: 0 / 0.6113 GB, free: 3.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009427/0.2302, allocations: 0.5737 MB / 0.6119 GB, free: 2.68 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.2302, allocations: 4 kB / 0.6119 GB, free: 2.676 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.2302, allocations: 8 kB / 0.6119 GB, free: 2.668 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002949/0.2305, allocations: 86.44 kB / 0.612 GB, free: 2.574 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.2308, allocations: 88.17 kB / 0.6121 GB, free: 2.488 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.2309, allocations: 23.91 kB / 0.6121 GB, free: 2.465 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.2311, allocations: 31.97 kB / 0.6121 GB, free: 2.434 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.2312, allocations: 16 kB / 0.6121 GB, free: 2.418 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001801/0.2313, allocations: 173.6 kB / 0.6123 GB, free: 2.238 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.236e-05/0.2314, allocations: 39.53 kB / 0.6123 GB, free: 2.199 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009062/0.2323, allocations: 487.8 kB / 0.6128 GB, free: 1.707 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.2323, allocations: 4 kB / 0.6128 GB, free: 1.703 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.2324, allocations: 0 / 0.6128 GB, free: 1.703 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.2324, allocations: 8 kB / 0.6128 GB, free: 1.695 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.2338, allocations: 0.9767 MB / 0.6138 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2338, allocations: 0 / 0.6138 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.234, allocations: 51.89 kB / 0.6138 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002251/0.2342, allocations: 90.44 kB / 0.6139 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.2343, allocations: 8 kB / 0.6139 GB, free: 500 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.2343, allocations: 0 / 0.6139 GB, free: 500 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.2343, allocations: 4.094 kB / 0.6139 GB, free: 496 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008145/0.2351, allocations: 0.5668 MB / 0.6145 GB, free: 15.88 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.2352, allocations: 136.6 kB / 0.6146 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.714e-05/0.2353, allocations: 8 kB / 0.6146 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.2355, allocations: 23.97 kB / 0.6146 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.345e-05/0.2356, allocations: 35.78 kB / 0.6147 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.2357, allocations: 8 kB / 0.6147 GB, free: 15.66 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002098/0.2359, allocations: 239.2 kB / 0.6149 GB, free: 15.43 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2359, allocations: 0 / 0.6149 GB, free: 15.43 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003813/0.2363, allocations: 80 kB / 0.615 GB, free: 15.35 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001299/0.2364, allocations: 107.8 kB / 0.6151 GB, free: 15.23 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008496/0.2373, allocations: 0.6431 MB / 0.6157 GB, free: 14.53 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2373, allocations: 0 / 0.6157 GB, free: 14.53 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004218/0.2377, allocations: 445.8 kB / 0.6161 GB, free: 14.03 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007235/0.2384, allocations: 117.6 kB / 0.6162 GB, free: 13.91 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.2396, allocations: 0.896 MB / 0.6171 GB, free: 12.98 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.2399, allocations: 0.8234 MB / 0.6179 GB, free: 12.13 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002297/0.2402, allocations: 83.36 kB / 0.618 GB, free: 12.05 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.093e-05/0.2403, allocations: 35.42 kB / 0.618 GB, free: 12.01 MB / 478.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2403, allocations: 0 / 0.618 GB, free: 12.01 MB / 478.1 MB Notification: Performance of Templates: time 0.008114/0.2484, allocations: 4.439 MB / 0.6224 GB, free: 7.664 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) Environment - environmentSimulation: