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.4187/0.4194, allocations: 82.2 MB / 0.5935 GB, free: 21.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.002999/0.4225, allocations: 3.225 MB / 0.5966 GB, free: 18.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002207/0.4247, allocations: 1.84 MB / 0.5984 GB, free: 16.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000205/0.4249, allocations: 11.88 kB / 0.5984 GB, free: 16.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001907/0.4251, allocations: 57.12 kB / 0.5985 GB, free: 16.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005339/0.4257, allocations: 256.8 kB / 0.5987 GB, free: 16.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003898/0.4261, allocations: 180.2 kB / 0.5989 GB, free: 16.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004487/0.4265, allocations: 0.6283 MB / 0.5995 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004836/0.427, allocations: 323.6 kB / 0.5998 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.4273, allocations: 204 kB / 0.6 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002893/0.4276, allocations: 232.8 kB / 0.6003 GB, free: 14.78 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.4276, allocations: 12 kB / 0.6003 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.4279, allocations: 131.8 kB / 0.6004 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.641e-05/0.428, allocations: 100.2 kB / 0.6005 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.122e-05/0.428, allocations: 97.45 kB / 0.6006 GB, free: 14.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003091/0.4283, allocations: 430 kB / 0.601 GB, free: 14.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4284, allocations: 0.7188 kB / 0.601 GB, free: 14.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4284, allocations: 0 / 0.601 GB, free: 14.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.4284, allocations: 1.906 kB / 0.601 GB, free: 14.02 MB / 446.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.0007823/0.4292, allocations: 0.6677 MB / 0.6016 GB, free: 13.31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.4292, allocations: 12.03 kB / 0.6017 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007462/0.4299, allocations: 129.8 kB / 0.6018 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.4303, allocations: 366.5 kB / 0.6021 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.4303, allocations: 20.66 kB / 0.6021 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.302e-05/0.4304, allocations: 31.89 kB / 0.6022 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005933/0.431, allocations: 0.5452 MB / 0.6027 GB, free: 12.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.431, allocations: 4 kB / 0.6027 GB, free: 12.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.15e-05/0.431, allocations: 19.92 kB / 0.6027 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.705e-05/0.4311, allocations: 44.53 kB / 0.6028 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005385/0.4316, allocations: 405.8 kB / 0.6032 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.4334, allocations: 3.02 MB / 0.6061 GB, free: 8.445 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005319/0.4339, allocations: 345.3 kB / 0.6064 GB, free: 8.102 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/0.4342, allocations: 184.7 kB / 0.6066 GB, free: 7.918 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.4342, allocations: 4 kB / 0.6066 GB, free: 7.914 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.4342, allocations: 38.56 kB / 0.6067 GB, free: 7.867 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.312e-06/0.4342, allocations: 0 / 0.6067 GB, free: 7.867 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.001576/0.4358, allocations: 1.085 MB / 0.6077 GB, free: 6.715 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.4359, allocations: 55.64 kB / 0.6078 GB, free: 6.648 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.4361, allocations: 341.5 kB / 0.6081 GB, free: 6.305 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.4361, allocations: 25.7 kB / 0.6081 GB, free: 6.273 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.024e-05/0.4362, allocations: 239.6 kB / 0.6083 GB, free: 6.035 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.869e-05/0.4363, allocations: 106.6 kB / 0.6085 GB, free: 5.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.551e-05/0.4363, allocations: 8 kB / 0.6085 GB, free: 5.922 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.582e-05/0.4363, allocations: 350.8 kB / 0.6088 GB, free: 5.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.4366, allocations: 156.7 kB / 0.6089 GB, free: 5.418 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002678/0.4368, allocations: 295.1 kB / 0.6092 GB, free: 5.066 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/0.4371, allocations: 197 kB / 0.6094 GB, free: 4.875 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4371, allocations: 4 kB / 0.6094 GB, free: 4.871 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007515/0.4379, allocations: 0.5697 MB / 0.61 GB, free: 4.285 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.4379, allocations: 8 kB / 0.61 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.4379, allocations: 4 kB / 0.61 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002523/0.4382, allocations: 86.47 kB / 0.6101 GB, free: 4.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.4385, allocations: 100.1 kB / 0.6102 GB, free: 4.082 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.4385, allocations: 8 kB / 0.6102 GB, free: 4.074 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.4387, allocations: 35.91 kB / 0.6102 GB, free: 4.039 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.4388, allocations: 19.98 kB / 0.6102 GB, free: 4.02 MB / 446.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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001333/0.4389, allocations: 169.7 kB / 0.6104 GB, free: 3.844 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/0.439, allocations: 39.53 kB / 0.6104 GB, free: 3.805 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007268/0.4397, allocations: 487.8 kB / 0.6109 GB, free: 3.312 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.4397, allocations: 4 kB / 0.6109 GB, free: 3.309 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.4397, allocations: 0 / 0.6109 GB, free: 3.309 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.4397, allocations: 4 kB / 0.6109 GB, free: 3.305 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.4408, allocations: 0.9729 MB / 0.6118 GB, free: 2.258 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.4408, allocations: 7.891 kB / 0.6119 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.441, allocations: 55.89 kB / 0.6119 GB, free: 2.195 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001782/0.4412, allocations: 78.52 kB / 0.612 GB, free: 2.109 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.4412, allocations: 8 kB / 0.612 GB, free: 2.102 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.4412, allocations: 3.984 kB / 0.612 GB, free: 2.098 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4412, allocations: 8.031 kB / 0.612 GB, free: 2.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006061/0.4419, allocations: 0.5552 MB / 0.6125 GB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.47e-05/0.442, allocations: 140.6 kB / 0.6127 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/0.442, allocations: 4 kB / 0.6127 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.4422, allocations: 23.97 kB / 0.6127 GB, free: 1.316 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/0.4423, allocations: 27.92 kB / 0.6127 GB, free: 1.289 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.4423, allocations: 12 kB / 0.6127 GB, free: 1.277 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001504/0.4424, allocations: 227.2 kB / 0.613 GB, free: 1.059 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4425, allocations: 4 kB / 0.613 GB, free: 1.055 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00036/0.4428, allocations: 84 kB / 0.613 GB, free: 0.9727 MB / 446.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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001048/0.4429, allocations: 111.2 kB / 0.6131 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006625/0.4436, allocations: 0.6472 MB / 0.6138 GB, free: 148 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4436, allocations: 0 / 0.6138 GB, free: 148 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004518/0.4441, allocations: 441.8 kB / 0.6142 GB, free: 15.65 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000735/0.4448, allocations: 114.7 kB / 0.6143 GB, free: 15.54 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.4459, allocations: 0.8769 MB / 0.6152 GB, free: 14.63 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.4463, allocations: 0.8195 MB / 0.616 GB, free: 13.78 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002359/0.4465, allocations: 91.33 kB / 0.6161 GB, free: 13.69 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.052e-05/0.4466, allocations: 27.44 kB / 0.6161 GB, free: 13.66 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4466, allocations: 0 / 0.6161 GB, free: 13.66 MB / 462.1 MB Notification: Performance of Templates: time 0.007756/0.4544, allocations: 4.298 MB / 0.6203 GB, free: 9.457 MB / 462.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: