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.VariableImpedance.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.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.61/1.61, allocations: 285.4 MB / 298 MB, free: 5.965 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.001315/0.001315, allocations: 184.8 kB / 366.4 MB, free: 2.109 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.563/1.563, allocations: 205.1 MB / 0.6248 GB, free: 7.758 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.0008056/0.0008055, allocations: 86.73 kB / 0.738 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.889e-05/4.893e-05, allocations: 4 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7937/0.7938, allocations: 115.3 MB / 0.9709 GB, free: 77.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2116/1.005, allocations: 154.2 MB / 1.121 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003218/1.006, allocations: 95.83 kB / 1.122 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.05066/1.057, allocations: 20.38 MB / 1.141 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.044e-06/1.057, allocations: 0 / 1.141 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.06e-05/1.057, allocations: 11.98 kB / 1.141 GB, free: 9.023 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.001348/1.058, allocations: 0.6385 MB / 1.142 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/1.058, allocations: 8.031 kB / 1.142 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/1.059, allocations: 143.3 kB / 1.142 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008133/1.06, allocations: 374.6 kB / 1.143 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/1.06, allocations: 20.77 kB / 1.143 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.26e-05/1.06, allocations: 32 kB / 1.143 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000851/1.061, allocations: 0.5779 MB / 1.143 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/1.061, allocations: 11.88 kB / 1.143 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.034e-05/1.061, allocations: 19.98 kB / 1.143 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.672e-05/1.061, allocations: 32.53 kB / 1.143 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006581/1.062, allocations: 378.4 kB / 1.144 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003514/1.065, allocations: 3.357 MB / 1.147 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006174/1.066, allocations: 306.8 kB / 1.147 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/1.066, allocations: 166.6 kB / 1.147 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/1.066, allocations: 11.94 kB / 1.147 GB, free: 2.527 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/1.066, allocations: 34.52 kB / 1.147 GB, free: 2.484 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=26): time 2.715e-06/1.066, allocations: 0 / 1.147 GB, free: 2.484 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.001312/1.068, allocations: 0.5951 MB / 1.148 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/1.068, allocations: 55.64 kB / 1.148 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004145/1.068, allocations: 291.5 kB / 1.148 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/1.068, allocations: 37.7 kB / 1.148 GB, free: 1.473 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/1.068, allocations: 239.7 kB / 1.149 GB, free: 1.234 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.295e-05/1.068, allocations: 90.66 kB / 1.149 GB, free: 1.145 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/1.068, allocations: 8 kB / 1.149 GB, free: 1.137 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001439/1.069, allocations: 350.8 kB / 1.149 GB, free: 0.7852 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/1.069, allocations: 124.7 kB / 1.149 GB, free: 0.6602 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/1.069, allocations: 256.8 kB / 1.149 GB, free: 364 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/1.069, allocations: 178.6 kB / 1.15 GB, free: 188 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.069, allocations: 0 / 1.15 GB, free: 188 kB / 0.7448 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008459/1.07, allocations: 0.5116 MB / 1.15 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/1.07, allocations: 7.953 kB / 1.15 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/1.07, allocations: 6.344 kB / 1.15 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003074/1.071, allocations: 94.42 kB / 1.15 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/1.071, allocations: 83.89 kB / 1.15 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/1.071, allocations: 8.188 kB / 1.15 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002842/1.071, allocations: 30.59 kB / 1.15 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/1.071, allocations: 23.98 kB / 1.15 GB, free: 15.4 MB / 0.7605 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.0001092/1.071, allocations: 128.8 kB / 1.15 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.24e-05/1.071, allocations: 39.53 kB / 1.15 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008111/1.072, allocations: 432.1 kB / 1.151 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/1.072, allocations: 4 kB / 1.151 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/1.072, allocations: 0 / 1.151 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/1.072, allocations: 3.984 kB / 1.151 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/1.074, allocations: 0.9464 MB / 1.152 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/1.074, allocations: 0 / 1.152 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/1.074, allocations: 59.89 kB / 1.152 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002475/1.074, allocations: 74.61 kB / 1.152 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/1.074, allocations: 8 kB / 1.152 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/1.074, allocations: 0 / 1.152 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.074, allocations: 8 kB / 1.152 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007501/1.075, allocations: 0.5634 MB / 1.152 GB, free: 12.99 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001798/1.075, allocations: 136.6 kB / 1.153 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.368e-05/1.075, allocations: 8 kB / 1.153 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/1.076, allocations: 23.97 kB / 1.153 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.436e-05/1.076, allocations: 23.97 kB / 1.153 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/1.076, allocations: 5.312 kB / 1.153 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002414/1.076, allocations: 237.8 kB / 1.153 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.61e-07/1.076, allocations: 4 kB / 1.153 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004434/1.076, allocations: 95.94 kB / 1.153 GB, free: 12.45 MB / 0.7605 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.0002508/1.077, allocations: 107.9 kB / 1.153 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0009342/1.078, allocations: 0.5922 MB / 1.154 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/1.078, allocations: 0 / 1.154 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004656/1.078, allocations: 422.6 kB / 1.154 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006585/1.079, allocations: 112.2 kB / 1.154 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/1.08, allocations: 0.514 MB / 1.155 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005142/1.08, allocations: 0.8356 MB / 1.156 GB, free: 9.691 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002926/1.081, allocations: 75.3 kB / 1.156 GB, free: 9.617 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.452e-05/1.081, allocations: 27.44 kB / 1.156 GB, free: 9.59 MB / 0.7605 GB Notification: Performance of SimCode: time 2.3e-07/1.081, allocations: 5.5 kB / 1.156 GB, free: 9.586 MB / 0.7605 GB Notification: Performance of Templates: time 0.01045/1.091, allocations: 4.312 MB / 1.16 GB, free: 5.398 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)