Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.769/2.769, allocations: 287.5 MB / 303.2 MB, free: 8.25 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.001383/0.001382, allocations: 182 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.124/2.124, allocations: 205.4 MB / 0.6305 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009206/0.0009203, allocations: 87.61 kB / 0.7438 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.0004806, allocations: 12.22 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2214, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9468/1.168, allocations: 154.1 MB / 1.13 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003325/1.169, allocations: 98.72 kB / 1.13 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07489/1.244, allocations: 20.5 MB / 1.15 GB, free: 24.49 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.987e-06/1.244, allocations: 0 / 1.15 GB, free: 24.49 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.327e-05/1.244, allocations: 11.78 kB / 1.15 GB, free: 24.48 MB / 0.698 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.001344/1.245, allocations: 0.6863 MB / 1.151 GB, free: 23.92 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/1.245, allocations: 7.688 kB / 1.151 GB, free: 23.92 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/1.246, allocations: 141.3 kB / 1.151 GB, free: 23.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007119/1.247, allocations: 388.1 kB / 1.151 GB, free: 23.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/1.247, allocations: 18.97 kB / 1.151 GB, free: 23.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.452e-05/1.247, allocations: 35.03 kB / 1.151 GB, free: 23.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/1.248, allocations: 0.6034 MB / 1.152 GB, free: 23.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/1.248, allocations: 8 kB / 1.152 GB, free: 23.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-05/1.248, allocations: 15.28 kB / 1.152 GB, free: 23.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.831e-05/1.248, allocations: 39 kB / 1.152 GB, free: 23.15 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/1.25, allocations: 410.7 kB / 1.152 GB, free: 23.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003858/1.253, allocations: 3.362 MB / 1.155 GB, free: 20.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009269/1.254, allocations: 339.7 kB / 1.156 GB, free: 20.08 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004426/1.255, allocations: 190.4 kB / 1.156 GB, free: 20.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/1.255, allocations: 3.844 kB / 1.156 GB, free: 20.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/1.255, allocations: 40.66 kB / 1.156 GB, free: 19.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 3.226e-06/1.255, allocations: 0 / 1.156 GB, free: 19.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=27): time 0.002988/1.258, allocations: 1.085 MB / 1.157 GB, free: 19.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/1.258, allocations: 55.64 kB / 1.157 GB, free: 19.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004123/1.258, allocations: 335 kB / 1.157 GB, free: 18.86 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/1.258, allocations: 29.64 kB / 1.157 GB, free: 18.83 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/1.259, allocations: 248.2 kB / 1.158 GB, free: 18.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.652e-05/1.259, allocations: 93.28 kB / 1.158 GB, free: 18.55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.429e-05/1.259, allocations: 6.812 kB / 1.158 GB, free: 18.55 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001485/1.259, allocations: 345.5 kB / 1.158 GB, free: 18.22 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004058/1.259, allocations: 149.8 kB / 1.158 GB, free: 18.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005145/1.26, allocations: 275.7 kB / 1.159 GB, free: 17.85 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009075/1.261, allocations: 469.3 kB / 1.159 GB, free: 17.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.261, allocations: 0 / 1.159 GB, free: 17.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001379/1.262, allocations: 0.5558 MB / 1.16 GB, free: 17.01 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/1.262, allocations: 8 kB / 1.16 GB, free: 17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/1.262, allocations: 4 kB / 1.16 GB, free: 17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004426/1.263, allocations: 79.83 kB / 1.16 GB, free: 16.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005724/1.263, allocations: 91.38 kB / 1.16 GB, free: 16.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/1.263, allocations: 8 kB / 1.16 GB, free: 16.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004492/1.264, allocations: 34.94 kB / 1.16 GB, free: 16.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/1.264, allocations: 12 kB / 1.16 GB, free: 16.79 MB / 0.698 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.0002826/1.264, allocations: 180.9 kB / 1.16 GB, free: 16.63 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-05/1.264, allocations: 39.53 kB / 1.16 GB, free: 16.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/1.265, allocations: 470.2 kB / 1.16 GB, free: 16.24 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/1.265, allocations: 7.938 kB / 1.16 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/1.265, allocations: 0 / 1.16 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/1.265, allocations: 0 / 1.16 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002043/1.268, allocations: 0.9759 MB / 1.161 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.268, allocations: 0 / 1.161 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004167/1.268, allocations: 59.98 kB / 1.161 GB, free: 15.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003729/1.268, allocations: 76.52 kB / 1.162 GB, free: 15.26 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/1.268, allocations: 7.188 kB / 1.162 GB, free: 15.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/1.268, allocations: 0 / 1.162 GB, free: 15.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.268, allocations: 15.81 kB / 1.162 GB, free: 15.24 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/1.27, allocations: 0.5578 MB / 1.162 GB, free: 14.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002097/1.27, allocations: 142.3 kB / 1.162 GB, free: 14.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.56e-05/1.27, allocations: 7.688 kB / 1.162 GB, free: 14.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003766/1.27, allocations: 23.28 kB / 1.162 GB, free: 14.58 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.378e-05/1.27, allocations: 27.03 kB / 1.162 GB, free: 14.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/1.27, allocations: 4 kB / 1.162 GB, free: 14.55 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002972/1.271, allocations: 239.4 kB / 1.163 GB, free: 14.36 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.271, allocations: 4 kB / 1.163 GB, free: 14.36 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005654/1.271, allocations: 87.38 kB / 1.163 GB, free: 14.28 MB / 0.698 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.0001966/1.272, allocations: 119.8 kB / 1.163 GB, free: 14.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001214/1.273, allocations: 0.6283 MB / 1.163 GB, free: 13.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/1.273, allocations: 0 / 1.163 GB, free: 13.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006575/1.273, allocations: 444.1 kB / 1.164 GB, free: 13.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/1.275, allocations: 108.8 kB / 1.164 GB, free: 13.03 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/1.276, allocations: 0.8643 MB / 1.165 GB, free: 12.19 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005474/1.277, allocations: 0.8223 MB / 1.166 GB, free: 11.35 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005338/1.277, allocations: 79.3 kB / 1.166 GB, free: 11.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/1.277, allocations: 27.44 kB / 1.166 GB, free: 11.24 MB / 0.698 GB Notification: Performance of SimCode: time 9.32e-07/1.277, allocations: 0 / 1.166 GB, free: 11.24 MB / 0.698 GB Notification: Performance of Templates: time 0.01338/1.291, allocations: 4.333 MB / 1.17 GB, free: 6.988 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)