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.739/1.739, allocations: 288.4 MB / 304.3 MB, free: 8.137 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.001095/0.001095, allocations: 180.5 kB / 373 MB, free: 10.17 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.684/1.684, allocations: 205.4 MB / 0.6317 GB, free: 9.906 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.0009195/0.0009195, allocations: 88.2 kB / 0.745 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004297/0.0004298, allocations: 12.12 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.26, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8294/1.089, allocations: 154.3 MB / 1.131 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003487/1.09, allocations: 90.88 kB / 1.131 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0462/1.136, allocations: 20.51 MB / 1.152 GB, free: 24.06 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.837e-06/1.136, allocations: 0 / 1.152 GB, free: 24.06 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.75e-05/1.136, allocations: 11.14 kB / 1.152 GB, free: 24.06 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.001159/1.137, allocations: 0.6771 MB / 1.152 GB, free: 23.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/1.137, allocations: 11.66 kB / 1.152 GB, free: 23.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009571/1.138, allocations: 141.5 kB / 1.152 GB, free: 23.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005595/1.139, allocations: 380.5 kB / 1.153 GB, free: 23.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/1.139, allocations: 23.02 kB / 1.153 GB, free: 23.13 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.436e-05/1.139, allocations: 39.91 kB / 1.153 GB, free: 23.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007327/1.14, allocations: 0.6048 MB / 1.153 GB, free: 22.74 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/1.14, allocations: 4.062 kB / 1.153 GB, free: 22.74 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.731e-05/1.14, allocations: 18.66 kB / 1.153 GB, free: 22.73 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-05/1.14, allocations: 34.61 kB / 1.153 GB, free: 22.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006305/1.141, allocations: 420.5 kB / 1.154 GB, free: 22.59 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002937/1.144, allocations: 3.362 MB / 1.157 GB, free: 19.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000633/1.144, allocations: 342.8 kB / 1.157 GB, free: 19.03 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002665/1.144, allocations: 186.1 kB / 1.158 GB, free: 18.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/1.145, allocations: 0 / 1.158 GB, free: 18.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.595e-05/1.145, allocations: 41.81 kB / 1.158 GB, free: 18.85 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 1.964e-06/1.145, allocations: 0 / 1.158 GB, free: 18.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=27): time 0.001972/1.147, allocations: 1.081 MB / 1.159 GB, free: 17.88 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/1.147, allocations: 55.64 kB / 1.159 GB, free: 17.81 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003168/1.147, allocations: 340.8 kB / 1.159 GB, free: 17.53 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/1.147, allocations: 33.39 kB / 1.159 GB, free: 17.49 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/1.147, allocations: 239.2 kB / 1.159 GB, free: 17.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.9e-05/1.147, allocations: 98.81 kB / 1.159 GB, free: 17.22 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.531e-05/1.147, allocations: 14.56 kB / 1.159 GB, free: 17.21 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001418/1.147, allocations: 342.2 kB / 1.16 GB, free: 16.89 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/1.148, allocations: 149.8 kB / 1.16 GB, free: 16.78 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/1.148, allocations: 273.3 kB / 1.16 GB, free: 16.51 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005543/1.148, allocations: 462.8 kB / 1.161 GB, free: 16.12 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.148, allocations: 4 kB / 1.161 GB, free: 16.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008559/1.149, allocations: 0.5513 MB / 1.161 GB, free: 15.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.149, allocations: 8 kB / 1.161 GB, free: 15.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/1.149, allocations: 8.031 kB / 1.161 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002978/1.15, allocations: 88.62 kB / 1.161 GB, free: 15.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003365/1.15, allocations: 83.27 kB / 1.161 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/1.15, allocations: 11.98 kB / 1.161 GB, free: 15.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/1.15, allocations: 31.59 kB / 1.161 GB, free: 15.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/1.15, allocations: 15.75 kB / 1.161 GB, free: 15.45 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.0002402/1.151, allocations: 178.1 kB / 1.162 GB, free: 15.29 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.678e-05/1.151, allocations: 39.41 kB / 1.162 GB, free: 15.26 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000802/1.152, allocations: 470.9 kB / 1.162 GB, free: 14.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/1.152, allocations: 7.938 kB / 1.162 GB, free: 14.89 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/1.152, allocations: 0 / 1.162 GB, free: 14.89 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/1.152, allocations: 0 / 1.162 GB, free: 14.89 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/1.153, allocations: 0.9767 MB / 1.163 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/1.153, allocations: 0 / 1.163 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/1.153, allocations: 56 kB / 1.163 GB, free: 14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000219/1.153, allocations: 79.31 kB / 1.163 GB, free: 13.92 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/1.153, allocations: 11.38 kB / 1.163 GB, free: 13.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/1.153, allocations: 4 kB / 1.163 GB, free: 13.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.153, allocations: 3.938 kB / 1.163 GB, free: 13.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007435/1.154, allocations: 0.5485 MB / 1.164 GB, free: 13.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/1.154, allocations: 146.8 kB / 1.164 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.729e-05/1.154, allocations: 7.5 kB / 1.164 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/1.155, allocations: 23.84 kB / 1.164 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.857e-05/1.155, allocations: 27.41 kB / 1.164 GB, free: 13.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/1.155, allocations: 15.48 kB / 1.164 GB, free: 13.21 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002192/1.155, allocations: 229.9 kB / 1.164 GB, free: 13.04 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.155, allocations: 0 / 1.164 GB, free: 13.04 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004597/1.155, allocations: 94 kB / 1.164 GB, free: 12.95 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.0001846/1.156, allocations: 118.1 kB / 1.164 GB, free: 12.83 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008317/1.157, allocations: 0.6286 MB / 1.165 GB, free: 12.24 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.157, allocations: 0 / 1.165 GB, free: 12.24 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004633/1.157, allocations: 455.9 kB / 1.165 GB, free: 11.78 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007392/1.158, allocations: 105.9 kB / 1.165 GB, free: 11.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/1.159, allocations: 0.8643 MB / 1.166 GB, free: 10.86 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/1.159, allocations: 0.8215 MB / 1.167 GB, free: 10.01 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002761/1.16, allocations: 83.28 kB / 1.167 GB, free: 9.926 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.415e-05/1.16, allocations: 27.44 kB / 1.167 GB, free: 9.898 MB / 0.698 GB Notification: Performance of SimCode: time 2.966e-06/1.16, allocations: 0 / 1.167 GB, free: 9.898 MB / 0.698 GB Notification: Performance of Templates: time 0.00982/1.17, allocations: 4.406 MB / 1.172 GB, free: 5.574 MB / 0.698 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)