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.617/1.617, allocations: 289.7 MB / 302.2 MB, free: 2.176 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.001109/0.001109, allocations: 179.8 kB / 371.6 MB, free: 3.359 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.757/1.757, allocations: 205.2 MB / 0.6309 GB, free: 11.74 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.001023/0.001023, allocations: 90.03 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.63e-05/3.633e-05, allocations: 7.984 kB / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3031, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9873/1.29, allocations: 155.2 MB / 1.131 GB, free: 33.2 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/1.291, allocations: 89.94 kB / 1.131 GB, free: 33.17 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.04964/1.34, allocations: 20.36 MB / 1.151 GB, free: 22.52 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.174e-06/1.34, allocations: 0 / 1.151 GB, free: 22.52 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.913e-05/1.341, allocations: 8 kB / 1.151 GB, free: 22.52 MB / 0.7448 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.001019/1.342, allocations: 0.6477 MB / 1.152 GB, free: 21.9 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/1.342, allocations: 8.031 kB / 1.152 GB, free: 21.89 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008731/1.342, allocations: 136.1 kB / 1.152 GB, free: 21.8 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000517/1.343, allocations: 376 kB / 1.152 GB, free: 21.46 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/1.343, allocations: 27.97 kB / 1.152 GB, free: 21.45 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.909e-05/1.343, allocations: 35.14 kB / 1.152 GB, free: 21.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006863/1.344, allocations: 0.5834 MB / 1.153 GB, free: 20.92 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/1.344, allocations: 7.938 kB / 1.153 GB, free: 20.91 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.916e-05/1.344, allocations: 15.55 kB / 1.153 GB, free: 20.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.134e-05/1.344, allocations: 38.03 kB / 1.153 GB, free: 20.88 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000487/1.344, allocations: 373.8 kB / 1.153 GB, free: 20.65 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002335/1.347, allocations: 3.359 MB / 1.157 GB, free: 17.55 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005371/1.347, allocations: 314.1 kB / 1.157 GB, free: 17.36 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/1.348, allocations: 158.6 kB / 1.157 GB, free: 17.27 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/1.348, allocations: 7.938 kB / 1.157 GB, free: 17.26 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/1.348, allocations: 43.22 kB / 1.157 GB, free: 17.21 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=26): time 1.753e-06/1.348, allocations: 0 / 1.157 GB, free: 17.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.001053/1.349, allocations: 0.5945 MB / 1.158 GB, free: 16.8 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/1.349, allocations: 59.58 kB / 1.158 GB, free: 16.73 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/1.349, allocations: 290.4 kB / 1.158 GB, free: 16.52 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/1.349, allocations: 35.19 kB / 1.158 GB, free: 16.48 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/1.349, allocations: 231.8 kB / 1.158 GB, free: 16.32 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.166e-05/1.349, allocations: 98.61 kB / 1.159 GB, free: 16.24 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/1.349, allocations: 10.81 kB / 1.159 GB, free: 16.23 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.149e-05/1.349, allocations: 349.5 kB / 1.159 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/1.349, allocations: 130.9 kB / 1.159 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/1.35, allocations: 248.9 kB / 1.159 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/1.35, allocations: 175.2 kB / 1.159 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.35, allocations: 8 kB / 1.159 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006982/1.351, allocations: 0.4997 MB / 1.16 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/1.351, allocations: 12.02 kB / 1.16 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/1.351, allocations: 11.42 kB / 1.16 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002838/1.351, allocations: 84.69 kB / 1.16 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/1.351, allocations: 90.28 kB / 1.16 GB, free: 15 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/1.351, allocations: 4.609 kB / 1.16 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002481/1.352, allocations: 38.81 kB / 1.16 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/1.352, allocations: 16.75 kB / 1.16 GB, free: 14.95 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 () * 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 7.856e-05/1.352, allocations: 128 kB / 1.16 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.575e-05/1.352, allocations: 36.28 kB / 1.16 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007265/1.353, allocations: 435.8 kB / 1.161 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/1.353, allocations: 9.125 kB / 1.161 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/1.353, allocations: 0 / 1.161 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/1.353, allocations: 5.531 kB / 1.161 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/1.354, allocations: 0.9443 MB / 1.162 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/1.354, allocations: 0 / 1.162 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/1.354, allocations: 62.83 kB / 1.162 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002141/1.354, allocations: 74.81 kB / 1.162 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/1.354, allocations: 10.94 kB / 1.162 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/1.354, allocations: 5.781 kB / 1.162 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.354, allocations: 0 / 1.162 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006016/1.355, allocations: 0.5577 MB / 1.162 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/1.355, allocations: 137.2 kB / 1.162 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.468e-05/1.355, allocations: 15.56 kB / 1.162 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/1.355, allocations: 25.64 kB / 1.163 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.014e-05/1.355, allocations: 24.11 kB / 1.163 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/1.355, allocations: 4 kB / 1.163 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001964/1.356, allocations: 232 kB / 1.163 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/1.356, allocations: 0 / 1.163 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003862/1.356, allocations: 98.12 kB / 1.163 GB, free: 12.84 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 () * 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.000136/1.356, allocations: 112.6 kB / 1.163 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005901/1.357, allocations: 0.5841 MB / 1.164 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.357, allocations: 0 / 1.164 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002949/1.357, allocations: 425 kB / 1.164 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00059/1.358, allocations: 117.6 kB / 1.164 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007929/1.359, allocations: 0.5103 MB / 1.165 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/1.359, allocations: 0.8318 MB / 1.165 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002294/1.359, allocations: 77.31 kB / 1.165 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.995e-05/1.359, allocations: 31.38 kB / 1.165 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/1.359, allocations: 0 / 1.165 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of Templates: time 0.008648/1.368, allocations: 4.325 MB / 1.17 GB, free: 7.988 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)