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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7457/0.7457, allocations: 133.7 MB / 148.6 MB, free: 13.66 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001621/0.001621, allocations: 172.1 kB / 180.9 MB, free: 15.08 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.403/1.403, allocations: 170.7 MB / 383.7 MB, free: 16.16 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001592/0.001592, allocations: 110.4 kB / 454.6 MB, free: 9.719 MB / 346.7 MB [/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.1949/0.1957, allocations: 73.4 MB / 0.6812 GB, free: 5.543 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5877/0.7835, allocations: 117.8 MB / 0.7962 GB, free: 12.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/0.7838, allocations: 93.78 kB / 0.7963 GB, free: 12.54 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04651/0.8304, allocations: 21.01 MB / 0.8168 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.867e-06/0.8304, allocations: 4 kB / 0.8168 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.059e-05/0.8305, allocations: 15.98 kB / 0.8168 GB, free: 8.719 MB / 0.4948 GB 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.00145/0.832, allocations: 0.6996 MB / 0.8175 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/0.832, allocations: 8.031 kB / 0.8175 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009015/0.8329, allocations: 131.3 kB / 0.8177 GB, free: 7.836 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006248/0.8336, allocations: 377.9 kB / 0.818 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.8336, allocations: 24.66 kB / 0.818 GB, free: 7.402 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-05/0.8337, allocations: 28 kB / 0.8181 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008262/0.8345, allocations: 0.591 MB / 0.8186 GB, free: 6.688 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.8345, allocations: 7.938 kB / 0.8187 GB, free: 6.68 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.021e-05/0.8346, allocations: 12 kB / 0.8187 GB, free: 6.668 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-05/0.8346, allocations: 32.55 kB / 0.8187 GB, free: 6.637 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007098/0.8354, allocations: 416.6 kB / 0.8191 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003057/0.8384, allocations: 3.056 MB / 0.8221 GB, free: 3.004 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007123/0.8392, allocations: 330.7 kB / 0.8224 GB, free: 2.668 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.8392, allocations: 4 kB / 0.8224 GB, free: 2.664 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.8392, allocations: 38.55 kB / 0.8224 GB, free: 2.617 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=26): time 2.235e-06/0.8392, allocations: 0 / 0.8224 GB, free: 2.617 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27): time 0.002261/0.8415, allocations: 1.087 MB / 0.8235 GB, free: 1.461 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.8416, allocations: 55.64 kB / 0.8235 GB, free: 1.395 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.8419, allocations: 300.7 kB / 0.8238 GB, free: 1.098 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.842, allocations: 29.7 kB / 0.8239 GB, free: 1.062 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.8421, allocations: 231.8 kB / 0.8241 GB, free: 0.8281 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.506e-05/0.8423, allocations: 94.66 kB / 0.8242 GB, free: 0.7344 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.701e-05/0.8423, allocations: 7.938 kB / 0.8242 GB, free: 0.7266 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.8424, allocations: 346.8 kB / 0.8245 GB, free: 388 kB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/0.8427, allocations: 152.7 kB / 0.8247 GB, free: 232 kB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003411/0.8431, allocations: 284.7 kB / 0.8249 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/0.8434, allocations: 194.5 kB / 0.8251 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.8434, allocations: 4 kB / 0.8251 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009307/0.8444, allocations: 0.5501 MB / 0.8257 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.8444, allocations: 4 kB / 0.8257 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.8444, allocations: 4 kB / 0.8257 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000314/0.8447, allocations: 98.91 kB / 0.8258 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/0.8451, allocations: 83.88 kB / 0.8258 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.8451, allocations: 4 kB / 0.8258 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.8453, allocations: 31.97 kB / 0.8259 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/0.8454, allocations: 16 kB / 0.8259 GB, free: 14.89 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (42): * Single equations (assignments): 39 * 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.0002126/0.8456, allocations: 185.6 kB / 0.8261 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.136e-05/0.8457, allocations: 39.53 kB / 0.8261 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009331/0.8466, allocations: 476 kB / 0.8266 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.8466, allocations: 4 kB / 0.8266 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.8467, allocations: 0 / 0.8266 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.8467, allocations: 0 / 0.8266 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.8481, allocations: 0.9768 MB / 0.8275 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.8482, allocations: 0 / 0.8275 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.8484, allocations: 59.89 kB / 0.8276 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002399/0.8487, allocations: 82.61 kB / 0.8277 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.8487, allocations: 7.984 kB / 0.8277 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.8487, allocations: 8 kB / 0.8277 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.8487, allocations: 7.922 kB / 0.8277 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008807/0.8496, allocations: 0.583 MB / 0.8282 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/0.8498, allocations: 140.6 kB / 0.8284 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.282e-05/0.8499, allocations: 12 kB / 0.8284 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.8501, allocations: 23.97 kB / 0.8284 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.589e-05/0.8502, allocations: 23.92 kB / 0.8284 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.8502, allocations: 8 kB / 0.8284 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002264/0.8504, allocations: 231.2 kB / 0.8287 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8504, allocations: 0 / 0.8287 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003995/0.8508, allocations: 91.98 kB / 0.8288 GB, free: 11.78 MB / 0.5105 GB 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.0001896/0.851, allocations: 119.1 kB / 0.8289 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00087/0.8519, allocations: 0.6319 MB / 0.8295 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.8519, allocations: 4 kB / 0.8295 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004467/0.8524, allocations: 437.8 kB / 0.8299 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005476/0.853, allocations: 117.7 kB / 0.83 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.8541, allocations: 0.858 MB / 0.8309 GB, free: 9.461 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.8546, allocations: 0.8394 MB / 0.8317 GB, free: 8.59 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002365/0.8548, allocations: 83.28 kB / 0.8318 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.771e-05/0.8549, allocations: 31.44 kB / 0.8318 GB, free: 8.48 MB / 0.5105 GB Notification: Performance of SimCode: time 4.51e-07/0.8549, allocations: 0 / 0.8318 GB, free: 8.48 MB / 0.5105 GB Notification: Performance of Templates: time 0.008289/0.8632, allocations: 4.299 MB / 0.836 GB, free: 4.238 MB / 0.5105 GB 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)