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.644/1.644, allocations: 288.3 MB / 303.2 MB, free: 8.188 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.001364/0.001365, allocations: 187.8 kB / 371.8 MB, free: 10.29 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.746/1.746, allocations: 205.4 MB / 0.6306 GB, free: 10.04 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.00134/0.00134, allocations: 93.16 kB / 0.7439 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004359/0.0004359, allocations: 10.97 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2814, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8892/1.171, allocations: 154.3 MB / 1.13 GB, free: 16.26 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004341/1.171, allocations: 97.55 kB / 1.13 GB, free: 16.26 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04647/1.218, allocations: 20.49 MB / 1.15 GB, free: 24.03 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.683e-06/1.218, allocations: 0 / 1.15 GB, free: 24.03 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.776e-05/1.218, allocations: 7.656 kB / 1.15 GB, free: 24.03 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.001111/1.219, allocations: 0.6958 MB / 1.151 GB, free: 23.47 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/1.219, allocations: 11.5 kB / 1.151 GB, free: 23.47 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008518/1.22, allocations: 132.8 kB / 1.151 GB, free: 23.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005649/1.22, allocations: 375 kB / 1.151 GB, free: 23.11 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/1.22, allocations: 18.34 kB / 1.151 GB, free: 23.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.13e-05/1.22, allocations: 37.69 kB / 1.151 GB, free: 23.11 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007178/1.221, allocations: 0.6006 MB / 1.152 GB, free: 22.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/1.221, allocations: 7.781 kB / 1.152 GB, free: 22.72 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.961e-05/1.221, allocations: 10.88 kB / 1.152 GB, free: 22.72 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.046e-05/1.221, allocations: 38.75 kB / 1.152 GB, free: 22.71 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006094/1.222, allocations: 414.2 kB / 1.152 GB, free: 22.63 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002761/1.225, allocations: 3.371 MB / 1.156 GB, free: 19.63 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005833/1.225, allocations: 339.4 kB / 1.156 GB, free: 19.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/1.225, allocations: 4 kB / 1.156 GB, free: 19.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/1.225, allocations: 45.89 kB / 1.156 GB, free: 19.33 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 2.074e-06/1.225, allocations: 0 / 1.156 GB, free: 19.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=27): time 0.001851/1.227, allocations: 1.078 MB / 1.157 GB, free: 18.36 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/1.227, allocations: 55.64 kB / 1.157 GB, free: 18.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/1.228, allocations: 297.4 kB / 1.158 GB, free: 18.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/1.228, allocations: 25.7 kB / 1.158 GB, free: 18.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/1.228, allocations: 236.4 kB / 1.158 GB, free: 17.84 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.741e-05/1.228, allocations: 97.52 kB / 1.158 GB, free: 17.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.062e-05/1.228, allocations: 6.375 kB / 1.158 GB, free: 17.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001523/1.228, allocations: 347.3 kB / 1.158 GB, free: 17.42 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/1.228, allocations: 155.8 kB / 1.158 GB, free: 17.31 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/1.228, allocations: 274.8 kB / 1.159 GB, free: 17.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/1.229, allocations: 190.2 kB / 1.159 GB, free: 16.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.229, allocations: 4 kB / 1.159 GB, free: 16.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008161/1.23, allocations: 0.5464 MB / 1.159 GB, free: 16.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/1.23, allocations: 15.94 kB / 1.159 GB, free: 16.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/1.23, allocations: 4 kB / 1.159 GB, free: 16.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002961/1.23, allocations: 92.92 kB / 1.159 GB, free: 16.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/1.23, allocations: 86.69 kB / 1.16 GB, free: 16.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/1.23, allocations: 8 kB / 1.16 GB, free: 16.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/1.231, allocations: 27.34 kB / 1.16 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/1.231, allocations: 19.12 kB / 1.16 GB, free: 16.24 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.0002105/1.231, allocations: 176.4 kB / 1.16 GB, free: 16.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.127e-05/1.231, allocations: 39.53 kB / 1.16 GB, free: 16.05 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008329/1.232, allocations: 473.8 kB / 1.16 GB, free: 15.69 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/1.232, allocations: 4 kB / 1.16 GB, free: 15.69 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.232, allocations: 0 / 1.16 GB, free: 15.69 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.232, allocations: 0 / 1.16 GB, free: 15.69 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/1.233, allocations: 0.983 MB / 1.161 GB, free: 14.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.233, allocations: 0 / 1.161 GB, free: 14.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/1.233, allocations: 59.58 kB / 1.161 GB, free: 14.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002116/1.234, allocations: 77.11 kB / 1.161 GB, free: 14.71 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/1.234, allocations: 8 kB / 1.161 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/1.234, allocations: 7.875 kB / 1.161 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.234, allocations: 4 kB / 1.161 GB, free: 14.69 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008717/1.234, allocations: 0.5898 MB / 1.162 GB, free: 14.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/1.235, allocations: 139.5 kB / 1.162 GB, free: 14.01 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.796e-05/1.235, allocations: 8 kB / 1.162 GB, free: 14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/1.235, allocations: 23.97 kB / 1.162 GB, free: 13.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/1.235, allocations: 22.47 kB / 1.162 GB, free: 13.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/1.235, allocations: 5.188 kB / 1.162 GB, free: 13.96 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002942/1.235, allocations: 236.4 kB / 1.162 GB, free: 13.78 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/1.235, allocations: 0 / 1.162 GB, free: 13.78 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005299/1.236, allocations: 90.06 kB / 1.162 GB, free: 13.7 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.0002656/1.236, allocations: 122 kB / 1.163 GB, free: 13.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009929/1.237, allocations: 0.6248 MB / 1.163 GB, free: 12.98 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/1.237, allocations: 3.938 kB / 1.163 GB, free: 12.98 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004982/1.238, allocations: 435.3 kB / 1.164 GB, free: 12.54 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006426/1.238, allocations: 125 kB / 1.164 GB, free: 12.44 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/1.24, allocations: 0.8571 MB / 1.165 GB, free: 11.61 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000489/1.24, allocations: 0.8346 MB / 1.165 GB, free: 10.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002799/1.24, allocations: 79.28 kB / 1.165 GB, free: 10.67 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.402e-05/1.241, allocations: 31.44 kB / 1.165 GB, free: 10.64 MB / 0.698 GB Notification: Performance of SimCode: time 4.41e-07/1.241, allocations: 0 / 1.165 GB, free: 10.64 MB / 0.698 GB Notification: Performance of Templates: time 0.009265/1.25, allocations: 4.317 MB / 1.17 GB, free: 6.402 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)