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.694/0.694, allocations: 132.3 MB / 144.9 MB, free: 10.69 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.001092/0.001092, allocations: 172.5 kB / 176.9 MB, free: 2.227 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.391/1.391, allocations: 170.5 MB / 379.3 MB, free: 11.88 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.001565/0.001565, allocations: 118 kB / 450 MB, free: 5.816 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.4384/0.4385, allocations: 73.38 MB / 0.6736 GB, free: 47.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1485/0.587, allocations: 117.7 MB / 0.7886 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.5873, allocations: 94.03 kB / 0.7886 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04874/0.6361, allocations: 20.89 MB / 0.809 GB, free: 9.891 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6361, allocations: 0 / 0.809 GB, free: 9.891 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.02e-05/0.6361, allocations: 12 kB / 0.8091 GB, free: 9.879 MB / 0.5105 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.000937/0.6371, allocations: 0.6531 MB / 0.8097 GB, free: 9.184 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.6371, allocations: 16.02 kB / 0.8097 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008749/0.638, allocations: 127.3 kB / 0.8098 GB, free: 9.043 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005467/0.6386, allocations: 369.5 kB / 0.8102 GB, free: 8.645 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.6386, allocations: 20.78 kB / 0.8102 GB, free: 8.625 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.903e-05/0.6387, allocations: 27.98 kB / 0.8102 GB, free: 8.598 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007515/0.6394, allocations: 0.5848 MB / 0.8108 GB, free: 7.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.6395, allocations: 7.938 kB / 0.8108 GB, free: 7.902 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.872e-05/0.6395, allocations: 19.59 kB / 0.8108 GB, free: 7.887 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.886e-05/0.6396, allocations: 28.55 kB / 0.8108 GB, free: 7.859 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005094/0.6401, allocations: 369.8 kB / 0.8112 GB, free: 7.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002575/0.6427, allocations: 3.055 MB / 0.8142 GB, free: 4.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005643/0.6432, allocations: 313.6 kB / 0.8145 GB, free: 3.953 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.6435, allocations: 164.8 kB / 0.8146 GB, free: 3.789 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.6435, allocations: 0 / 0.8146 GB, free: 3.789 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.6435, allocations: 46.5 kB / 0.8147 GB, free: 3.734 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=26): time 1.232e-06/0.6435, allocations: 0 / 0.8147 GB, free: 3.734 MB / 0.5105 GB Notification: Performance of matching and sorting (n=27): time 0.001078/0.6446, allocations: 0.6028 MB / 0.8153 GB, free: 3.113 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.6447, allocations: 55.64 kB / 0.8153 GB, free: 3.047 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.6449, allocations: 291.5 kB / 0.8156 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.645, allocations: 29.7 kB / 0.8156 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.6451, allocations: 231.8 kB / 0.8159 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.803e-05/0.6452, allocations: 98.64 kB / 0.8159 GB, free: 2.398 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.724e-05/0.6452, allocations: 8 kB / 0.816 GB, free: 2.391 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.6453, allocations: 346.8 kB / 0.8163 GB, free: 2.043 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.6455, allocations: 128.7 kB / 0.8164 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.6458, allocations: 256.8 kB / 0.8167 GB, free: 1.609 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.646, allocations: 178.6 kB / 0.8168 GB, free: 1.438 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.646, allocations: 4 kB / 0.8168 GB, free: 1.434 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007273/0.6467, allocations: 0.5082 MB / 0.8173 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.6468, allocations: 8 kB / 0.8173 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.6468, allocations: 4 kB / 0.8173 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002789/0.6471, allocations: 94.44 kB / 0.8174 GB, free: 0.7969 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003138/0.6474, allocations: 75.89 kB / 0.8175 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.779e-05/0.6474, allocations: 15.92 kB / 0.8175 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.6477, allocations: 36 kB / 0.8175 GB, free: 0.6719 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/0.6477, allocations: 16 kB / 0.8176 GB, free: 0.6562 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 () * 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.0001053/0.6478, allocations: 129.3 kB / 0.8177 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.885e-05/0.6479, allocations: 35.53 kB / 0.8177 GB, free: 500 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007119/0.6486, allocations: 452 kB / 0.8182 GB, free: 28 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.6486, allocations: 4 kB / 0.8182 GB, free: 24 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.6486, allocations: 0 / 0.8182 GB, free: 24 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.6486, allocations: 0 / 0.8182 GB, free: 24 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.6499, allocations: 0.9403 MB / 0.8191 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.6499, allocations: 96 / 0.8191 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.6501, allocations: 63.89 kB / 0.8191 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002163/0.6504, allocations: 82.55 kB / 0.8192 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.6504, allocations: 4 kB / 0.8192 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.6504, allocations: 4 kB / 0.8192 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6504, allocations: 3.953 kB / 0.8192 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006425/0.6511, allocations: 0.5518 MB / 0.8198 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.6512, allocations: 148.6 kB / 0.8199 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.6513, allocations: 4 kB / 0.8199 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.6515, allocations: 27.97 kB / 0.8199 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/0.6516, allocations: 19.92 kB / 0.82 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.6516, allocations: 12 kB / 0.82 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001911/0.6518, allocations: 226.2 kB / 0.8202 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6518, allocations: 0 / 0.8202 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003776/0.6522, allocations: 95.94 kB / 0.8203 GB, free: 13.7 MB / 0.5261 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 () * 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.0001456/0.6523, allocations: 108.8 kB / 0.8204 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006496/0.653, allocations: 0.5999 MB / 0.821 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.653, allocations: 4.25 kB / 0.821 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003564/0.6534, allocations: 413.8 kB / 0.8214 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005579/0.6539, allocations: 120.2 kB / 0.8215 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007952/0.6547, allocations: 0.5227 MB / 0.822 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.6551, allocations: 0.8355 MB / 0.8228 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002271/0.6553, allocations: 79.3 kB / 0.8229 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.376e-05/0.6554, allocations: 27.44 kB / 0.8229 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of SimCode: time 4.51e-07/0.6554, allocations: 0 / 0.8229 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.007568/0.663, allocations: 4.319 MB / 0.8271 GB, free: 6.559 MB / 0.5261 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)