Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.789/1.789, allocations: 292.6 MB / 307.5 MB, free: 5.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002451/0.002451, allocations: 191.9 kB / 377.1 MB, free: 1.516 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.678/1.678, allocations: 205.4 MB / 0.6367 GB, free: 9.562 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008141/0.0008141, allocations: 96.2 kB / 0.751 GB, free: 62.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003316/0.0003318, allocations: 12 kB / 0.8748 GB, free: 11.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2802, allocations: 116.3 MB / 0.9884 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7445/1.025, allocations: 155.2 MB / 1.14 GB, free: 22.87 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/1.025, allocations: 93.25 kB / 1.14 GB, free: 22.79 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0482/1.073, allocations: 20.5 MB / 1.16 GB, free: 6.754 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.044e-06/1.073, allocations: 4 kB / 1.16 GB, free: 6.75 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.809e-05/1.073, allocations: 11.98 kB / 1.16 GB, free: 6.738 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001216/1.075, allocations: 0.683 MB / 1.161 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/1.075, allocations: 12.03 kB / 1.161 GB, free: 6 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009424/1.076, allocations: 137.3 kB / 1.161 GB, free: 5.867 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005658/1.076, allocations: 374.6 kB / 1.161 GB, free: 5.465 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/1.076, allocations: 20.66 kB / 1.161 GB, free: 5.445 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.613e-05/1.076, allocations: 35.92 kB / 1.161 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007356/1.077, allocations: 0.6039 MB / 1.162 GB, free: 4.707 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/1.077, allocations: 4 kB / 1.162 GB, free: 4.703 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.727e-05/1.077, allocations: 12 kB / 1.162 GB, free: 4.691 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.671e-05/1.077, allocations: 38.2 kB / 1.162 GB, free: 4.656 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006304/1.078, allocations: 417.8 kB / 1.162 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002435/1.08, allocations: 3.368 MB / 1.166 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005847/1.081, allocations: 344.3 kB / 1.166 GB, free: 292 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/1.081, allocations: 4 kB / 1.166 GB, free: 288 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/1.081, allocations: 38.52 kB / 1.166 GB, free: 240 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=26): time 2.504e-06/1.081, allocations: 0 / 1.166 GB, free: 240 kB / 0.7292 GB Notification: Performance of matching and sorting (n=27): time 0.002175/1.083, allocations: 1.076 MB / 1.167 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/1.083, allocations: 55.64 kB / 1.167 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003774/1.084, allocations: 296.8 kB / 1.167 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/1.084, allocations: 29.7 kB / 1.167 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/1.084, allocations: 235.7 kB / 1.168 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.299e-05/1.084, allocations: 94.64 kB / 1.168 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.825e-05/1.084, allocations: 8 kB / 1.168 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001721/1.084, allocations: 350.8 kB / 1.168 GB, free: 14 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/1.084, allocations: 148.7 kB / 1.168 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003591/1.085, allocations: 280.8 kB / 1.169 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/1.085, allocations: 195.1 kB / 1.169 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.085, allocations: 0 / 1.169 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009993/1.086, allocations: 0.5465 MB / 1.169 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/1.086, allocations: 7.953 kB / 1.169 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/1.086, allocations: 8 kB / 1.169 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003639/1.087, allocations: 86.5 kB / 1.169 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/1.087, allocations: 87.81 kB / 1.169 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/1.087, allocations: 4.859 kB / 1.169 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/1.087, allocations: 36.78 kB / 1.169 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/1.087, allocations: 16 kB / 1.169 GB, free: 12.52 MB / 0.7448 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.00025/1.088, allocations: 173.6 kB / 1.17 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.685e-05/1.088, allocations: 43.52 kB / 1.17 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009329/1.089, allocations: 476.5 kB / 1.17 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/1.089, allocations: 3.984 kB / 1.17 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/1.089, allocations: 4 kB / 1.17 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.089, allocations: 1.062 kB / 1.17 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/1.09, allocations: 0.9883 MB / 1.171 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/1.09, allocations: 96 / 1.171 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/1.091, allocations: 55.91 kB / 1.171 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002467/1.091, allocations: 78.5 kB / 1.171 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.266e-05/1.091, allocations: 8 kB / 1.171 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/1.091, allocations: 3.938 kB / 1.171 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.091, allocations: 1.125 kB / 1.171 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009562/1.092, allocations: 0.5947 MB / 1.172 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002146/1.092, allocations: 136.6 kB / 1.172 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.209e-05/1.092, allocations: 11.98 kB / 1.172 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/1.092, allocations: 19.98 kB / 1.172 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.992e-05/1.092, allocations: 27.95 kB / 1.172 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/1.093, allocations: 8 kB / 1.172 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002871/1.093, allocations: 231.2 kB / 1.172 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.093, allocations: 0 / 1.172 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005014/1.093, allocations: 92 kB / 1.172 GB, free: 9.418 MB / 0.7448 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.0002152/1.094, allocations: 116.8 kB / 1.172 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001141/1.095, allocations: 0.6249 MB / 1.173 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/1.095, allocations: 128 / 1.173 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0005032/1.095, allocations: 449.3 kB / 1.173 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006184/1.096, allocations: 111.8 kB / 1.174 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/1.097, allocations: 0.8649 MB / 1.174 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005472/1.098, allocations: 0.8395 MB / 1.175 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003179/1.098, allocations: 77.02 kB / 1.175 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.429e-05/1.098, allocations: 27.44 kB / 1.175 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/1.098, allocations: 0 / 1.175 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of Templates: time 0.01018/1.109, allocations: 4.313 MB / 1.18 GB, free: 1.898 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)