Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.722/1.722, allocations: 288.3 MB / 303.2 MB, free: 8.141 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.001431/0.001431, allocations: 186.1 kB / 371.8 MB, free: 10.25 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.715/1.715, allocations: 205.4 MB / 0.6306 GB, free: 9.98 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.0009652/0.0009652, allocations: 95.42 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004067/0.0004068, allocations: 14.59 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2682, allocations: 115.3 MB / 0.9794 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8661/1.134, allocations: 153.8 MB / 1.13 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/1.135, allocations: 96.66 kB / 1.13 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06222/1.197, allocations: 29.64 MB / 1.159 GB, free: 18.01 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.647e-06/1.197, allocations: 0 / 1.159 GB, free: 18.01 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.095e-05/1.197, allocations: 20 kB / 1.159 GB, free: 17.99 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001542/1.199, allocations: 0.8559 MB / 1.16 GB, free: 17.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/1.199, allocations: 8.031 kB / 1.16 GB, free: 17.13 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/1.2, allocations: 202.9 kB / 1.16 GB, free: 16.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007511/1.201, allocations: 487.8 kB / 1.16 GB, free: 16.47 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/1.201, allocations: 35.52 kB / 1.16 GB, free: 16.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.179e-05/1.201, allocations: 43.67 kB / 1.16 GB, free: 16.42 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009977/1.202, allocations: 0.926 MB / 1.161 GB, free: 15.51 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/1.202, allocations: 7.938 kB / 1.161 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.233e-05/1.202, allocations: 24.5 kB / 1.161 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.069e-05/1.202, allocations: 59.89 kB / 1.161 GB, free: 15.45 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007733/1.203, allocations: 0.5555 MB / 1.162 GB, free: 15.05 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004992/1.208, allocations: 5.669 MB / 1.167 GB, free: 9.426 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006694/1.208, allocations: 452 kB / 1.168 GB, free: 9.109 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/1.209, allocations: 4 kB / 1.168 GB, free: 9.105 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.316e-05/1.209, allocations: 42.19 kB / 1.168 GB, free: 9.059 MB / 0.698 GB Notification: Performance of pre-optimization done (n=32): time 3.227e-06/1.209, allocations: 4 kB / 1.168 GB, free: 9.055 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.00265/1.211, allocations: 1.498 MB / 1.169 GB, free: 7.691 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/1.211, allocations: 63.3 kB / 1.169 GB, free: 7.617 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004716/1.212, allocations: 430.7 kB / 1.17 GB, free: 7.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/1.212, allocations: 32.77 kB / 1.17 GB, free: 7.234 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/1.212, allocations: 345 kB / 1.17 GB, free: 6.984 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/1.212, allocations: 121.3 kB / 1.17 GB, free: 6.883 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.986e-05/1.212, allocations: 6.125 kB / 1.17 GB, free: 6.883 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001667/1.212, allocations: 366.7 kB / 1.171 GB, free: 6.539 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/1.213, allocations: 187.3 kB / 1.171 GB, free: 6.414 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004378/1.213, allocations: 414.8 kB / 1.171 GB, free: 5.984 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003412/1.214, allocations: 244.8 kB / 1.171 GB, free: 5.832 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/1.214, allocations: 4 kB / 1.171 GB, free: 5.828 MB / 0.698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001303/1.215, allocations: 0.7657 MB / 1.172 GB, free: 5.223 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.445e-05/1.215, allocations: 13.39 kB / 1.172 GB, free: 5.211 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/1.215, allocations: 8 kB / 1.172 GB, free: 5.203 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005655/1.215, allocations: 153.7 kB / 1.172 GB, free: 5.062 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004537/1.216, allocations: 118.6 kB / 1.172 GB, free: 4.949 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003564/1.22, allocations: 4.058 MB / 1.176 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005163/1.22, allocations: 31.22 kB / 1.176 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.415e-05/1.22, allocations: 31.23 kB / 1.176 GB, free: 0.6289 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004133/1.221, allocations: 212.6 kB / 1.177 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.274e-05/1.221, allocations: 63.25 kB / 1.177 GB, free: 396 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/1.222, allocations: 0.5925 MB / 1.177 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/1.222, allocations: 4 kB / 1.177 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/1.222, allocations: 7.938 kB / 1.177 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/1.222, allocations: 3.984 kB / 1.177 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/1.224, allocations: 1.261 MB / 1.179 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/1.224, allocations: 0 / 1.179 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/1.224, allocations: 55.89 kB / 1.179 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004267/1.224, allocations: 148.8 kB / 1.179 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/1.224, allocations: 7.938 kB / 1.179 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003142/1.228, allocations: 4.055 MB / 1.183 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.228, allocations: 7.969 kB / 1.183 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/1.229, allocations: 0.7813 MB / 1.183 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002828/1.229, allocations: 172.4 kB / 1.184 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.41e-05/1.229, allocations: 7.438 kB / 1.184 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/1.229, allocations: 23.53 kB / 1.184 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/1.229, allocations: 23.34 kB / 1.184 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/1.229, allocations: 11.38 kB / 1.184 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003654/1.23, allocations: 338 kB / 1.184 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.6e-07/1.23, allocations: 0 / 1.184 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000681/1.23, allocations: 146.7 kB / 1.184 GB, free: 9.043 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001895/1.231, allocations: 117.5 kB / 1.184 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001351/1.232, allocations: 1.014 MB / 1.185 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.232, allocations: 0 / 1.185 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007804/1.233, allocations: 0.726 MB / 1.186 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008012/1.234, allocations: 188.3 kB / 1.186 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/1.235, allocations: 1.214 MB / 1.187 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/1.236, allocations: 0.9203 MB / 1.188 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003925/1.236, allocations: 125.1 kB / 1.188 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.021e-05/1.236, allocations: 38.31 kB / 1.188 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of SimCode: time 1.313e-06/1.236, allocations: 0 / 1.188 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of Templates: time 0.01342/1.25, allocations: 7.03 MB / 1.195 GB, free: 13.87 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)