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.5175/0.5198, allocations: 80.82 MB / 0.5904 GB, free: 22.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005122/0.5249, allocations: 3.707 MB / 0.594 GB, free: 19.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002691/0.5277, allocations: 1.968 MB / 0.596 GB, free: 17.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001872/0.5279, allocations: 11.94 kB / 0.596 GB, free: 17.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000857/0.5288, allocations: 267.6 kB / 0.5962 GB, free: 16.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006866/0.5295, allocations: 326.2 kB / 0.5965 GB, free: 16.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005521/0.53, allocations: 252.8 kB / 0.5968 GB, free: 16.26 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005118/0.5305, allocations: 0.5933 MB / 0.5974 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004339/0.531, allocations: 256 kB / 0.5976 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002635/0.5313, allocations: 227.1 kB / 0.5978 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003513/0.5316, allocations: 247 kB / 0.5981 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.631e-05/0.5317, allocations: 28 kB / 0.5981 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004083/0.5321, allocations: 279.4 kB / 0.5984 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.5322, allocations: 115.6 kB / 0.5985 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.5324, allocations: 210.8 kB / 0.5987 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005216/0.5329, allocations: 0.5684 MB / 0.5992 GB, free: 13.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.5329, allocations: 4 kB / 0.5992 GB, free: 13.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.5329, allocations: 0 / 0.5992 GB, free: 13.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.5329, allocations: 0 / 0.5992 GB, free: 13.77 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.001032/0.534, allocations: 0.7245 MB / 0.5999 GB, free: 12.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.534, allocations: 11.98 kB / 0.5999 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008917/0.5349, allocations: 132.2 kB / 0.6001 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004578/0.5354, allocations: 371.7 kB / 0.6004 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.5354, allocations: 29.02 kB / 0.6005 GB, free: 12.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.784e-05/0.5355, allocations: 36.36 kB / 0.6005 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007046/0.5362, allocations: 0.5453 MB / 0.601 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.5362, allocations: 0 / 0.601 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/0.5363, allocations: 16 kB / 0.601 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.732e-05/0.5364, allocations: 44.53 kB / 0.6011 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005556/0.5369, allocations: 397.7 kB / 0.6015 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/0.5389, allocations: 3.024 MB / 0.6044 GB, free: 8.121 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005777/0.5395, allocations: 338.5 kB / 0.6047 GB, free: 7.781 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000239/0.5397, allocations: 176.7 kB / 0.6049 GB, free: 7.605 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.5398, allocations: 4 kB / 0.6049 GB, free: 7.602 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.5398, allocations: 38.5 kB / 0.6049 GB, free: 7.555 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.403e-06/0.5398, allocations: 4 kB / 0.6049 GB, free: 7.551 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.001746/0.5416, allocations: 1.069 MB / 0.606 GB, free: 6.414 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.5416, allocations: 59.58 kB / 0.606 GB, free: 6.344 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.5419, allocations: 337.5 kB / 0.6064 GB, free: 6.008 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.5419, allocations: 29.7 kB / 0.6064 GB, free: 5.973 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.542, allocations: 239.6 kB / 0.6066 GB, free: 5.734 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.061e-05/0.542, allocations: 94.64 kB / 0.6067 GB, free: 5.641 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.337e-05/0.5421, allocations: 82.03 kB / 0.6068 GB, free: 5.555 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.721e-05/0.5422, allocations: 350.8 kB / 0.6071 GB, free: 5.203 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.5425, allocations: 144.8 kB / 0.6073 GB, free: 5.062 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.5427, allocations: 294.5 kB / 0.6075 GB, free: 4.711 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005363/0.5433, allocations: 490.8 kB / 0.608 GB, free: 4.168 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5433, allocations: 3.938 kB / 0.608 GB, free: 4.164 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007842/0.5441, allocations: 0.5577 MB / 0.6086 GB, free: 3.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.5441, allocations: 8 kB / 0.6086 GB, free: 3.582 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.5441, allocations: 4 kB / 0.6086 GB, free: 3.578 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003179/0.5445, allocations: 102.9 kB / 0.6087 GB, free: 3.469 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/0.5448, allocations: 79.89 kB / 0.6087 GB, free: 3.391 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.5448, allocations: 19.86 kB / 0.6088 GB, free: 3.371 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.545, allocations: 27.97 kB / 0.6088 GB, free: 3.344 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.5451, allocations: 20 kB / 0.6088 GB, free: 3.324 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 (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.0001502/0.5452, allocations: 165.7 kB / 0.609 GB, free: 3.152 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/0.5453, allocations: 43.53 kB / 0.609 GB, free: 3.109 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007296/0.546, allocations: 471.9 kB / 0.6095 GB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.546, allocations: 4 kB / 0.6095 GB, free: 2.629 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.5461, allocations: 0 / 0.6095 GB, free: 2.629 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.5461, allocations: 0 / 0.6095 GB, free: 2.629 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.5472, allocations: 0.9689 MB / 0.6104 GB, free: 1.586 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.5472, allocations: 0 / 0.6104 GB, free: 1.586 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.5474, allocations: 51.95 kB / 0.6105 GB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001906/0.5476, allocations: 94.47 kB / 0.6106 GB, free: 1.434 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.5476, allocations: 4 kB / 0.6106 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.5476, allocations: 4 kB / 0.6106 GB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5476, allocations: 4 kB / 0.6106 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006322/0.5483, allocations: 0.5551 MB / 0.6111 GB, free: 0.832 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.5484, allocations: 132.6 kB / 0.6112 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.112e-05/0.5485, allocations: 8 kB / 0.6112 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.5487, allocations: 19.97 kB / 0.6113 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.894e-05/0.5488, allocations: 31.84 kB / 0.6113 GB, free: 0.625 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.5488, allocations: 8 kB / 0.6113 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001691/0.5489, allocations: 235.2 kB / 0.6115 GB, free: 396 kB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.549, allocations: 3.938 kB / 0.6115 GB, free: 392 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003674/0.5493, allocations: 88 kB / 0.6116 GB, free: 304 kB / 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 (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.0001108/0.5494, allocations: 107.2 kB / 0.6117 GB, free: 188 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009616/0.5504, allocations: 0.6693 MB / 0.6124 GB, free: 15.45 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5504, allocations: 0 / 0.6124 GB, free: 15.45 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004429/0.5509, allocations: 434.9 kB / 0.6128 GB, free: 14.96 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007552/0.5516, allocations: 129.1 kB / 0.6129 GB, free: 14.84 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.5529, allocations: 0.7352 MB / 0.6136 GB, free: 14.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.5533, allocations: 0.831 MB / 0.6144 GB, free: 13.21 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002798/0.5536, allocations: 83.34 kB / 0.6145 GB, free: 13.12 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.901e-05/0.5537, allocations: 27.44 kB / 0.6145 GB, free: 13.1 MB / 462.1 MB Notification: Performance of SimCode: time 3.236e-06/0.5537, allocations: 4 kB / 0.6145 GB, free: 13.09 MB / 462.1 MB Notification: Performance of Templates: time 0.009138/0.5628, allocations: 4.658 MB / 0.6191 GB, free: 8.535 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (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)